Click here to Skip to main content
15,914,010 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Help needed Pin
David Crow7-May-07 3:23
David Crow7-May-07 3:23 
GeneralRe: Help needed Pin
pankaj0dm7-May-07 3:27
pankaj0dm7-May-07 3:27 
GeneralRe: Help needed Pin
toxcct7-May-07 3:33
toxcct7-May-07 3:33 
GeneralRe: Help needed Pin
pankaj0dm7-May-07 3:48
pankaj0dm7-May-07 3:48 
QuestionRe: Help needed Pin
David Crow7-May-07 3:37
David Crow7-May-07 3:37 
AnswerRe: Help needed Pin
pankaj0dm7-May-07 4:01
pankaj0dm7-May-07 4:01 
QuestionRe: Help needed Pin
David Crow7-May-07 4:11
David Crow7-May-07 4:11 
AnswerRe: Help needed Pin
James R. Twine7-May-07 3:33
James R. Twine7-May-07 3:33 
   Not sure why this is happening in the first place, but I have had a similar problem when saving/restoring a window's or dialog's geometry after the user changed fonts/resolutions.

   My solution was to find the corner-most control(s) and get their RECTs when WM_INITDIALOG is processed.  That will allow you to determine the minimum dialog size required to completely show all of the controls.  You can also use that information to prevent the user from sizing the dialog too small.

   Peace!

-=- James
Please rate this message - let me know if I helped or not!<HR>If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong!
Avoid driving a vehicle taller than you and remember that Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road!
See DeleteFXPFiles

GeneralRe: Help needed Pin
pankaj0dm7-May-07 3:50
pankaj0dm7-May-07 3:50 
QuestionRe: Help needed Pin
David Crow7-May-07 3:57
David Crow7-May-07 3:57 
QuestionKill a thread Pin
deeps_cute7-May-07 3:16
deeps_cute7-May-07 3:16 
AnswerRe: Kill a thread Pin
James R. Twine7-May-07 3:19
James R. Twine7-May-07 3:19 
GeneralRe: Kill a thread Pin
Arman S.7-May-07 3:31
Arman S.7-May-07 3:31 
GeneralRe: Kill a thread Pin
James R. Twine7-May-07 3:34
James R. Twine7-May-07 3:34 
GeneralRe: Kill a thread Pin
Arman S.7-May-07 3:39
Arman S.7-May-07 3:39 
GeneralRe: Kill a thread Pin
James R. Twine7-May-07 4:19
James R. Twine7-May-07 4:19 
GeneralRe: Kill a thread Pin
David Crow7-May-07 3:39
David Crow7-May-07 3:39 
AnswerRe: Kill a thread Pin
Sam_c7-May-07 5:44
Sam_c7-May-07 5:44 
QuestionStatic button with bitmap Pin
prathuraj7-May-07 2:39
prathuraj7-May-07 2:39 
AnswerRe: Static button with bitmap Pin
David Crow7-May-07 3:22
David Crow7-May-07 3:22 
AnswerRe: Static button with bitmap Pin
Hans Dietrich7-May-07 3:23
mentorHans Dietrich7-May-07 3:23 
QuestionC2065 Error Pin
subramanyeswari7-May-07 2:16
subramanyeswari7-May-07 2:16 
AnswerRe: C2065 Error Pin
toxcct7-May-07 2:20
toxcct7-May-07 2:20 
GeneralRe: C2065 Error Pin
subramanyeswari7-May-07 22:14
subramanyeswari7-May-07 22:14 
GeneralRe: C2065 Error Pin
toxcct8-May-07 0:23
toxcct8-May-07 0:23 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.