The ShowWindow function, contrary to what you might assume, does only a portion of the task of creating (painting) the window display. It is principally responsible for creating the window frame, caption bar, menu bar, and minimize/maximize buttons. But this function does not create the client window area—the display area specific to the application itself. Therefore, one more function call is necessary before the window display is complete: a call to the UpdateWindow function with the hwnd window handle as an argument (this call actually posts a WM_PAINT message to the application instructing it to repaint its own window area).
showwindow updatewindow..
最新推荐文章于 2023-09-22 10:48:00 发布