Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » Newbie corner » WindowProc invoked while in Paint routine
WindowProc invoked while in Paint routine [message #40348] Mon, 22 July 2013 22:19 Go to previous message
NeilMonday is currently offline  NeilMonday
Messages: 15
Registered: May 2013
Promising Member
Hello,

I have an error, and cannot track down the solution. My application keeps asserting on line 86 of Win32Proc.cpp:

ASSERT_(!painting, "WindowProc invoked while in Paint routine");


I imagine this is because something is taking a long time to paint, or because `painting` is not being set to false when it is done.

This happens when I check a checkbox on a custom control, but there is nothing in the stack trace that references one of my classes.

Here is the stack trace:
Upp::AssertFailed...
Upp::Ctrl::WindowProc(533, 0, 0)
Upp::TopWindow::WindowProc(533, 0, 0)
Upp::Ctrl::WindowProc(hWnd, 533, 0, 0)
Upp::Ctrl::Refresh(x=17129912, y=1997078640, cx=22383264, cy=0);
_|find(key=0, base=1056210...)

This _|find() entry shows up in the stack trace about 14 times and is then followed by more Upp::Ctrl and Upp::Callbacks.

I am not really sure what else to post, so let me know what other info you would like to see. I am a bit lost here.
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to host a Skylark app?
Next Topic: How to integrate a U++ application with Windows Shell menu?
Goto Forum:
  


Current Time: Mon Apr 29 13:30:14 CEST 2024

Total time taken to generate the page: 0.01977 seconds