Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Win VISTA - submenu is shown at the left side
Message
De
23/05/2007 02:55:51
Bruno Maddalozzo
Informatica Aziendale
Arsie, Italie
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de menu & Menus
Titre:
Win VISTA - submenu is shown at the left side
Divers
Thread ID:
01227842
Message ID:
01227842
Vues:
68
Please try this code
DEFINE POPUP _popShortcutMenu ;
		FROM MROW(),MCOL() ;
		MARGIN ;
		RELATIVE ;
		SHORTCUT

DEFINE POPUP _SubMenu ;
	SHORTCUT RELATIVE


DEFINE BAR 1 OF _popShortcutMenu PROMPT "Item 1" 
DEFINE BAR 2 OF _popShortcutMenu PROMPT "Item 2 With sub" 
DEFINE BAR 3 OF _popShortcutMenu PROMPT "Item 3" 

ON BAR 2 OF _popShortcutMenu ACTIVATE Popup _SubMenu 

Define Bar 1 Of _SubMenu Prompt "SubMenu 1"
Define Bar 2 Of _SubMenu Prompt "SubMenu 2"


ACTIVATE POPUP _popShortcutMenu


*RELEASE POPUP _popShortcutMenu
*RELEASE POPUP _SubMenu 
WinXP shows correctly the submenu at the right side of the bar "Item 2 With sub".

Try the same code with Win Vista with Aero interface.

The submenu is shown at the LEFT SIDE of the bar, so, if the shortcut menu is activated near the left side of the monitor, it becomes unusable, since the user can't read the submenu.

Any workaround?

TIA.
Bruno
Répondre
Fil
Voir

Click here to load this message in the networking platform