![]() |
|
#1
|
|||
|
|||
How to use flush()Ern i want to update my window using flush. However i encounter error message like flush() is protected etc. My primary purpose is that i want my window to update itself after i change some of the parameter. However i seem unable to achieve this. Can anyone advice me on this.
Fl_Window *win = new.... some coding for implementation finally win->flush(); |
|||
|
#2
|
|||
|
|||
Re: How to use flush()You rarely need to call flush() yourself. One example would be an extremely long calculation which freezes the display. But there are much better ways than flush().
You are probably looking for redraw(). That function signals to the window that it wants to be redrawn at the next occasion. flush() btw. is a function of Fl, so you need to call Fl::flush(). |
Recent GIDBlog
Problems with the Navy (Officers) by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Help!For poker game simulation | blue1988tx | C++ Forum | 2 | 25-May-2007 21:56 |
| Code Contest | Paramesh | Miscellaneous Programming Forum | 76 | 30-Jun-2006 12:18 |
| Coding Contest #1 | davis | Miscellaneous Programming Forum | 0 | 12-Jun-2006 08:29 |
| flush() / ob_flush() - what for? | firebird | MySQL / PHP Forum | 3 | 22-Feb-2005 21:43 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The