On Tue, Mar 06, 2001 at 12:28:18AM +0100, Gunnar Degnbol wrote: >At 19:44 05-03-2001 +0100, Corinna Vinschen wrote: >>Hi Jason, >> >>we just talked on cygwin-developers about your patch. >> >>Could you please resubmit a patch which doesn't introduce >>another CYGWIN option but instead uses automatic recognition >>of the current keyboard setting? For example the expression >> >>if (PRIMARYLANGID (LOWORD (GetKeyboardLayout (0)) == LANG_ENGLISH) >> >>should work. >> >>Thanks, >>Corinna >This checks if any characters are produced using the altgr key (altgr is >converted to ctrl+alt): > >altgr = FALSE; >for (i = 32; i < 256; i++) { > vk = VkKeyScan((char)i); > if (vk != -1 && (vk & 0x600) == 0x600) { /* ctrl+alt */ > altgr = TRUE; > break; > } >} I'm not sure how this is useful since it bypasses Cygwin entirely. cgf -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple
- Documentation on sockets and threads API Siegfried Heintze
- Re: Documentation on sockets and threa... Larry Hall (RFK Partners, Inc)
- RE: Documentation on sockets and t... Siegfried Heintze
- RE: Documentation on sockets a... Larry Hall (RFK Partners, Inc)
- Re: Documentation on socke... Earnie Boyd
- Re: Patch submission for AltGr handling Christopher Faylor
- Re: Patch submission for AltGr handlin... Jason Tiller
- Re: Patch submission for AltGr han... Corinna Vinschen
- Re: Patch submission for AltGr handling Corinna Vinschen
- Re: Patch submission for AltGr handlin... Gunnar Degnbol
- Re: Patch submission for AltGr han... Christopher Faylor
- Re: Patch submission for AltGr han... Jason Tiller
- Re: Patch submission for AltGr... Gunnar Degnbol
- Re: Patch submission for AltGr handlin... Jason Tiller
- Re: Patch submission for AltGr han... Christopher Faylor
- Re: Patch submission for AltGr... Jason Tiller
- Re: Patch submission for A... DJ Delorie
- Re: Patch submission ... Jason Tiller
- Re: Patch submiss... Christopher Faylor
- Re: Patch submiss... DJ Delorie
- Re: Patch submission for AltGr handlin... Jason Tiller