Home > Software engineering >  Domoal cannot achieve the modal window
Domoal cannot achieve the modal window

Time:10-01

MFC novice, there is a problem now, click the login button in the main interface, jump out of the login screen is modal (as popup style), but in another mode of abnormal after click ok button pop-up window login interface is not modal, are all the same code CLoginDlg dlgLogin; DlgLogin. Domoal (); Novice said confused,,,,,,,, they are a mouse click on the operation, in the event a message response function in the operation,,,,,,,, is this effect?????? Pray god to give directions,,,,

CodePudding user response:

Can't

CodePudding user response:

Sad to explode,,,,

CodePudding user response:

CLoginDlg dlgLogin (this);//the specified parent window try
DlgLogin. DoModal ();

CodePudding user response:

The
reference 3 floor zgl7903 response:
CLoginDlg dlgLogin (this);//the specified parent window try
DlgLogin. DoModal ();

Just can't tried it on,,,

CodePudding user response:

In another window anomaly of modal window is what mean?

CodePudding user response:

reference 5 floor zgl7903 reply:
in another window anomaly of modal window is what mean?


This is on the premise of not logged in, press the button to add cases, given the unusually prompt box (hint not login), designed to make it in this window, click ok to jump to the login screen==
  • Related