1. Re: [WIN] Win32lib Suggestion
- Posted by Derek Parnell <ddparnell at bigpond.com> Jul 13, 2002
- 389 views
Hi Kenneth, I found this old email in my archive. Sorry I didn't get back to you earlier; I don't know how that happened. Anyhow, I've added your enhancement into the next release. ----------- cheers, Derek ----- Original Message ----- From: <kennethroger at prodigy.net> To: "EUforum" <EUforum at topica.com> Subject: [WIN] Win32lib Suggestion > >>>>> The Euphoria Mailing List <<<<< > > --- Sponsor's Message -------------------------------------- > Get Only the Best Lists! > Get a daily profile of the best lists at Topica, FREE! > http://click.topica.com/caaaaPIb1dd66b2mL5ya/BestLists > ------------------------------------------------------------ > > In the function getKeyMasks(), the effect of CapsLock could be included > by using code such as the following: > > integer shl, sh > --is ShiftLock toggled? > shl=and_bits(#0001,c_func(xGetKeyState,{VK_CAPITAL})) > --is Shift pressed? > sh=and_bits(#0080,c_func(xGetKeyState,{VK_SHIFT})) > --set state flag for (effective) shift > if (sh and (not shl)) or ((not sh) and shl) then > flags += ShiftMask > end if > > > ------------------------------------------------------------ > http://eReleases.com - Low-Cost Press Release Services > ** Includes paid wire distribution and pr resources ** > <a href="http://www.eReleases.com">AOL Link</a> > > >