GIDForums  

Go Back   GIDForums > Computer Programming Forums > FLTK Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 08-Oct-2009, 09:14
DBruceG DBruceG is offline
New Member
 
Join Date: Oct 2009
Posts: 1
DBruceG is on a distinguished road

fl_message weirdness


I'm having a problem with fl_message when it appears in an Fl_Gl_Window. When it returns, it (usually, but not always) leaves part of its window visible in the Fl_Gl_Window, but ONLY there. This suggests that, for some reason, I'm not responding to some system request for repainting the Fl_Gl_Window ... doesn't it? Yet, if I invalidate and redraw the Fl_Gl_Window immediately upon return from fl_message, it may or may not clear the
fl_message window - usually not. Any ideas?

DBG
  #2  
Old 14-Mar-2010, 17:54
MatthiasWM MatthiasWM is offline
VIP
 
Join Date: Nov 2004
Posts: 73
MatthiasWM will become famous soon enough

Re: fl_message weirdness


When the OS closes your dialog box and the previously obscured area touches your GL window, the draw() function of your window will be called. Make sure that it is actually called (add a printf()), and if that is the case, make sure that you actually draw something.

Oh, if you do heavy calculations after closing the dialog box, you windows will now be redrawn until your process returns to Fl::run().
 
 

Recent GIDBlogInstall Adobe Flash - Without Administrator Rights by LocalTech

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Template weirdness edt C++ Forum 3 24-Aug-2006 16:42
Recursive function weirdness earachefl C++ Forum 6 02-Jun-2006 17:01

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 03:13.


vBulletin, Copyright © 2000 - 2010, Jelsoft Enterprises Ltd.