One option is to remove the standard menu along with the icon and draw the
icon and menu on your own, but it'll not change the menu when you
right-click the window's button in the taskbar. An other possibility is to
use shell functions to add extra menu items to your form's system menu, and
these changes will be visible in both the titlebar and taskbar; I don't know
if you can remove items this way.