Basic Window-Programming Questions and Answers

Practice Mode
Showing 10 of 42 questions
Q31
Window class, onCommand/2, defines
  • A during the processing of a key this event is executed with the ASCII value of the key pressed
  • B a menu command was selected
  • C a menu item is selected
  • D a window was resized
Answer: Option B
Q32
Window class, onMenuSelect/2, defines
  • A during the processing of a key this event is executed with the ASCII value of the key pressed
  • B a menu command was selected
  • C a menu item is selected
  • D a window was resized
Answer: Option C
Q33
Window class, onSize/2, defines
  • A during the processig of a key this event is executed with the ASCII value of the key pressed
  • B a menu command was selected
  • C a menu item is resized
  • D a window was resized
Answer: Option D
Q34
Window class, onMovie/2, defines
  • A a window is moved to new position
  • B the user wants to view a floating popup menu for the window
  • C an event from the vertical scrollbar of the window
  • D an event from the horizontal scrollbar of the window
Answer: Option A
Q35
Window class, oninitPopupMenu/2, defines
  • A a window is moved to a new position
  • B the user wants to view a floating popup menu for the window
  • C an event from the vertical scrollbar of the window
  • D an event from the horizontal scrollbar of the window
Answer: Option B
Q36
Window class, on VScrollbar/3, defines
  • A a window is moved to a new position
  • B the user wants to view a floating popup menu for the window
  • C an event from the vertical scrollbar of the window
  • D an event from the horizontal scrollbar of the window
Answer: Option C
Q37
Window class, oHScroll/3, defines
  • A a window is moved to a new position
  • B the user wants to view a floating popup menu for the window
  • C an event from the vertical scrollbar of the window
  • D an event from the horizontal scrollbar of the window
Answer: Option D
Q38
SizerClient in window programming ?
  • A this type of sizer ensures that a panel window fills the complete client rectangle of a frame window
  • B this sizer class makes a panel 'stick' to one side of a frame window and the size of the panel window is a fixed number of pixels.
  • C thi sizer ensures that a panel window is percentage of the size of a frame window.
  • D None of these
Answer: Option A
Q39
SizerFixed in window programming
  • A this type of sizer ensures that a panel window fills the complete client rectangle of a frame window
  • B this sizer of a f rame window and the size of the panel window is fixed number of pixels
  • C this sizer ensures that a panel window is percentage of the size of a frame window.
  • D None of these
Answer: Option B
Q40
SizePercent in window programming
  • A this type of sizer ensures that a panel window fills the complete client rectangle of a frame window
  • B this size class makes a panel 'stick' to one side of a frame window and the size of the panel window is a fixed number of pixel
  • C this sizer ensures that a panel window is percentage of the size of a frame window.
  • D None of these
Answer: Option C
Questions and Answers for Competitive Exams Various Entrance Test