|
4 registered members (TipmyPip, AndrewAMD, Grant, 1 invisible),
3,512
guests, and 7
spiders. |
|
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: Engine as Parent window
[Re: TSG_Torsten]
#321812
05/02/10 17:37
05/02/10 17:37
|
Joined: Oct 2007
Posts: 5,211 İstanbul, Turkey
Quad
Senior Expert
|
Senior Expert
Joined: Oct 2007
Posts: 5,211
İstanbul, Turkey
|
I believe there is such functions in winapi, you may try bing search on msdn.
3333333333
|
|
|
Re: Engine as Parent window
[Re: Quad]
#321814
05/02/10 17:43
05/02/10 17:43
|
Joined: Feb 2008
Posts: 18
davinski
Newbie
|
Newbie
Joined: Feb 2008
Posts: 18
|
GameStudio A7 Extraultitech - Ultimative Technology
|
|
|
Re: Engine as Parent window
[Re: davinski]
#321815
05/02/10 17:48
05/02/10 17:48
|
Joined: Oct 2007
Posts: 5,211 İstanbul, Turkey
Quad
Senior Expert
|
Senior Expert
Joined: Oct 2007
Posts: 5,211
İstanbul, Turkey
|
alright, here is the c/lite-c/c++ code that will hide the window from taskbar(also from alt+tab)
#include <acknex.h>
#include <windows.h>
#define WS_EX_TOOLWINDOW 0x00000080L
void main(){
wait(1);
ShowWindow(hWnd, SW_HIDE) ;
SetWindowLong(hWnd, GWL_EXSTYLE, GetWindowLong(hWnd, GWL_EXSTYLE) | WS_EX_TOOLWINDOW);
ShowWindow(hWnd, SW_SHOW) ;
}
obviously this lite-c but you can do this with same method from c++. hWnd is the handle of the Gamestudio window.
3333333333
|
|
|
Re: Engine as Parent window
[Re: Lukas]
#321916
05/03/10 13:38
05/03/10 13:38
|
Joined: Mar 2005
Posts: 564 /www/europe/ germany/index.php
TSG_Torsten
OP

User
|
OP

User
Joined: Mar 2005
Posts: 564
/www/europe/ germany/index.php
|
Well, actually I've seen demo-applications which spawn new windows of the same instance (the same process) but have different taskbar groups. But I want to do the inverse thing ^^ (well, this demo was for the ITaskBar3 object introduced in Windows 7, but I'm pretty sure this is already possible with the legacy taskbar). Anyway, I've already tried SetParent. But this wasn't what I've looked for, if I use "SetParent(hWnd,My_Application_Window)" the Engine window is "inside" my application. So that won't work for me. Any other ideas would be great  Regards TSGames
|
|
|
|