Hide window or app [solved]

New releases and general discussions.

Post » Sat Mar 26, 2011 4:06 pm

Hi all,
is it possible to hide applications or windows (with a specific title) with Construct?
I know that MMF2 Dev can do this with the Kernel Object but I dont know wether Construct can hide windows or something else
Thanks for all replies...
B
3
G
2
Posts: 7
Reputation: 939

Post » Sat Mar 26, 2011 5:31 pm

Why would you want to? Construct is a 2d Game Creation system, so you would normally run it in a window or full-screen, or are you thinking of something really outside the box :)
If your vision so exceeds your ability, then look to something closer.
Moderator
B
120
S
28
G
68
Posts: 4,844
Reputation: 48,289

Post » Sat Mar 26, 2011 5:44 pm

Tools, maybe? Anyway, you can use the window object to hide a window, but I don't think you can hide a specific window using it's title or whatever.
Image
B
225
S
27
G
13
Posts: 1,774
Reputation: 18,024

Post » Sat Mar 26, 2011 6:07 pm

[quote="zenox98":xrugmf6e]Why would you want to?[/quote:xrugmf6e]
I want to make something like VirtuaWin ([url:xrugmf6e]http://virtuawin.sourceforge.net/[/url:xrugmf6e]) or another desktop manager.
MMF2 Developer can do this but I only have the standard version...
But even though thanks for your help :)
B
3
G
2
Posts: 7
Reputation: 939

Post » Sat Mar 26, 2011 10:57 pm

You can hide other windows with python with the ctypes library and the winapi reference. In particular the ShowWindow function should do the trick.

Example that hides any window for 5 seconds:
[url:104b9d02]http://dl.dropbox.com/u/5426011/examples4/windowhide.zip[/url:104b9d02] made in 0.99.97
B
79
S
24
G
54
Posts: 4,746
Reputation: 40,755

Post » Sun Mar 27, 2011 1:35 pm

Thanks for your effort, R0J0hound,
thats what I was searching for :D :D :D
B
3
G
2
Posts: 7
Reputation: 939


Return to Construct Classic Discussion

Who is online

Users browsing this forum: No registered users and 0 guests