>for the following shortcut menu example:
>
>DEFINE POPUP myPOP ;
> FROM MROW(), MCOL() ;
> SHORTCUT
>DEFINE BAR 1 OF myPop PROMPT "foo"
>DEFINE BAR 2 OF myPop PROMPT "bar"
>ON SELECTION POPUP myPop DO myPopSelect WITH PROMPT()
>ACTIVATE POPUP myPop
>
>FUNCTION myPopSelect( cPrompt )
> ** take action here
>
>
>... is there a way to tell if the shift key was held down when the user selected the bar. I am trying to build a developer's shortcut menu with some special functionality.
>
>Thanks
>
>Geno Prida
>Watson Wyatt Worldwide
>geno_prida@watsonwyatt.com
use the following:
declare SHORT GetKeyState in Win32API INTEGER Key
SHIFTKEY_hold = getKeyState(16) < 0
Andrus