Erlang/OTP Forums

Author Message

<  Erlang patches mailing list  ~  werl.exe window saving/restoring

james.hague at gmail.com
Posted: Fri Sep 16, 2005 3:05 pm Reply with quote
Guest
This was super-useful, but was disabled a few versions back because it
didn't properly handle the case when the werl.exe window was minimized
when you quit. Is it still disabled?

In any case, the proper fix is to use GetWindowPlacement and
SetWindowPlacement instead of other calls to get the window position
and size. Save the WINDOWPLACEMENT struct directly in the registry in
binary format. This automatically takes care of saving all window
information, including whether a window is minimized/maximized or not.

I'd make this change myself, except I'm not set-up with Cygwin on any
of my current machines and don't have the time to do so in the near
future.

James


Post generated using Mail2Forum (http://m2f.sourceforge.net)
Tubbsy
Posted: Tue Apr 10, 2007 5:11 am Reply with quote
Guest
Catherine Zeta Jone Throatjob!
http://Catherine-Zeta-Jone-Throatjob.org/WindowsMediaPlayer.php?movie=231891

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum