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?
Re: How to resize an ImageCtrl to fit the Image? [message #5630 is a reply to message #5625] Fri, 06 October 2006 16:23 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14261
Registered: November 2005
Ultimate Member
I am not sure whether this is the cause, but GetRect and SetRect are not always "equivalent".

SetRect in fact is helper function that calls LeftPos(x, cx).TopPos(y, cy).

Meanwhile, GetRect returns actual "physical" coordinates.

Maybe that is the cause? (It would be if your widget has other placement than LeftPos / TopPos).
 
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: Fri Jun 06 11:08:14 CEST 2025

Total time taken to generate the page: 0.04371 seconds