From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Evans Winner Newsgroups: gmane.emacs.devel Subject: Re: Full screen mode on windows Date: Tue, 03 Jun 2008 14:56:48 -0600 Message-ID: <86k5h6b5kf.fsf@timbral.net> References: <871w3ik9js.fsf@kanis.fr> <87k5hatjo4.fsf@kanis.fr> <87prr1jwrx.fsf@kanis.fr> <86r6bfau1m.fsf@timbral.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1212526491 30932 80.91.229.12 (3 Jun 2008 20:54:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 3 Jun 2008 20:54:51 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jun 03 22:55:31 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1K3dX6-0004Au-UK for ged-emacs-devel@m.gmane.org; Tue, 03 Jun 2008 22:55:05 +0200 Original-Received: from localhost ([127.0.0.1]:49198 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K3dWK-0002rX-OX for ged-emacs-devel@m.gmane.org; Tue, 03 Jun 2008 16:54:16 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K3dW5-0002er-6o for emacs-devel@gnu.org; Tue, 03 Jun 2008 16:54:01 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K3dW3-0002cm-Ka for emacs-devel@gnu.org; Tue, 03 Jun 2008 16:54:00 -0400 Original-Received: from [199.232.76.173] (port=53925 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K3dW3-0002cU-CK for emacs-devel@gnu.org; Tue, 03 Jun 2008 16:53:59 -0400 Original-Received: from main.gmane.org ([80.91.229.2]:56807 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1K3dW3-0003UC-BQ for emacs-devel@gnu.org; Tue, 03 Jun 2008 16:53:59 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1K3dVx-0003BE-MH for emacs-devel@gnu.org; Tue, 03 Jun 2008 20:53:54 +0000 Original-Received: from 67.42.142.120 ([67.42.142.120]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 03 Jun 2008 20:53:53 +0000 Original-Received: from thorne by 67.42.142.120 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 03 Jun 2008 20:53:53 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 31 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 67.42.142.120 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:T0Fk2jYrQMP0JVhmUs/1nCvob74= X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:98332 Archived-At: dhruva writes: Hi, I have the following key mapping and it just works fine on M$. You can add tests to check if tool bar is enabled and remove it, restore it later by storing keeping track (the way I restore - max/restore). (global-set-key [(control ?=)] '(lambda () (interactive) (if (and (boundp '*frame-max) *frame-max) (progn (setq *frame-max nil) (w32-send-sys-command 61728)) (progn (setq *frame-max t) (w32-send-sys-command 61488))))) This kind of thing has been suggested, but it does not solve the main problem (which is what the thread starter asked about) of removing all window borders (particularly the title bar) in the W32 environment. I spent a couple of hours at one point trying to find a code to use with the 'w32-send-sys-command function that would have that effect, but to no avail. It can be done, of course, by some means; Internet Explorer 7 (as an example) responds to the Windows standard F11 key the way that is being described (it even has a nice feature that allows you to temporarily get out of the fullscreen mode by bumping the top of the screen with the mouse pointer).