![]() ![]() The surrounding frame, including the title bar, is automatically painted by the operating system. You are only responsible for painting the client area. Therefore, you will always receive at least one WM_PAINT message when you show a window. The first time a window is shown, the entire client area of the window must be painted. The portion of the window that must be painted is called the update region. When this occurs, the operating system sends the window a WM_PAINT message. At other times, the operating system will notify you that you must repaint a portion of the window. Sometimes your program will initiate painting to update the appearance of the window. To mix metaphors, a window is a blank canvas, waiting for you to fill it. ![]() In Windows terminology, this is called painting the window. Now you want to show something inside it. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |