Home » U++ Library support » U++ Widgets - General questions or Mixed problems » How to resize an ImageCtrl to fit the Image?
How to resize an ImageCtrl to fit the Image? [message #5549] |
Mon, 02 October 2006 16:17 |
James Thomas
Messages: 26 Registered: June 2006
|
Promising Member |
|
|
I'd like to be able to load an arbitary image into an ImageCtrl and set the size of control (inc. frames) to match the size of the image. I'd really like to do this while preserving the auto-layout set with the designer, so that if it's position was set with HLeftPos or HRightPos it keeps this behaviour.
Setting the Image is easy but I've tried resizing it using all of the obvious functions accessible in Ctrl but without any success. Is this possible? Am I missing something obvious?
Thanks in advance.
[Updated on: Mon, 02 October 2006 16:19] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Tue Jun 04 00:49:26 CEST 2024
Total time taken to generate the page: 0.02104 seconds
|