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