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 » U++ Library support » U++ Widgets - General questions or Mixed problems » Drop list is not shown
Re: Drop list is not shown [message #43925 is a reply to message #43923] Thu, 20 November 2014 20:44 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13980
Registered: November 2005
Ultimate Member
Well, the cause of all trouble is that Convert is invoked in EditField::Paint and calling Error does "Refresh". So basically, Paint is causing refresh, which (via Error) queues another paint event and message loop gets stuck at refreshing EditField (keyboard/mouse have priority above paint messages in Win32, that is why you can still close the dialog).

Now I have fixed the issue for this particular scenario (easy, Error now does Refresh only if status changes), but I am sort of torn of what lesson to take from this...

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Switch feature contribution + StaticText USC file correction
Next Topic: AK example and/or key_source bug?
Goto Forum:
  


Current Time: Tue May 14 19:23:43 CEST 2024

Total time taken to generate the page: 0.01662 seconds