04-25-2009, 10:16 AM
I think I see the problem and think I have an alternative solution.
Looking in http://www.quickmacros.com/forum/showthread.php?tid=832,
I found the DT_TbAddButtons function for adding icons from dlls to ToolbarWindow32. Using a Dll Icon viewer (icon seizer), I was able to look through and choose from 100s (maybe 1000s) of icons in my system_32 folder.
For my purposes, I don't need to match the hover over behavior EXACTLY, I just wanted SOME hover-over behavior, so that the user knows he has activated the button. I also wanted my own text on the button, which I am able to do with the DT_TbAddButtons function.
I did try adding my own images into the icon bmps like "de_ctrl.bmp" but (as you wrote above!!!), this seemed a little too hard.
So I think I have a working soluiton. My only question now, is that is is really true that there is no way to have a "notify" like style on a button that one has placed their own bmp on.
Not swapping it with another bmp, just having a frame appear around it on hover, or whatever the automatic "notify" behavior is.
I think this would be all I need as a different alternative.
Thanks so much again. Every one of your responses leads me to so much more understanding.
Stuart
Looking in http://www.quickmacros.com/forum/showthread.php?tid=832,
I found the DT_TbAddButtons function for adding icons from dlls to ToolbarWindow32. Using a Dll Icon viewer (icon seizer), I was able to look through and choose from 100s (maybe 1000s) of icons in my system_32 folder.
For my purposes, I don't need to match the hover over behavior EXACTLY, I just wanted SOME hover-over behavior, so that the user knows he has activated the button. I also wanted my own text on the button, which I am able to do with the DT_TbAddButtons function.
I did try adding my own images into the icon bmps like "de_ctrl.bmp" but (as you wrote above!!!), this seemed a little too hard.
So I think I have a working soluiton. My only question now, is that is is really true that there is no way to have a "notify" like style on a button that one has placed their own bmp on.
Not swapping it with another bmp, just having a frame appear around it on hover, or whatever the automatic "notify" behavior is.
I think this would be all I need as a different alternative.
Thanks so much again. Every one of your responses leads me to so much more understanding.
Stuart
