My structure looks like this:
the button is a child to a group box,
group box is a child to main window.
Can I handle messages from button in the main window procedure?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2008-03-31
Yes of course.
Almost all can be done with the Window's message system, but I suggest you to get a good Window tutorial an see the general guidelines of that mechanism. It is fundamental to program in Windows but a bit complex.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
My structure looks like this:
the button is a child to a group box,
group box is a child to main window.
Can I handle messages from button in the main window procedure?
Yes of course.
Almost all can be done with the Window's message system, but I suggest you to get a good Window tutorial an see the general guidelines of that mechanism. It is fundamental to program in Windows but a bit complex.