The master of the C series MFC, please enter.

Updated on technology 2024-04-18
17 answers
  1. Anonymous users2024-02-08

    oncreat is executed when a window is created, and is usually executed only once.

    ondraw is executed when the window is redrawn, similar to refresh, so it is called when the view changes.

    OnKeyDown is executed when a keyboard key is pressed.

    Classmates,How do you agree or not adopt...

  2. Anonymous users2024-02-07

    In this case, skip the compilation and just click on the link.

  3. Anonymous users2024-02-06

    Upstairs is the correct solution, just skip it, I often encounter this, but I don't know the principle.

  4. Anonymous users2024-02-05

    Delete the debug folder and recompile it.

  5. Anonymous users2024-02-04

    Do you want to convert a member function of the CtestuseEPCSDKDLG class Func to AFX PMSG**?

    This requires that the func must be static. Otherwise, the type does not match

  6. Anonymous users2024-02-03

    Sure enough, there are high-ranking people. Hehe. Just hit the soy sauce.

  7. Anonymous users2024-02-02

    It's not enough to customize a message.,Hehe's not difficult.。

  8. Anonymous users2024-02-01

    I can only provide the design ideas of the api. createWindowA BS bitmap loads the bitmap. Then setWindowRgn(), set a BOOL, the default is false, the right click is true, the right click up is false, the bool value is detected when the mouse moves, it is true movewindow(), it is false return.

    Remember that the button has not reached the end to restore... As for the background, design it yourself... Haven't tried...

    No, don't spray.

  9. Anonymous users2024-01-31

    This space needs to be drawn by itself.

  10. Anonymous users2024-01-30

    This one requires an artist to help you draw.

  11. Anonymous users2024-01-29

    Classes can be inherited, but I haven't heard of functions that can be inherited. As you write, the pad's pad method inherits the mobile method, and it can't be written like that.

  12. Anonymous users2024-01-28

    According to your wrong translation, there is a missing parenthesis in front of the int type, see for yourself whether it is not, and if it is a parenthesis of the English input method, not a parenthesis of Chinese input.

  13. Anonymous users2024-01-27

    The group attribute looks like this.

    You set group(true) to the first button, and the next button becomes a group with the first button.

    Knowing that the next button you encounter also has a group property, you can use a variable to get the value of a different button.

  14. Anonymous users2024-01-26

    Is it a group control? That one is useless. It's about giving you the feeling of an area when you place your interface.

  15. Anonymous users2024-01-25

    The group box widget in MFC is just a visual effect for us to design, and it's no different from drawing a rectangular box. Just then we can draw the controls that belong to the same group in one box and the other group in another. This is easy to design and manage (otherwise I don't know which ones are a group in the end), and it is more important when there are multiple groups, and it doesn't matter if there is only one group.

    The first control with the group attribute is set with a subscript of 0 until the next control with the group attribute is encountered;

    Start with the next control with the group attribute and number it from 0 again.

    Each control with a group attribute can be associated with a variable.

  16. Anonymous users2024-01-24

    Generally speaking, variables starting with "m" are member variables, with "h" indicating handle, dc usually refers to the content of the device, and wd should be the abbreviation of window. These can refer to the Hungarian nomenclature, and for the commonly used classes, you can refer to msdn.

  17. Anonymous users2024-01-23

    I know MSDN, how can people who come here to ask questions have the habit of reading MSDN, introducing you to a book"MFC Windows Programming"

Related questions
6 answers2024-04-18

Generally, the first two parameters are used.

afxbeginthread(unsigned int *(cdecl*)(void*),void*); >>>More

11 answers2024-04-18

It seems that there are infinite numbers of such sequences. >>>More

5 answers2024-04-18

(1) What is the back of the () door? I can't opent it.

Let me see. Oh, that's a chair. >>>More

11 answers2024-04-18

The first brother is amazing!

Down with plagiarism copying! >>>More

10 answers2024-04-18

First of all, let me ask you, did you use Kaspersky Antivirus or Kaspersky Firewall, or is it something like Kaspersky that has an incognito mode function? If yes,Then you just turn off this incognito mode,Don't be incognito on the network, this situation won't occur after stealth,Invisibility sometimes affects BT** speed,There is also P2P network TV。 A reboot of the machine or cat can sometimes do the trick, but it won't solve the problem at all. >>>More