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 » How to get an "OnParentOpen" in a control
Re: How to get an "OnParentOpen" in a control [message #24147 is a reply to message #24146] Tue, 29 December 2009 11:31 Go to previous messageGo to previous message
dolik.rce is currently offline  dolik.rce
Messages: 1789
Registered: August 2008
Location: Czech Republic
Ultimate Contributor

Hi Koldo,

I'm still not sure where's the problem Smile The code you posted just works for me. See the attached diffs. I just added BackgroundFill and BackgroundFit options.

By the way: Why don't you use Painter for this? It would give user much more possibilities if SetFit took as an argument FILL_[H|V](PAD|REPEAT|REFLECT) and actually it would simplify the code a lot (e.g. that switch in Paint() would be unnecessary).

Best regards,
Honza
 
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: How to mix use widgets and win32 window in u++?
Next Topic: Additon to SliderCtrl: Jump
Goto Forum:
  


Current Time: Tue May 21 19:31:05 CEST 2024

Total time taken to generate the page: 0.01326 seconds