Home » U++ Library support » U++ Callbacks and Timers » Callback to refresh docked window
Callback to refresh docked window [message #37790] |
Mon, 12 November 2012 17:18 |
keltor
Messages: 73 Registered: February 2012
|
Member |
|
|
Hi "u++ers",
I am trying to deal with what I thought was a simple issue but for the love of me I can't seem to figure it out...
I have an OpenCascade control inside a Docked window. I have grouped it together with two other windows. So far so good. However, when I switch among them and go back to the OC window, it does not refresh properly. That is to say, it turns white and one has to drag the mouse on it to manually refresh it and show again the 3D stuff.
A similar issue happens when I toggle the main window (for example when I minimise it and then restore it). However, that I have solved by means of the GotFocus() virtual function.
I am looking for a callback, or a virtual function, that automatically calls my RefreshWindow() function every time I restore the OC Docking window inside my application. I have tried
class OCWindow : public Ctrl {
void GotFocus() {
RefreshWindow();
}
};
but that doesn't solve the refresh problem.
Help anyone?
Thank you,
Kel
|
|
|
Goto Forum:
Current Time: Wed Dec 04 17:35:14 CET 2024
Total time taken to generate the page: 0.02381 seconds
|