61. Which is the first message that is generated for any mouse event?
a) WM_KEYUP b) WM_NCHITTEST
c) WM_COMMAND d) WM_MOUSEMOVE
|
62. Which key generates system keyboard messages?
a) Shift key b) window key
c) Alt key d) Ctrl key
|
63. To stop timer messages, which function is used?
a) StopTimer() b) KillTimer()
c) FreeTimer() d) ReleaseTimer()
|
64. Which message is send from a child control to parent window containing notification code?
a) WM_CLICKED b) WM_CHILD
c) WM_COMMAND d) WM_CREATE
|
65. Which child control never sends WM_COMMAND to its parent window?
a) listbox b) edit
c) static d) scrollbar
|
66. Which child control does not send WM_COMMAND message to its parent window by default?
a) listbox b) edit
c) static d) scrollbar
|
67. Which function is used to get the handle of an icon?
a) SetIcon() b) CreateIcon()
c) Icon() e) GetIcon()
|
68. Which function is used for checking the type of information available in clipboard?
a) GetClipboard() b) IsClipboardFormatAvailable
c) GetClipboardData() d) GetClipboardFormat()
|
69. The return type of the OpenClipboard() function is
a) BOOL b) LRESULT
c) Handle to clipboard d) void
|
70. Which identifier is used in the SetClipboardData(), to store metafile in the clipboard?
a) CF_TEXT b) CF_META
c) CF_METAFILE d) CF_METAFILEPIC
|
71. Which function is used to delete all the data stored in the clipboard?
a) CloseClipboard() b) EmptyClipboard()
c) DeleteClipboard() d) ClearClipboard()
|
72. Which function is used to determine all the formats stored in the clipboard?
a) SelectAllClipFormats() b) EnumClipboardFormats()
c) GetClipboardData() d) EnumClipFormats()
|
73. Which function is used to create circle region?
a) CreateRoundRectRgn() b) CreateEllipticRgn()
b) CreatePolygonRgn d) CreateRgn()
|
74. Which function is used to combine two regions?
a) CombineRgn() b) AddRgn
c) AddRegions() d) CombineRegions()
|
75. Which is the default GDI mapping mode in windows?
a) MM_TEXT b) MM_TWIPS
c) MM_HIMETRIC d) MM_LOMETRIC
|
76. Which one is not a GDI mapping mode in windows?
a) MM_MIMETRIC b) MM_TWIPS
c) MM_HIMETRIC d) MM_LOMETRIC
|
77. Which one is not a constant for the fourth argument of the MessageBox() function?
a) MB_YES b) MB_OK
c) MB_YESNO d) MB_OKCANCEL
|
78. The WM_NCHITTEST message is generated, when
a) mouse is clicked b) a key is hit
c) a window is created d) a timer event is occurred
|