<< Home



win32 sdk fill in blank

Page 1 2 >>>
Page 1 2 >>>
Fill in the Blanks:
1.  Just as the entry point to a C program is the function main(), the entry point to a Windows program is ________.
   (WinMain() )
2.  The three main Windows libraries are _______, __________ & ___________. (Kernel.32, User32, GDI32)
3.  The size of Unicode character is ___ bits. (32)

4.  CreateWindow() function sends the __________ message. (WM_CREATE) 5.  UpdateWindow() function sends the __________ message. (WM_PAINT) 6.  PostQuitMessage() function posts the __________ message. (WM_QUIT) 7.  GetMessage() function retrieves a message from the _____________. (message queue) 8.  GetMessage() returns_____, when it retrieve WM_QUIT message form the message queue. (0) 9.  TranslateMessage() function is used for _______ translation. (Keyboard) 10. Window procedure function is a ____________ function. (CALLBACK) 11. TA program can call its own window procedure by using the _________ function. (SendMessage) 12. DispatchMessage() function passes the MSG structure back to __________. (Windows) 13. The very first message that a window procedure receives is ___________. (WM_CREATE) 14. RegisterClass() associates a window procedure to the __________. (window class) 15. Window messages are defined in both windows.h and __________ header files. (winuser.h) 16. Everything that happens to a window is relayed to the __________ in the form of message. (Window Procedure) 17. __________ API is used for subclassing. (SetWindowLong() ) 18. __________ API is used for character translation of keystrokes. (TranslateMessage() ) 19. Message __________ occurs when the user clicks an item on the menu bar or presses a menu key.     (WM_INITMENU) 20. __________ API is used to kill a modal dialog box. (EndDialog() ) 21. _________, _________ and ___________ are windows resources defined in a .Res file. (Any three of these -     ICON / CURSOR / STRINGTABLE / DIALOG / MENU / BITMAP) 22. _________ API is used to set the text of an edit control. (SetWindowText() ) 23. ________ and _________ are GDI objects. (Any two from Brush / Pen / Region / Font / Palette / Bitmap) 24. When there is no message in the queue, PeekMessage() function returns ____. (FALSE or 0) 25. System keystrokes are generated for keys typed in combination with the ____ key. (Alt) 26. System keystroke messages are _________ and ________. (WM_SYSKEYDOWN, WM_SYSKEYUP) 27. The virtual key code is stored in the _________ parameter of the WM_KEYDOWN message. (wParam) 28. The repeat count field is stored in the _________ parameter of the keystroke messages. (lParam) 29. _________ function is used for checking the type of information available in clipboard.     (IsClipboardFormatAvailable()) 30. _________ function is used to open the clipboard. (OpenClipboard()) 31. _________ function is used to clear the clipboard. (EmptyClipboard())
Page 1 2 >>>
Page 1 2 >>>