Home > Software engineering >  The couple for help! MFC using the Tab control, want to ask how to achieve some of the parent window
The couple for help! MFC using the Tab control, want to ask how to achieve some of the parent window

Time:10-12

Had been several dialog box use TAB controls together now, but the original each dialog box has to determine key, each dialog box no value transfer between each other, I want to in the child window is not sure button now, be determined by the parent window of the button can realize the function of several child window to determine the button (used to set the window, make sure button in addition to process the data in the program implementation renewal that is the main control value), could you tell me how to implement should be? Similar to Microsoft's own Settings window, point a sure all option card operation can be updated in this way, using MFC c + +

CodePudding user response:

GetDlgItem (hDlg, ID);
GetDlgItem (child window handle, the control ID);
Access to the handle to control, I want to say nothing of behind also will be changed?

CodePudding user response:

To transfer message ~ by CTabCtrl controls

CodePudding user response:

Learned a month I will use a message or a global variable, because other unexpected
  • Related