[comp.windows.ms] Exit windows fast

cjw4494@cec2.wustl.edu (Mr. White (cec cons)) (03/04/91)

I currently have that neat icon to exit windows fast.  It works great, however
the icon is only accessible if you have the program manager window open.  My
question is:  Is it possible to make the exit icon accessible at all times
(like an iconized loaded program)?  I've tried including the exitwin.exe in my
load= line in WIN.INI, but that simply exits WINDOWS as soon as it comes to
that line.  If anyone has a solution could you post it or mail me direct?
Thanks in advance.

Mr. White
cjw4494@cec2.wustl.edu

curt@cctb.wa.com (Curt Johnson) (03/07/91)

In article <1991Mar4.012548.27353@cec1.wustl.edu> cjw4494@cec2.wustl.edu (Mr. White (cec cons)) writes:
| I currently have that neat icon to exit windows fast.  It works great, however
| the icon is only accessible if you have the program manager window open.  My
| question is:  Is it possible to make the exit icon accessible at all times
| (like an iconized loaded program)?  I've tried including the exitwin.exe in my
| load= line in WIN.INI, but that simply exits WINDOWS as soon as it comes to
| that line.  If anyone has a solution could you post it or mail me direct?
| Thanks in advance.


A while ago I wrote a program that does exactly what you want.

I thought about doing it with an icon, but icons don't get mouse
messages.

I wrote a program that puts up a small, borderless window that
contains a button that says "Exit Windows".  When you press the
button, it calls ExitWindows();.

Use the right mouse button to drag the button to the position you
like on the screen.  The position of the button is saved in WIN.INI

Title of the button can be set in [ExitButton] section of WIN.INI

It is small, so I'll just post it (I don't have FTP access anyway).

uudecode the following:

begin 644 exit.exe
M35K(``,````@````__\'```!94``````0`````$`````````````````````
M``````````````````````0`````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M``````````````````````#H4P!4:&ES('!R;V=R86T@<F5Q=6ER97,@36EC
M<F]S;V9T(%=I;F1O=W,N#0HD("`@("`@("`@("`@("`@("`@("`@("`@("`@
M("`@("`@("`@("`@(%H.'[0)S2&X`4S-(0``````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M`````````````````````````````````````````````$Y%!0IO`!8`4U@/
M<`(#`@``!``0T08!`````@`"``,`0P!``%``4`!8`%X`A00```,`!`````((
M3@`6`0````-0`&X,4!UN##@!F`)1#)@"!$58250````!``@`#```!DM%4DY%
M3`-'1$D$55-%4@/_`<T_`7L!`<T_`=D$`,T_`0`````D15A)5"P@8V]P>7)I
M9VAT(#$Y.3$@8GD@0W5R="!*;VAN<V]N```+15A)5%=.1%!23T,!``I"5514
M3TY04D]#`@``````````````````````````````````````````````````
M````````````````````````````````````````````````58OL@^PL5H-^
M"@!T!2O`Z=L`BW8,QT;6___'1MBW`BO`B4;:B4;<B7;>B4;4B4;@4+@`?YE2
M4)K__P``B4;BQT;D`@`KP(E&Z(E&YKB:`(E&ZHQ>[(U&U!90FO__```+P'2J
MN)H`'E"Y$``>42O)49J6````HT`"N)H`'E"X$@`>4"O`4)K__P``HT("N)H`
M'E`>4"O`N@"`4E#_-D`"_S9"`E!04%!64%":_P(``%"Y`0!1B_":__\``%::
M__\``.L4C4;N%E":__\``(U&[A90FO__``"-1NX64"O`4%!0FO__```+P'79
MBT;R7HOE7<(*`%6+[(/L"/]V!(U&^!90FO__``"+1O@Y!D`"="=0N*4`'E"X
M2`(>4)I<`0``@\0*N)H`'E"XJ``>4+A(`AY0FG,!``"+1OHY!D("="=0N*H`
M'E"X2`(>4)K__P``@\0*N)H`'E"XK0`>4+A(`AY0FAX"``"+Y5W#'EB0156+
M[!Z.V(/L4%=6BT8,2'0X2'4#Z9D!+0T`=0/IKP%(2'4#Z<0!+00`=0/IQ@$M
M!`!U`^G<`2WI`'4#Z24"+0\`=0/I5P+I<P*X`0!0FH$#``!24)J(`P``HS8"
MN)H`'E"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
M`+0"_P`"``,!9P(!`%H``P'5!@$`6P`#`60%`P!,``,!,@("`%<``P%2`@(`
M6P`#`4,"`@!=``,!'PL!`',``@`M`/\``P``````````````````````````
M``4``````````````%@`60!%>&ET"D-O<'ER:6=H=""I(#$Y.3$@8GD@0W5R
M="!*;VAN<V]N"@I#=7)T($IO:&YS;VX*:6YT97)N970Z(&-U<G1`8V-T8BYW
M82YC;VT*"DQE9G0@8VQI8VL@=&\@97AI="!W:6YD;W=S"E)I9VAT(&1R86<@
M=&\@;6]V92!B=71T;VX*`$5X:71"=71T;VX`)60`6``E9`!9``!497AT`$5X
M:70@5VEN9&]W<P!497AT`"`@("``8G5T=&]N`$-A;&-U;&%T;W(`__\`````
M``````````!?0U]&24Q%7TE.1D\]````````````````````````````````
M`````!0````````````````````````````````````U`0``````````````
M`````````````````````````````-`&T`;0!@```````#P\3DU31SX^0R!2
M54Y424U%($524D]2(````%(V,#`P#0HM('-T86-K(&]V97)F;&]W#0H``P!2
M-C`P,PT*+2!I;G1E9V5R(&1I=FED92!B>2`P#0H`"0!2-C`P.0T*+2!N;W0@
M96YO=6=H('-P86-E(&9O<B!E;G9I<F]N;65N=`T*`/P`#0H`_P!R=6XM=&EM
M92!E<G)O<B```@!2-C`P,@T*+2!F;&]A=&EN9RUP;VEN="!S=7!P;W)T(&YO
M="!L;V%D960-"@#___\`````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
:````````````````````````````````````
`
end