Home > Back-end > Please create the main form and display for the first time in the VCL where to send the WM_Paint mes
Please create the main form and display for the first time in the VCL where to send the WM_Paint mes
Time:10-14
After Windows registry and create the form are the following two functions: ShowWindow (WndHandle SW_SHOWNORMAL);//show the form UpdateWindow (WndHandle);//send the wm_paint
But I can't find the UpdateWindow in VCL find ShowWindow, only, but also received the wm_paint, I do not know from what, please advise
CodePudding user response:
ShowWindow if it is visible from invisible to automatically trigger a WM_PAINT.
CodePudding user response:
The VCL is on the packaging, it is as you say, write in win32 API window You create a new Application, open the Project1. DPR this unit The bottom three sentences, Ctrl + left key point in the source