Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Weird shortcut behavior in Windows 7
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de menu & Menus
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01498351
Message ID:
01498535
Vues:
62
Kirk,

Thank you very much for this. So far, looks good!

Jon

>Try putting the following at your application launch (Main Program).
>
>
>*******************************************************
>* The following declare fixes a bug vfp has with
>* context menus on Vista
>*******************************************************
>DECLARE integer GdiSetBatchLimit IN WIN32API integer
>GdiSetBatchLimit(1)
>
>
>
>
>
>>One of the forms in our application contains an OLE grid control, and we've tied the cells' rightclick event to displaying a shortcut context menu. What we're finding is that sometimes some of the menu items on the shortcut are not appearing (i.e. like the option's forecolor matches the backcolor), but they appear once the mouse passes over them.
>>
>>This behavior apparently never happened in XP. Does anyone have any ideas?
>>
>>Jon
Jon Rosenbaum
Devcon Drummer
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform