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 #24155 is a reply to message #24154] Tue, 29 December 2009 18:11 Go to previous message
koldo is currently offline  koldo
Messages: 3464
Registered: August 2008
Senior Veteran
Hello Mirek

Thank you. Yes, perhaps the better solution is to modify the window, or the StaticRect where the child StaticImage belongs.

As I did not want to change StaticRect, I think the StaticImage::Layout option is enough clean and does not force to change CtrlLib code.

Of course no problem if StaticRect is changed to add a Background(Image) method. Please care that perhaps the background image can have different fit options (as Honza has indicated).

Best regards
Koldo


Best regards
IƱaki
 
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 17:21:17 GMT+2 2026

Total time taken to generate the page: 0.01330 seconds