I created a button A in the program owner dialog, and insert a dialog B.
Create a class clogin on B
The header file and source file are: login.cpp.login .h
In the main dialog box: "login .h"
Add the following code to the control of the button
Clogin log;
Log.domodal ();
In theory, press A and press A, the dialog box is popped, but the program is incorrect: Clogin undeclared Identifier.
Where is wrong? I can't figure it out! Please advise