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 resize an ImageCtrl to fit the Image?
How to resize an ImageCtrl to fit the Image? [message #5549] Mon, 02 October 2006 16:17 Go to previous message
James Thomas is currently offline  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

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Exception,how to find where?
Next Topic: Problem with ColumnList (with example) [BUG/FIXED]
Goto Forum:
  


Current Time: Sat May 11 06:41:24 CEST 2024

Total time taken to generate the page: 0.01906 seconds