-
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...
-
In this case, skip the compilation and just click on the link.
-
Upstairs is the correct solution, just skip it, I often encounter this, but I don't know the principle.
-
Delete the debug folder and recompile it.
-
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
-
Sure enough, there are high-ranking people. Hehe. Just hit the soy sauce.
-
It's not enough to customize a message.,Hehe's not difficult.。
-
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.
-
This space needs to be drawn by itself.
-
This one requires an artist to help you draw.
-
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.
-
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.
-
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.
-
Is it a group control? That one is useless. It's about giving you the feeling of an area when you place your interface.
-
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.
-
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.
-
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"
Generally, the first two parameters are used.
afxbeginthread(unsigned int *(cdecl*)(void*),void*); >>>More
It seems that there are infinite numbers of such sequences. >>>More
(1) What is the back of the () door? I can't opent it.
Let me see. Oh, that's a chair. >>>More
The first brother is amazing!
Down with plagiarism copying! >>>More
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