>>>Just wondering. I have in all my controls a emergent menu that activates when the user right click on it. But when i use the KEY for that menus in those keyboards that has this special KEY, i only get this caracter Ÿ. I now that the VFP objects are created by VFP it self. But if you use this KEY in other programs, inclusive in VFP it self you will get the shortcut menu associated with the control. Is there anyway to cath this KEY to show the menu?
>>>Thanks.
>>>
>>>Luis Navas
>>
>>Do you mean this ?
>>
>>LPARAMETERS nKeyCode, nShiftAltCtrl
>>If nKeyCode = 93 and nShiftAltCtrl = 1
>> NoDefault
>> *do myShcut with this
>>endif
>>
Cetin
>
>Yes Cetin, thanks, but this will put the menu at the coordinates of the mouse, 'cause the menu generator does this, so i changed the menu to receive some parameters as coordenates, but how can i get the coordenates of the object that calls the menu?
>
>Luis
Luis,
Sorry couldn't understand what's the difference between " of the object that calls the menu " and the object passed to menu.
do myShcut with this
*myShCut.mpr
lparameters toObject
lnTop=objtoclient(toObject,1)
...
Cetin