1. CTRL_HOME
- Posted by =?iso-8859-2?B?qWtvZGE=?= <tone.skoda at SIOL.NET> Jun 05, 2000
- 467 views
------=_NextPart_000_000F_01BFCF1A.C8662560 charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable CTRL_HOME=3D375 it doesnt work how do i know when user presses CTRL+Home? this code doesnt work: if msg=3DWM_KEYDOWN then if wParam=3DCTRL_HOME then msgbox("yes") end if end if any suggestions? thanks. ------=_NextPart_000_000F_01BFCF1A.C8662560 charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META content=3D"text/html; charset=3Diso-8859-2" = http-equiv=3DContent-Type> <META content=3D"MSHTML 5.00.2614.3401" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT face=3DArial size=3D2>CTRL_HOME=3D375</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>it doesnt work</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>how do i know when user presses=20 CTRL+Home?</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>this code doesnt work:</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>if msg=3DWM_KEYDOWN = then<BR> if=20 wParam=3DCTRL_HOME then<BR> msgbox("yes")</FONT></DIV> <DIV><FONT face=3DArial size=3D2> end if</FONT></DIV> <DIV><FONT face=3DArial size=3D2>end if</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>any suggestions?</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> ------=_NextPart_000_000F_01BFCF1A.C8662560--
2. Re: CTRL_HOME
- Posted by John Coonrod <jc at THP.ORG> Jun 05, 2000
- 459 views
If you use win32lib and use the OnKeyDown(scancode,shift) procedure, then for control-home you get shift=2 and scancode=36. This works. ===== Original Message from Euphoria Programming for MS-DOS <EUPHORIA at LISTSERV.MUOHIO.EDU> at 6/05/00 12:20 pm >CTRL_HOME=375 > >it doesnt work > >how do i know when user presses CTRL+Home? > >this code doesnt work: > >if msg=WM_KEYDOWN then > if wParam=CTRL_HOME then > msgbox("yes") > end if >end if > >any suggestions? > >thanks.
3. Re: CTRL_HOME
- Posted by "Darth Maul, aka Matt" <Uglyfish87 at HOTMAIL.COM> Jun 17, 2000
- 448 views
Ummm, that's Euphoria's meaning of CTRL+HOME. Try: procedure onKeyDown_win(integer key,integer mask) if key=VK_HOME and and_bits(mask,CtrlMask)=CtrlMask then ... code ... end if end procedure