Without resources, I can set up your interface with an array of sophisticated CreateWindow()and CreateWindowEx()and WndProc()to process my experiences.
I noticed that if I right-click in the resource view and click "add resource", I can draw a dialog box with all the controls. This will save me a huge amount of time if I can draw the interface, as usual, with C #.
After I drew the interface with the resource editor, how do I create a window from the code? Can someone present a simple example using a button and show how to handle the WM_COMMAND event on this button, please?
Also, usually do people create a graphical interface? Is there any loss in flexibility for this? Even in C #, I often have to supplement the user interface created by the designer with my own user interface with code code, but most of the time I am very happy to use the constructor.
source
share