[Implemented] HideWindow() ~ A small addition

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
RichardL
Enthusiast
Enthusiast
Posts: 532
Joined: Sat Sep 11, 2004 11:54 am
Location: UK

[Implemented] HideWindow() ~ A small addition

Post 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
Last edited by RichardL on Wed Oct 22, 2008 9:48 am, edited 2 times in total.
Mistrel
Addict
Addict
Posts: 3415
Joined: Sat Jun 30, 2007 8:04 pm

Post by Mistrel »

+1
User avatar
Kaeru Gaman
Addict
Addict
Posts: 4826
Joined: Sun Mar 19, 2006 1:57 pm
Location: Germany

Post by Kaeru Gaman »

oh... and have a nice day.
User avatar
DoubleDutch
Addict
Addict
Posts: 3220
Joined: Thu Aug 07, 2003 7:01 pm
Location: United Kingdom
Contact:

Post by DoubleDutch »

+1
https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
User avatar
Psychophanta
Always Here
Always Here
Posts: 5153
Joined: Wed Jun 11, 2003 9:33 pm
Location: Anare
Contact:

Post by Psychophanta »

http://www.zeitgeistmovie.com

while (world==business) world+=mafia;
Post Reply