Gamestudio Links
Zorro Links
Newest Posts
Newbie Questions
by fairtrader. 12/05/23 14:22
Zorro Trader GPT
by TipmyPip. 12/04/23 11:34
Square root rule
by Smallz. 12/02/23 09:15
RTest not found error
by TipmyPip. 12/01/23 21:43
neural function for Python to [Train]
by TipmyPip. 12/01/23 14:47
Xor Memory Problem.
by TipmyPip. 11/28/23 14:23
Training with command line parameters
by TipmyPip. 11/26/23 08:42
Combine USD & BTC Pairs In Asset Loop
by TipmyPip. 11/26/23 08:30
AUM Magazine
Latest Screens
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Who's Online Now
0 registered members (), 631 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
fairtrader, hus, Vurtis, Harry5, KelvinC
19019 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
show taskbar #398374
04/01/12 10:28
04/01/12 10:28
Joined: Apr 2008
Posts: 245
GameScore Offline OP
Member
GameScore  Offline OP
Member

Joined: Apr 2008
Posts: 245
is there a way to set the windows taskbar visible at runtime?

Re: show taskbar [Re: GameScore] #398376
04/01/12 11:42
04/01/12 11:42
Joined: Oct 2011
Posts: 1,082
Germany
C
Ch40zzC0d3r Offline
Serious User
Ch40zzC0d3r  Offline
Serious User
C

Joined: Oct 2011
Posts: 1,082
Germany
Not in GS itself, you need a windpows API or a extern program like vb.net grin

Re: show taskbar [Re: Ch40zzC0d3r] #398377
04/01/12 11:44
04/01/12 11:44
Joined: Apr 2008
Posts: 245
GameScore Offline OP
Member
GameScore  Offline OP
Member

Joined: Apr 2008
Posts: 245
ok, i see

Re: show taskbar [Re: GameScore] #398379
04/01/12 12:40
04/01/12 12:40
Joined: Jan 2002
Posts: 4,225
Germany / Essen
Uhrwerk Offline
Expert
Uhrwerk  Offline
Expert

Joined: Jan 2002
Posts: 4,225
Germany / Essen
There you go:
Code:
#include <acknex.h>
#include <windows.h>

HWND h = 0;

void exit_event()
{
	ShowWindow(h,SW_SHOW);
}

void main()
{
	h=FindWindow("Shell_TrayWnd","");
	ShowWindow(h,SW_HIDE);
	on_exit = exit_event;
}


Stay away from vb.net and don't start creating other windows apis than the original one. grin


Always learn from history, to be sure you make the same mistakes again...
Re: show taskbar [Re: Uhrwerk] #398384
04/01/12 13:33
04/01/12 13:33
Joined: Oct 2008
Posts: 341
R
ratz Offline
Senior Member
ratz  Offline
Senior Member
R

Joined: Oct 2008
Posts: 341
winexeC

Re: show taskbar [Re: ratz] #398388
04/01/12 14:23
04/01/12 14:23
Joined: Jan 2002
Posts: 4,225
Germany / Essen
Uhrwerk Offline
Expert
Uhrwerk  Offline
Expert

Joined: Jan 2002
Posts: 4,225
Germany / Essen
Cucumber


Always learn from history, to be sure you make the same mistakes again...
Re: show taskbar [Re: Uhrwerk] #398390
04/01/12 14:40
04/01/12 14:40
Joined: Apr 2008
Posts: 245
GameScore Offline OP
Member
GameScore  Offline OP
Member

Joined: Apr 2008
Posts: 245
Hey thanks,
but the code does not work really
this will hide the taskbar on runtime
if i minimize the window
i see no taskbar and i can not maximize the window again laugh
so i must close the programm by the task manager

i asume the code should look like this

Code:
h=FindWindow("Shell_TrayWnd","");
ShowWindow(h,SW_SHOW);  <-- SW_SHOW not hide
on_exit = exit_event;



but there is no taskbar visible in my game

Re: show taskbar [Re: GameScore] #398391
04/01/12 14:55
04/01/12 14:55
Joined: Jan 2002
Posts: 4,225
Germany / Essen
Uhrwerk Offline
Expert
Uhrwerk  Offline
Expert

Joined: Jan 2002
Posts: 4,225
Germany / Essen
You asked for a way to show the taskbar and I gave you a sample code that showed and hid it. Of course you have to adapt it to your needs. If its not visible your game most likely runs in fullscreen mode?


Always learn from history, to be sure you make the same mistakes again...
Re: show taskbar [Re: Uhrwerk] #398392
04/01/12 15:01
04/01/12 15:01
Joined: Apr 2008
Posts: 245
GameScore Offline OP
Member
GameScore  Offline OP
Member

Joined: Apr 2008
Posts: 245
yeah the game runs at fullscreen mode
sry i dont want to tease you

Re: show taskbar [Re: GameScore] #398404
04/01/12 18:36
04/01/12 18:36
Joined: Jan 2002
Posts: 4,225
Germany / Essen
Uhrwerk Offline
Expert
Uhrwerk  Offline
Expert

Joined: Jan 2002
Posts: 4,225
Germany / Essen
Well, i don't think this is possible in fullscreen mode. As the name says. Fullscreen mode. An application covers the full screen. You could switch to windowed mode for this. Why do you want to show the taskbar in fullscreen mode anyways?


Always learn from history, to be sure you make the same mistakes again...
Page 1 of 2 1 2

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1