Page 1 of 1

[Implemented] HideWindow() ~ A small addition

Posted: Mon Oct 20, 2008 8:53 am
by RichardL
Could the 'State' flag in HideWindow() be modified so that if the window that is being revealed is optionally not activated?

This could be achieved with a bit flag or another Flag value:

HideWindow(MyWindow,1) ; Hide
HideWindow(MyWindow,0); Reveal
HideWindow(MyWindow,2); Reveal but not activate.

The Windows equivalent is:

Code: Select all

ShowWindow_(WindowID(MyWindow),#SW_SHOWNOACTIVATE)       ; Make window visible, but do NOT activate it
See:
http://www.purebasic.fr/english/viewtop ... 951#263951

RichardL

Posted: Mon Oct 20, 2008 9:56 am
by Mistrel
+1

Posted: Mon Oct 20, 2008 2:37 pm
by Kaeru Gaman

Posted: Tue Oct 21, 2008 11:39 am
by DoubleDutch
+1

Posted: Tue Oct 21, 2008 7:37 pm
by Psychophanta