Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Weird shortcut behavior in Windows 7
Message
General information
Forum:
Visual FoxPro
Category:
Menus & Menu designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01498351
Message ID:
01498465
Views:
125
This message has been marked as the solution to the initial question of the thread.
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform