Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Controls
  New Posts New Posts RSS Feed - Autofit Dialog ?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Autofit Dialog ?

 Post Reply Post Reply
Author
Message
kanitamildasan View Drop Down
Senior Member
Senior Member
Avatar

Joined: 01 February 2006
Status: Offline
Points: 102
Post Options Post Options   Thanks (0) Thanks(0)   Quote kanitamildasan Quote  Post ReplyReply Direct Link To This Post Topic: Autofit Dialog ?
    Posted: 28 March 2009 at 12:59am
Hi,

Is it possible to fit the dialog to the right size using CXTResizeXXX classes before shown on screen when the static(label) has long string.

For example in this dialog if Hue,Sat,Lum,Red,Blue,Green has longer string which i set at runtime.

Thanks


Back to Top
znakeeye View Drop Down
Senior Member
Senior Member
Avatar

Joined: 26 July 2006
Status: Offline
Points: 1672
Post Options Post Options   Thanks (0) Thanks(0)   Quote znakeeye Quote  Post ReplyReply Direct Link To This Post Posted: 06 April 2009 at 4:43am
Obviously the static-control needs to be larger. The resource should be changed.
 
I doubt automatical resizing is desirable.
PokerMemento - http://www.pokermemento.com/
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.156 seconds.