plug in function IDE_KeyPress

stef

Member³
Function IDE_KeyPress has strange behavior:

1 = Shift
2 = Alt
3 = Ctrl
//switch to next window
IDE_KeyPress ( 'H', 3);

result is open Menu help ( like alt-h )
I want to switch to next window in a "programm window" with 'ctrl h'.

Anybody a good idee!
thanks

:confused:
 
does not work
I tried:
IDE_KeyPress ('H' , 4 ); /*Select all */
IDE_KeyPress ('H' , 4 ); /*Select all */
IDE_KeyPress ('h' , 4 ); /*Select all */

Result is: ( see copyright )
--Copyrighh8ht:

any suggestions
I want to switch from package to body..
 
Marco,

I tried again with same source diff DLL ( removed the old one) now its working fine.

Don't know what was wrong!
Thanks anyway ;-)
 
It worked for me as well. Note that we also have IDE_TabInfo and IDE_TabIndex if you want specific control over tabs.

Also note that the key parameter is an integer, so the 'H' should be Ord('H').
 
Back
Top