Select True or False:
1. Windows.h is a master include file that includes other Windows header files. (True)
2. The Unicode character and a wide character are same. (False)
3. DispatchMessage() function passes the MSG structure back to Windows. (True)
4. Generally a program can call its own window procedure directly. (False)
5. Window procedure receives the WM_CREATE message after Windows completed the processing of CreateWindow()
function. (False)
6. BeginPaint() always erases the background of the client area even if it already erased. (False)
7. PostQuitMessage(0) directly closes the program. (False)
8. PostQuitMessage(0) inserts a WM_QUIT message in the program’s message queue. (True)
9. Only one window can be created based on a single window. (False)
10. The values of wParam and lParam are message-dependent. (True)
11. One window procedure cannot handle messages for multiple windows of the same window class. (False)
12. The queued messages are sent to a message queue and the nonqueued messages are posted to the window procedure. (False)
13. WM_TIMER is a queued message. (True)
14. WM_QUIT is a nonqueued message. (False)
15. WM_COMMAND is a queued message. (False)
16. WPARAM in Win32 API is a form of long data type. (True)
17. LPARAM in Win32 API is a form of long data type. (True)
18. A window class can have multiple Window Procedures at a time. (False)
19. Rich Text control is a part of COMCTL32.DLL. (False)
20. PushButtons, Edit controls, Check Boxes are all windows. (True)
21. A menu attached to a window can be changed dynamically. (True)
22. PeekMessage() API may not be used to remove the messages from the message queue. (False)
23. SendMessage() is a blocking function. (True)
24. Timer messages are high priority messages. (False)
25. SendMessage(WM_QUIT) should be used to terminate a Windows application. (False)
26. Both the DeleteMenu() and RemoveMenu() functions are same. (False)
27. WM_TIMER messages are not asynchronous. (True)
28. WM_PAINT message has low priority. (True)
29. There can be multiple WM_PAINT messages in message queue. (False)
30. There cannot be multiple WM_TIMER messages in message queue. (True)
31. KillTimer() function cannot purge the pending WM_TIMER messages in message queue. (False)
32. One can not convert screen coordinate to client-area coordinates. (False)
|