Gamestudio Links
Zorro Links
Newest Posts
Trading Journey
by howardR. 04/28/24 09:55
basik85278
by basik85278. 04/28/24 08:56
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Help with plotting multiple ZigZag
by M_D. 04/26/24 20:03
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
M1 Oversampling
by jcl. 04/26/24 11:12
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
0 registered members (), 730 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
wandaluciaia, Mega_Rod, EternallyCurious, howardR, 11honza11
19049 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Panel Not Hiding #161966
10/18/07 22:46
10/18/07 22:46
Joined: Nov 2005
Posts: 94
Texas
3
3Dski Offline OP
Junior Member
3Dski  Offline OP
Junior Member
3

Joined: Nov 2005
Posts: 94
Texas
My code is very similar to a panel tutorial... only a panel with some buttons, and some functions connected to the buttons. I've connected a function to one of the buttons that is meant to turn VISIBLE off:

main_menu.flags &= ~VISIBLE;

I've used this, and tried both toggle and reset macros, but the panel is not removed from the screen. Any pointers on what I'm missing on getting the screen to refresh when a turn panel visibility off?

Re: Panel Not Hiding [Re: 3Dski] #161967
10/18/07 23:08
10/18/07 23:08
Joined: Mar 2007
Posts: 677
0x00000USA
M
MrCode Offline
User
MrCode  Offline
User
M

Joined: Mar 2007
Posts: 677
0x00000USA
Could you post your code here? It may be something in one of your other functions.


Code:
void main()
{
    cout << "I am MrCode,";
    cout << "hear me roar!";
    system("PAUSE");
}
Re: Panel Not Hiding [Re: MrCode] #161968
10/18/07 23:35
10/18/07 23:35
Joined: May 2005
Posts: 2,713
Lübeck
Slin Offline
Expert
Slin  Offline
Expert

Joined: May 2005
Posts: 2,713
Lübeck
reset the screen_color after making the panel invisible or place a panel or level behind the others

Re: Panel Not Hiding [Re: Slin] #161969
10/19/07 00:08
10/19/07 00:08
Joined: Nov 2005
Posts: 94
Texas
3
3Dski Offline OP
Junior Member
3Dski  Offline OP
Junior Member
3

Joined: Nov 2005
Posts: 94
Texas
Moral of the story... and I ran into this a long time ago...

!!! IF YOUR SCREEN COLOR IS BLACK, THE PANEL WILL NOT DISAPPEAR WHEN VISIBILITY IS TURNED OFF !!!

Thanks for your time and suggestions!


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