C about dialogs, C how to write dialogs

Updated on technology 2024-06-15
10 answers
  1. Anonymous users2024-02-12

    It is recommended to use easy language Easy language is convenient to become also Chinese Easy to understand dialog box is out as soon as you press it.

    It's pretty much the same as C++.

  2. Anonymous users2024-02-11

    Don't write that creation in cshowdialog::oninitdialog(), I've encountered similar problems before, I'm getting the size of the created form here, the result can't be implemented, it is recommended that you put it somewhere else to implement.

  3. Anonymous users2024-02-10

    Hello, I also encountered this problem you said, please did you solve it.

  4. Anonymous users2024-02-09

    Maybe you have a problem with the operation, if you need help, you can ask me.

  5. Anonymous users2024-02-08

    Create a command function for the option in the menu where you want to pop up the dialog, and then call the form you want to pop up in this function.

    Specifically, add "include" to the cpp of the parent form""Let's say dialog1 is a subform

    Select the menu option you want to pop up, and ctrl+w to create a command function for the option, and write the following in the function.

    For example: void ctest1dlg::onmt() onmt is the option to pop up in the menu.

  6. Anonymous users2024-02-07

    Can you take a look**or**send me a look? That's an interesting question.

  7. Anonymous users2024-02-06

    According to your instructions, it seems that dialog box 1 is the main window, dialog box 2 is generated by dialog box 1, there is a parent-child relationship in it, you can try to make dialog box 1 also a dialog box, switch the input method, display dialog box 2, and then switch the input method, to see if there is still this phenomenon.

  8. Anonymous users2024-02-05

    1.Add two dialogs dialog1 and dialog2 in project xx, both derived from cdialog;

    2.Add a box control to dialog1, associate it with the csstring variable m str1, and add a button button1; Add a box control in dialog12, associated with the cstring variable m str2; Add the CSSTRING variable str to cxxapp;

    3.Add the following **:onbutton1() to the click response function of IDC Button1:

    updatedata(true);Read dialog box.

    cdlg2 dlg;

    And add include at the top""

  9. Anonymous users2024-02-04

    Build a dialog-based MFC program, the platform is VC++, you can generate it directly, you just add ** to it, that is, some buttons

  10. Anonymous users2024-02-03

    For example, if you want to set the dialog class of the main window to dialog, just write it like this.

Related questions
12 answers2024-06-15

Virus. Just kill the virus.

13 answers2024-06-15

The formula in the expression is incorrect.

20 answers2024-06-15

1. Ctrl+R, enter cmd, press enter.

Enter echo %path% to see all the environment variables. >>>More

15 answers2024-06-15

Hello! According to my experience, there are several methods, the first method is to use the task manager to forcibly turn off proe, and then open it again! >>>More

2 answers2024-06-15

I've also encountered this situation of yours.,It's not like it's poisoned.,My solution is that the system is restored once.,I think this situation may be caused by the system files being corrupted.,Repair the system and become.,If you don't fix it, you have to reinstall the system! Hehe!