unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Start as maximized?
@ 2004-04-22 18:47 William Payne
  2004-04-22 18:53 ` Rafael Villarroel
  2004-04-22 20:45 ` Carsten Weinberg
  0 siblings, 2 replies; 8+ messages in thread
From: William Payne @ 2004-04-22 18:47 UTC (permalink / raw)


Hello, I am using a CVS version of Emacs (checked out from savannah
recently) under Windows. Can I have it automatically start as maximized?

Thanks for any replies

/ WP

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Start as maximized?
  2004-04-22 18:47 Start as maximized? William Payne
@ 2004-04-22 18:53 ` Rafael Villarroel
  2004-04-22 19:03   ` William Payne
  2004-04-23 16:21   ` giacomo boffi
  2004-04-22 20:45 ` Carsten Weinberg
  1 sibling, 2 replies; 8+ messages in thread
From: Rafael Villarroel @ 2004-04-22 18:53 UTC (permalink / raw)



this works for me:

(w32-send-sys-command ?\xf030)

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Start as maximized?
  2004-04-22 18:53 ` Rafael Villarroel
@ 2004-04-22 19:03   ` William Payne
  2004-04-23 16:21   ` giacomo boffi
  1 sibling, 0 replies; 8+ messages in thread
From: William Payne @ 2004-04-22 19:03 UTC (permalink / raw)



"Rafael Villarroel" <rvf_lists@fastmail.fm> wrote in message
news:y0lk707hmjp.fsfhello@somewhere.com...
> this works for me:
>
> (w32-send-sys-command ?\xf030)

Thanks, works great

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Start as maximized?
  2004-04-22 18:47 Start as maximized? William Payne
  2004-04-22 18:53 ` Rafael Villarroel
@ 2004-04-22 20:45 ` Carsten Weinberg
  1 sibling, 0 replies; 8+ messages in thread
From: Carsten Weinberg @ 2004-04-22 20:45 UTC (permalink / raw)


On Thu, 22 Apr 2004 20:47:22 +0200
"William Payne" <mikas_n_o_s_p_a_m_493@student.liu.se> wrote:

> Hello, I am using a CVS version of Emacs (checked out from savannah
> recently) under Windows. Can I have it automatically start as
> maximized?
> 
> Thanks for any replies
> 
> / WP

 emacs --fullscreen

Try `emacs --help' for more information.

-Carsten

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Start as maximized?
  2004-04-22 18:53 ` Rafael Villarroel
  2004-04-22 19:03   ` William Payne
@ 2004-04-23 16:21   ` giacomo boffi
  2004-04-23 16:32     ` Rafael Villarroel
  2004-04-23 19:41     ` Jason Rumney
  1 sibling, 2 replies; 8+ messages in thread
From: giacomo boffi @ 2004-04-23 16:21 UTC (permalink / raw)


Rafael Villarroel <rvf_lists@fastmail.fm> writes:

> this works for me:
>
> (w32-send-sys-command ?\xf030)

ciao Rafael,

   where could i look to know what i get with

             ...
  (w32-send-sys-command ?\xf031)
  (w32-send-sys-command ?\xf032)
  (w32-send-sys-command ?\xf033)
  (w32-send-sys-command ?\xf034)
             ...

   thank you in advance,
                                                        gb
-- 
ANNOYED BY SPACE-TIME VORTEX. CREW UNMOTIVATED. SINKING. U-103.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Start as maximized?
  2004-04-23 16:21   ` giacomo boffi
@ 2004-04-23 16:32     ` Rafael Villarroel
  2004-04-23 19:41     ` Jason Rumney
  1 sibling, 0 replies; 8+ messages in thread
From: Rafael Villarroel @ 2004-04-23 16:32 UTC (permalink / raw)


giacomo boffi <giacomo.boffi@polimi.it> writes:

> Rafael Villarroel <rvf_lists@fastmail.fm> writes:
>
>> this works for me:
>>
>> (w32-send-sys-command ?\xf030)
>
>    where could i look to know what i get with
>
>              ...
>   (w32-send-sys-command ?\xf031)
>   (w32-send-sys-command ?\xf032)
>   (w32-send-sys-command ?\xf033)
>   (w32-send-sys-command ?\xf034)

Hi,
Sorry, I have no idea, I got this trick from this group maybe some
time ago. Hopefully some expert will answer which other tasks can be
done.

Rafael

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Start as maximized?
  2004-04-23 16:21   ` giacomo boffi
  2004-04-23 16:32     ` Rafael Villarroel
@ 2004-04-23 19:41     ` Jason Rumney
  2004-04-23 23:39       ` giacomo boffi
  1 sibling, 1 reply; 8+ messages in thread
From: Jason Rumney @ 2004-04-23 19:41 UTC (permalink / raw)


giacomo boffi <giacomo.boffi@polimi.it> writes:

> > (w32-send-sys-command ?\xf030)
> 
>    where could i look to know what i get with
>
>   (w32-send-sys-command ?\xf031)
>   (w32-send-sys-command ?\xf032)
>   (w32-send-sys-command ?\xf033)
>   (w32-send-sys-command ?\xf034)

The doc string of w32-send-sys-command says it sends a WM_SYSCOMMAND
Windows message, so the documentation for WM_SYSCOMMAND on MSDN would
be a good place to start, though for the actual values, you'd
probably have to look in the mingw header files.

The useful values are listed in the w32-send-sys-command doc string.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Start as maximized?
  2004-04-23 19:41     ` Jason Rumney
@ 2004-04-23 23:39       ` giacomo boffi
  0 siblings, 0 replies; 8+ messages in thread
From: giacomo boffi @ 2004-04-23 23:39 UTC (permalink / raw)


jasonr (Jason Rumney) @  f2s.com writes:

ciao Jason,

> giacomo boffi <giacomo.boffi@polimi.it> writes:
>>    where could i look to know what i get with
>>
>>   (w32-send-sys-command ?\xf030) [...]
>
> The doc string of w32-send-sys-command says it sends a WM_SYSCOMMAND
> Windows message, so the documentation for WM_SYSCOMMAND on MSDN
> would be a good place to start, though for the actual values, you'd
> probably have to look in the mingw header files.

bingo! it's in winuser.h

#define SC_MAXIMIZE 0xF030

> The useful values are listed in the w32-send-sys-command doc string.

that's only in an emacs built for windows, i think...

thank you,
                                                        gb
-- 
IRC SERVER. ATTACKED. LEAVE BOAT. U-335.

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2004-04-23 23:39 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-22 18:47 Start as maximized? William Payne
2004-04-22 18:53 ` Rafael Villarroel
2004-04-22 19:03   ` William Payne
2004-04-23 16:21   ` giacomo boffi
2004-04-23 16:32     ` Rafael Villarroel
2004-04-23 19:41     ` Jason Rumney
2004-04-23 23:39       ` giacomo boffi
2004-04-22 20:45 ` Carsten Weinberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).