BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

opengl full screen problem

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Graphics)
View previous topic :: View next topic  
Author Message
peted@iinet.net.au
Guest





PostPosted: Wed May 12, 2004 3:39 pm    Post subject: opengl full screen problem Reply with quote



im using the allan peterson freeware tpanel opengl componet with bcb6.

It all works fine, i can load 3ds models and display them and i have
the compnent fill the form completely, but i want the user to be able
to switch between a full screen and window mode of the application. I
do this by removeing the borders of the form, using the form
properties, but when this happens the app goes full screen, but the 3d
modelin the opengl window disappears. No crash, no errors, the model
just disappears, and i have to reload it.

Anyone have any suggestions. I guess to remove the form borders, it
has to destroy then recreate it, but how do i get around this problem,
so the opngle model does not diappear.

Any help appreciated
Back to top
Palle Meinert
Guest





PostPosted: Sun May 16, 2004 5:33 pm    Post subject: Re: opengl full screen problem Reply with quote



you might benefit from the "Entering/Exiting Full-Screen Mode Changes a
Form's Handle!?" thread in vcl.components.using, which deals with the
problem that if you make your form fullscreen by changing the border-style
it will get a new handle. There is also a suggestion how to prevent this.

Palle



<peted (AT) iinet (DOT) net.au> skrev i en meddelelse
news:gvg4a01g5gt42lbhre85i0m455ud452p8h (AT) 4ax (DOT) com...
Quote:
im using the allan peterson freeware tpanel opengl componet with bcb6.

It all works fine, i can load 3ds models and display them and i have
the compnent fill the form completely, but i want the user to be able
to switch between a full screen and window mode of the application. I
do this by removeing the borders of the form, using the form
properties, but when this happens the app goes full screen, but the 3d
modelin the opengl window disappears. No crash, no errors, the model
just disappears, and i have to reload it.

Anyone have any suggestions. I guess to remove the form borders, it
has to destroy then recreate it, but how do i get around this problem,
so the opngle model does not diappear.

Any help appreciated



Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Graphics) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.