Click here to Skip to main content
16,010,650 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralOpenGL Pin
Rajveer26-Feb-02 7:22
Rajveer26-Feb-02 7:22 
GeneralRe: OpenGL Pin
Simon Walton26-Feb-02 8:06
Simon Walton26-Feb-02 8:06 
GeneralVisual C++ Workspace style dialog bar Pin
Aaron Schaefer26-Feb-02 6:38
Aaron Schaefer26-Feb-02 6:38 
GeneralRe: Visual C++ Workspace style dialog bar Pin
Derek Waters26-Feb-02 11:04
Derek Waters26-Feb-02 11:04 
GeneralRe: Visual C++ Workspace style dialog bar Pin
Aaron Schaefer26-Feb-02 11:07
Aaron Schaefer26-Feb-02 11:07 
Generalbeing awkward with dialogues again... Pin
Trollslayer26-Feb-02 6:13
mentorTrollslayer26-Feb-02 6:13 
GeneralRe: being awkward with dialogues again... Pin
Nish Nishant26-Feb-02 7:02
sitebuilderNish Nishant26-Feb-02 7:02 
GeneralRe: being awkward with dialogues again... Pin
alex.barylski26-Feb-02 7:02
alex.barylski26-Feb-02 7:02 
Trollslayer wrote:
I assume the problem is related to the parent value, but any ideas ????

I'm not sure I understand you here...however

If the number of controls required is ambiguous then I would suggest using a dynamic array of controls and calling there Create function.

If your only concerned with dialog boxes and the number of controls required is known you could:

1) Load the control(s) from a resource dynamically
2) Use a static array and call it's Create functions

The first method is probaly easier. I'm not sure from experience standpoint, but i'm thinking you could probably fill the dialog data structures yerself and make the calls to CreateDialogIndirect(). This would allow you to load a custom external file with the controls and positions and create the controls dynamically this way.

Cheers!

"An expert is someone who has made all the mistakes in his or her field" - Niels Bohr
QuestionHow can I define a new interface using ATL ????? Pin
Braulio Dez26-Feb-02 5:32
Braulio Dez26-Feb-02 5:32 
AnswerRe: How can I define a new interface using ATL ????? Pin
Carlos Antollini26-Feb-02 5:49
Carlos Antollini26-Feb-02 5:49 
GeneralRe: How can I define a new interface using ATL ????? Pin
Braulio Dez26-Feb-02 6:37
Braulio Dez26-Feb-02 6:37 
GeneralRe: How can I define a new interface using ATL ????? Pin
Carlos Antollini26-Feb-02 8:35
Carlos Antollini26-Feb-02 8:35 
GeneralSAFEARRAY UDT and connection points Pin
26-Feb-02 4:41
suss26-Feb-02 4:41 
GeneralRe: SAFEARRAY UDT and connection points Pin
Bill Wilson26-Feb-02 6:21
Bill Wilson26-Feb-02 6:21 
GeneralDestructor Question... Pin
CDuddley26-Feb-02 3:48
CDuddley26-Feb-02 3:48 
GeneralRe: Destructor Question... Pin
Joaquín M López Muñoz26-Feb-02 3:56
Joaquín M López Muñoz26-Feb-02 3:56 
GeneralRe: Destructor Question... Pin
Ravi Bhavnani26-Feb-02 4:02
professionalRavi Bhavnani26-Feb-02 4:02 
GeneralBeginPath() Pin
Mazdak26-Feb-02 3:10
Mazdak26-Feb-02 3:10 
GeneralRe: BeginPath() Pin
Tim Smith26-Feb-02 3:13
Tim Smith26-Feb-02 3:13 
GeneralEject media with Interrupt 21h Pin
radix26-Feb-02 2:54
radix26-Feb-02 2:54 
GeneralRe: Eject media with Interrupt 21h Pin
Jon Hulatt26-Feb-02 4:11
Jon Hulatt26-Feb-02 4:11 
GeneralRe: Eject media with Interrupt 21h Pin
Nish Nishant26-Feb-02 5:52
sitebuilderNish Nishant26-Feb-02 5:52 
GeneralOpenGL with MDI Pin
Rajveer26-Feb-02 2:40
Rajveer26-Feb-02 2:40 
GeneralMDI AppBar reposition problem Pin
26-Feb-02 2:40
suss26-Feb-02 2:40 
GeneralScreen DC to Bitmap Pin
Flatline26-Feb-02 1:10
Flatline26-Feb-02 1:10 

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.