To add a picture control:
The effect is as follows:
Add a text description first:
Open the header file definition variable:
Add the following code in the dialog initialization code section:
Drag when the left mouse button is pressed down Lbuttondown:
Set Boolean variable record, set capture, set cursor:
When the left mouse button bounces:
If you are in capture state: The release capture Boolean variable is set to pseudo-define the mouse coordinates by converting the mouse coordinates from the original form client area to the screen area by the point gets the window handle type conversion in the text box to display the window handle
The effect is as follows:
Gets the window class name from the window handle:
The window handle is then sent by the Wm_gettext message to get the window caption "
The effect is as follows:
Double-click the Button1 button: Modify the title:
Send shutdown message:
From for notes (Wiz)
Cheetah mfc--Send Message SendMessage PostMessage