I create is based on the MFC dialog box procedure, in order to let the dialog box in the same layer can click on the top, I click on the button on the main interface at the same time create a few dialog, but showing only one, the other use ShowWindow (SW_HIDE), but this at the time of creating flashing, solving any solution
CodePudding user response:
The module of the Create, resource editor Visible property to FALSE
CodePudding user response:
reference 1st floor zgl7903 response: Create the module, the resource editor Visible property to FALSE dialog Visible default is FALSE, I now Create statements are pdDlgXX=new CDlgXX; PdDlgXX - & gt; Create (IDD_DIALOG_XX, NULL); PdDlgXX - & gt; ShowWindow (SW_SHOW/HIDE); CodePudding user response:
"Main screen" flashing? CodePudding user response:
refer to the second floor baidu_36094271 response: Quote: refer to 1st floor zgl7903 response: The module of the Create, resource editor Visible property to FALSE dialog Visible default is FALSE, I now Create statements are pdDlgXX=new CDlgXX; PdDlgXX - & gt; Create (IDD_DIALOG_XX, NULL); PdDlgXX - & gt; ShowWindow (SW_SHOW/HIDE); in oncreate function dialog that try to hide CodePudding user response:
reference 4 floor xianglitian response: Quote: refer to the second floor baidu_36094271 response: Quote: refer to 1st floor zgl7903 response: The module of the Create, resource editor Visible property to FALSE dialog Visible default is FALSE, I now Create statements are pdDlgXX=new CDlgXX; PdDlgXX - & gt; Create (IDD_DIALOG_XX, NULL); PdDlgXX - & gt; ShowWindow (SW_SHOW/HIDE); the try hidden in oncreate function dialog Hidden in the OnCreate will create first, flash will hide again,,, CodePudding user response:
reference 5 floor baidu_36094271 reply: Quote: refer to 4th floor xianglitian response: Quote: refer to the second floor baidu_36094271 response: Quote: refer to 1st floor zgl7903 response: The module of the Create, resource editor Visible property to FALSE dialog Visible default is FALSE, I now Create statements are pdDlgXX=new CDlgXX; PdDlgXX - & gt; Create (IDD_DIALOG_XX, NULL); PdDlgXX - & gt; ShowWindow (SW_SHOW/HIDE); the try hidden in oncreate function dialog Hidden in the OnCreate will create first, flash will hide again,,, Will be about 7 years I do similar things About dialog box hidden online scheme is in OnNcPaint processing Are interested you can try the I remember like flash will not the client area CodePudding user response:
"" CDialog based application was initially hidden method" revisited " http://blog.csdn.net/schlafenhamster/article/details/7212299 CodePudding user response:
Main interface are hidden, and looked at the display and other interface call,,, CodePudding user response:
The building Lord solved? I also have a similar problem