In the View class OnPaint () function, GetDlgItem (IDC_OPERATOR) - & gt; ShowWindow (SW_HIDE) or GetDlgItem (IDC_LIST_OPERATE_ALARM) - & gt; SetWindowPos (... ) collapses,
CodePudding user response:
There is a? IDC_LIST_OPERATE_ALARM this control? Set the location in OnCreate function,,,
CodePudding user response:
Screenshots collapse dialog box, capture the stack
CodePudding user response:
Why do people like in the Onpaint operation control,,,
Here I have to poke fun at the MFC frame encapsulation was bad enough!
CodePudding user response: