i want to create a ownerdraw button ,i can draw it's default(ODS_DEFAULT) and select(ODS_SELECTED) states
in DRAWITEMSTRUCT
but i don't know how to make it change a little when mouse moveover
how?
in DRAWITEMSTRUCT
but i don't know how to make it change a little when mouse moveover
how?
Hi, bailao
Can you post your code here, let us discuss it?
Can you post your code here, let us discuss it?
You can use a timer to get the mouse location and check if it is over your button.
See the program "Outlook-style menubar" in Iczelion's examples written by Bazik.
URL: http://win32asm.cjb.net/
Search with "mouseover" word in win32asmcommunity search engine and you will find a topic about the program.
This is just an idea (not mine).
Hope it helps.
Kecol.-
See the program "Outlook-style menubar" in Iczelion's examples written by Bazik.
URL: http://win32asm.cjb.net/
Search with "mouseover" word in win32asmcommunity search engine and you will find a topic about the program.
This is just an idea (not mine).
Hope it helps.
Kecol.-