U++ framework
Do not panic. Ask here before giving up.

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: 1796
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 Oct 20 21:27:09 GMT+2 2026

Total time taken to generate the page: 0.03446 seconds