Click here to Skip to main content
16,004,944 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
JokeRe: Ctrl Alt F4 Pin
vijay_aroli29-Apr-08 20:48
vijay_aroli29-Apr-08 20:48 
JokeRe: Ctrl Alt F4 Pin
Nelek29-Apr-08 23:12
protectorNelek29-Apr-08 23:12 
QuestionGet only focus( text should not be selected ) on MDI child while opening dynamically Pin
Member 453851029-Apr-08 12:13
Member 453851029-Apr-08 12:13 
AnswerRe: Get only focus( text should not be selected ) on MDI child while opening dynamically Pin
Member 453851029-Apr-08 15:31
Member 453851029-Apr-08 15:31 
AnswerRe: Get only focus( text should not be selected ) on MDI child while opening dynamically Pin
Yusuf29-Apr-08 15:31
Yusuf29-Apr-08 15:31 
GeneralRe: Get only focus( text should not be selected ) on MDI child while opening dynamically Pin
Member 453851029-Apr-08 15:40
Member 453851029-Apr-08 15:40 
QuestionHow to implement a dynamic panel of controls in MFC Pin
C0mendador29-Apr-08 11:24
C0mendador29-Apr-08 11:24 
AnswerRe: How to implement a dynamic panel of controls in MFC Pin
Christopher Duncan29-Apr-08 16:02
Christopher Duncan29-Apr-08 16:02 
There might be a nice, clean resource file way to do this, but over the years when I've been faced with such a task, I ended up writing the code by hand in the dialog class. By that I mean that I dynamically allocated the CButton, CEdit and such controls, and then set their position / hid them / displayed them / etc. in code.

One method I used was a group box control that was always visible, i.e. your bottom panel, which gave me a relative reference point to use in positioning the other controls. It's maintainable, but frankly it was never something I was proud of. However, there's always these darned deadlines, and it got the job done.

I don't know if this is the sort of thing you're looking for or not (and there may be more elegant solutions), but it's at least one option open to you.

Hope this helps,


Christopher Duncan
Author of
The Career Programmer and Unite the Tribes
Coming soon: Got a career question? Ask the Attack Chihuahua!
www.PracticalUSA.com

AnswerRe: How to implement a dynamic panel of controls in MFC Pin
Rajkumar R29-Apr-08 21:20
Rajkumar R29-Apr-08 21:20 
Questionhelp with win32 Pin
worldwarIIfanatic29-Apr-08 10:44
worldwarIIfanatic29-Apr-08 10:44 
AnswerRe: help with win32 Pin
Saurabh.Garg29-Apr-08 16:12
Saurabh.Garg29-Apr-08 16:12 
AnswerRe: help with win32 Pin
CPallini29-Apr-08 21:24
mveCPallini29-Apr-08 21:24 
AnswerRe: help with win32 Pin
Hamid_RT29-Apr-08 21:52
Hamid_RT29-Apr-08 21:52 
QuestionRe: help with win32 [modified] Pin
worldwarIIfanatic30-Apr-08 13:37
worldwarIIfanatic30-Apr-08 13:37 
QuestionRe: help with win32 Pin
worldwarIIfanatic5-May-08 13:34
worldwarIIfanatic5-May-08 13:34 
AnswerRe: help with win32 Pin
ninjanear22-May-08 7:57
professionalninjanear22-May-08 7:57 
QuestionCreating a linked list; need to know good practices. Pin
x87Bliss29-Apr-08 10:38
x87Bliss29-Apr-08 10:38 
AnswerRe: Creating a linked list; need to know good practices. Pin
Maximilien29-Apr-08 11:16
Maximilien29-Apr-08 11:16 
GeneralRe: Creating a linked list; need to know good practices. Pin
ninjanear21-May-08 3:15
professionalninjanear21-May-08 3:15 
QuestionHow to change keyboard typematic rate /delay (and led ind.) VC++/MFC? [modified] Pin
ninjanear29-Apr-08 10:05
professionalninjanear29-Apr-08 10:05 
QuestionRe: How to change typematic rate in keyboard? Pin
David Crow29-Apr-08 10:22
David Crow29-Apr-08 10:22 
AnswerRe: How to change typematic rate in keyboard? [modified] Pin
ninjanear20-May-08 23:07
professionalninjanear20-May-08 23:07 
QuestionHow do I customize the standard property sheet buttons Pin
si_6929-Apr-08 7:52
si_6929-Apr-08 7:52 
AnswerRe: How do I customize the standard property sheet buttons Pin
David Crow29-Apr-08 8:12
David Crow29-Apr-08 8:12 
AnswerRe: How do I customize the standard property sheet buttons Pin
Hamid_RT29-Apr-08 21:52
Hamid_RT29-Apr-08 21:52 

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.