Home » Community » Newbie corner » Problem with Refreshing GUI...
Problem with Refreshing GUI... [message #36361] |
Tue, 22 May 2012 15:03 |
Wolfgang
Messages: 146 Registered: November 2011 Location: Germany
|
Experienced Member |
|
|
Hi, a simple testcase:
void hcan::justAclick()
{
tStatic.SetText("just a few seconds.. please be patient!");
hcan::LayoutcanGridDiscover.Add(tStatic.HSizePos(0,0).VSizePosZ(0.0));
hcan::LayoutcanGridDiscover.Refresh();
sleep(2);
tStatic.Remove();
}
If I call this by a THISBACK(justAclick) it didn't show the text... because it freezes for 2 seconds and then removes it immediatly - but it should repaint the interface before the sleep takes effekt. Whats my fault?
Tried upp::Refresh() and Reskin() but nothing works..
[Updated on: Tue, 22 May 2012 15:04] Report message to a moderator
|
|
|
|
|
Goto Forum:
Current Time: Sun Jan 19 04:20:28 CET 2025
Total time taken to generate the page: 0.02491 seconds
|