CodePudding user response:
If it is a class member function, not have this pointer?CodePudding user response:
If the address values not good-looking, you can through the button ID or text GetDlgItemID ()/GetDlgItemText ();CodePudding user response:
Why don't you byM_hWnd are the HWND attached to this CWnd.
And
GetParent Retrieves the parent window of CWnd (if any).
?