Ask a question about pop-up dialog.

xiaoxiao2021-03-05  23

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

转载请注明原文地址:https://www.9cbs.com/read-32350.html

New Post(0)