Does anybody know how to implement owner draw menus in win32 using C? I want to make menus that look like devc++ menus or visual studio 2005 menus
Owner draw Menu in win32
| gosphinx wrote: |
| Does anybody know how to implement owner draw menus in win32 using C? I want to make menus that look like devc++ menus or visual studio 2005 menus |
does your program support OO?
anyway, I think you misplaced the topic, if the topic were somewhere else, maybe you could've had more reaction
Hi,
I have also came across such problems before.
Well, I got some solution from the www.codeproject.com. There are many articles about how to achieve that.
Another thing I want to say: No matter what languages they are using, you can do it in C, as long as you understand what the key technology is.
As I still remember, to realize a owner-draw window is like the followings:
Process the WM_NCPAINT and a lot of other NC Messages.
Do your painting when these messages arrives.
That is it.
I have also came across such problems before.
Well, I got some solution from the www.codeproject.com. There are many articles about how to achieve that.
Another thing I want to say: No matter what languages they are using, you can do it in C, as long as you understand what the key technology is.
As I still remember, to realize a owner-draw window is like the followings:
Process the WM_NCPAINT and a lot of other NC Messages.
Do your painting when these messages arrives.
That is it.
| dawei wrote: |
| Hi,
I have also came across such problems before. Well, I got some solution from the www.codeproject.com. There are many articles about how to achieve that. Another thing I want to say: No matter what languages they are using, you can do it in C, as long as you understand what the key technology is. As I still remember, to realize a owner-draw window is like the followings: Process the WM_NCPAINT and a lot of other NC Messages. Do your painting when these messages arrives. That is it. |
I was also searching fopr some same sort of technique. Thanks a lot for your link
Related topics
