From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.help Subject: Re: w32-pass-lwindow-to-system (& ...rwindow) Date: Sun, 24 Sep 2006 15:19:04 +0200 Message-ID: <451685C8.50009@student.lu.se> References: <4515D654.2000705@student.lu.se> <451656F5.5050105@student.lu.se> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1159103972 19014 80.91.229.2 (24 Sep 2006 13:19:32 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 24 Sep 2006 13:19:32 +0000 (UTC) Cc: help-gnu-emacs@gnu.org, brakjoller@gmail.com Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Sep 24 15:19:30 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GRTtH-0008Tw-PT for geh-help-gnu-emacs@m.gmane.org; Sun, 24 Sep 2006 15:19:28 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GRTtH-0003Zc-9g for geh-help-gnu-emacs@m.gmane.org; Sun, 24 Sep 2006 09:19:27 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GRTt0-0003WL-TW for help-gnu-emacs@gnu.org; Sun, 24 Sep 2006 09:19:10 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GRTsz-0003W9-Hk for help-gnu-emacs@gnu.org; Sun, 24 Sep 2006 09:19:10 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GRTsz-0003W6-9I for help-gnu-emacs@gnu.org; Sun, 24 Sep 2006 09:19:09 -0400 Original-Received: from [81.228.8.83] (helo=pne-smtpout1-sn2.hy.skanova.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GRTx9-0005bi-Eb; Sun, 24 Sep 2006 09:23:27 -0400 Original-Received: from [192.168.123.121] (83.249.218.244) by pne-smtpout1-sn2.hy.skanova.net (7.2.075) id 450708BC0030AD4B; Sun, 24 Sep 2006 15:19:05 +0200 User-Agent: Thunderbird 1.5.0.7 (Windows/20060909) Original-To: Eli Zaretskii In-Reply-To: X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:37590 Archived-At: Eli Zaretskii wrote: >> Date: Sun, 24 Sep 2006 11:59:17 +0200 >> From: Lennart Borgman >> CC: brakjoller@gmail.com, help-gnu-emacs@gnu.org >> >> >>>> This behaviour is consistent with MS documentation. To avoid that >>>> windows left and right keys open for example the run dialog with Win+r >>>> you have to implement a low level keyboard hook. >>>> >>>> >>> Can you give a pointer to the Microsoft documentation which says that, >>> and/or documentation that explains how the LWIN-r combo works in terms >>> of Win32 API calls, and why it bypasses the normal keyboard reading >>> Emacs uses? >>> >>> >> See the thread where we discussed this: >> http://lists.gnu.org/archive/html/emacs-devel/2005-07/msg00448.html >> > > I've re-read that discussion before asking the question. The only > pointers I found there were to a CodeProject page, which just said > that keyboard hooks were necessary, but didn't explain the issue any > further. What I'm looking for is a more in-depth documentation, > preferably official Microsoft one. > Unfortunately the documentation on LowLevelKeyboardProc or WH_KEYBOARD_LL does not give a big picture. That was why I gave the link above as a starting point. http://windowssdk.msdn.microsoft.com/en-us/library/ms644985.aspx I read a lot info about input processing on MS Windows, but unfortunately I did not save links to those while switching pc. Anyway, these links does not give the overall picture either but tells what to do I believe: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/directx9_c/Disabling_Shortcut_Keys_in_Games.asp http://msdn.microsoft.com/archive/default.asp?url=/archive/en-us/directx9_c_Dec_2004/directx/gamesforwindows/disablingshortcutkeys.asp