Adding icon and context menu to taskbar button
Posted on 2002-03-29
Thanks for looking at my question:
I have a sizeable form with no text attribute (no title bar) and have populated the taskbar button using SetWindowText to add text to my app's blank taskbar button, however, there is no icon and context menu when I right-click on the taskbar button. My app also does not minimize when I click on the taskbar button.
So, my questions are:
How do I add an icon to my taskbar button when I used SetWindowText to add text (I am not talking system tray).
Is there a way to get the context menu back on right-click (Minimize|Restore|Close|etc..).