Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Tuesday, May 2, 2006 8:05:31 AM(UTC)
jljamison

Groups: Registered
Posts: 19


What is the usual procedure for resizing an image list control?  I
have one embedded in a dialog and need to resize its dimensions during a window OnSize message/event.

Thanks

John jamison
 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#2 Posted : Wednesday, May 3, 2006 11:46:08 PM(UTC)

Bashar  
Guest

Groups: Guests
Posts: 3,022

Was thanked: 2 time(s) in 2 post(s)

You can just set the Width and Height properties to the required values.
 
#3 Posted : Wednesday, May 10, 2006 9:58:16 AM(UTC)
jljamison

Groups: Registered
Posts: 19



I see no Width or Height properties on LImageListControl...


I did get this working by getting the image list control's window rect,
performing ScreenToClient(), updating the width and height, and setting
the rectangle to the Image List Control's m_hWnd attribute.  Is that what you mean?
 
#4 Posted : Saturday, May 13, 2006 11:40:58 PM(UTC)

Bashar  
Guest

Groups: Guests
Posts: 3,022

Was thanked: 2 time(s) in 2 post(s)

Well, those properties are not exactly part of the control; they are
added by the development environment.  It is possible that your IDE does not add them.  In any case, what you are doing is correct.

 
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2024, Yet Another Forum.NET
This page was generated in 0.051 seconds.