Windows Vista Beta | WinVistaBeta.com - Message | Taskbar Right Mouse Button

July 05, 2008  
Subject: Taskbar Right Mouse Button
Group: microsoft.public.windows.developer.winfx.fundamentals
Date: 11/2/2007 11:57:00 PM
From: =?Utf-8?B?TWFub2ogR29wYWxhbg==?= [Email Address Protection]

Am going through VC++ 2005 and am trying to learn some UI design.

I have a form that I have programatically set to have Formborderstyle = none.
This forces my app to not have a title bar.

To get around this, I have designed custom maximize, minimize and exit
buttons...all work fine..

However, when minimized, I can no longer get the Context Menu to appear for
my application in the Taskbar. I can see the taskbar item for the app, the
icon for the taskbar and clicking on the tackbar icon maximizes (restores)
the app, but the familiar menu is missing..

Of course, if I set the Formborderstyle to anything that has a title bar
(say Fixed3D) everything wokrs fine...

Any suggestions on how I can get the context menu to work in this setup?


Thanx
Manoj Gopalan

Back