Click here to Skip to main content
13,596,324 members

C / C++ / MFC

 
GeneralRe: Can I put a variable length array inside a struct somehow? Pin
arnold_w17-Oct-17 8:33
memberarnold_w17-Oct-17 8:33 
Questioninet error Pin
Member 1346819116-Oct-17 5:22
memberMember 1346819116-Oct-17 5:22 
GeneralRe: inet error Pin
Richard MacCutchan16-Oct-17 5:35
protectorRichard MacCutchan16-Oct-17 5:35 
QuestionMFC Activex Control Pin
Member 1278586415-Oct-17 20:53
memberMember 1278586415-Oct-17 20:53 
GeneralRe: MFC Activex Control Pin
Richard MacCutchan16-Oct-17 3:55
protectorRichard MacCutchan16-Oct-17 3:55 
GeneralRe: MFC Activex Control Pin
Member 1278586416-Oct-17 4:36
memberMember 1278586416-Oct-17 4:36 
GeneralRe: MFC Activex Control Pin
Richard MacCutchan16-Oct-17 5:37
protectorRichard MacCutchan16-Oct-17 5:37 
GeneralRe: MFC Activex Control Pin
leon de boer16-Oct-17 20:34
memberleon de boer16-Oct-17 20:34 
You can do it via the resource system, you can extend it to even deal with custom controls and even activeX ones.

Search "Win32 dialog template at runtime" it is fairly commonly done with dialog templates but you can do it with windows or anything else.
Essentially the WM_CREATE (OnCreate in MFC) loads the dialog template from a resource and you create the setup on the fly.
In vino veritas

GeneralRe: MFC Activex Control Pin
Member 1278586422-Oct-17 23:49
memberMember 1278586422-Oct-17 23:49 
GeneralRe: MFC Activex Control Pin
leon de boer25-Oct-17 9:18
memberleon de boer25-Oct-17 9:18 
QuestionTo arrange n numbers in descending order ? Pin
Tarun Jha13-Oct-17 9:02
memberTarun Jha13-Oct-17 9:02 
AnswerRe: To arrange n numbers in descending order ? Pin
jeron113-Oct-17 9:08
memberjeron113-Oct-17 9:08 
QuestionRe: To arrange n numbers in descending order ? Pin
David Crow13-Oct-17 16:06
memberDavid Crow13-Oct-17 16:06 
AnswerRe: To arrange n numbers in descending order ? Pin
Richard MacCutchan13-Oct-17 22:44
protectorRichard MacCutchan13-Oct-17 22:44 
AnswerRe: To arrange n numbers in descending order ? Pin
«_Superman_»15-Oct-17 18:02
professional«_Superman_»15-Oct-17 18:02 
AnswerRe: To arrange n numbers in descending order ? Pin
CPallini16-Oct-17 3:21
mvpCPallini16-Oct-17 3:21 
QuestionTo find biggest of n numbers ? Pin
Tarun Jha13-Oct-17 5:44
memberTarun Jha13-Oct-17 5:44 
AnswerRe: To find biggest of n numbers ? Pin
jschell13-Oct-17 5:56
memberjschell13-Oct-17 5:56 
GeneralRe: To find biggest of n numbers ? Pin
Tarun Jha13-Oct-17 6:02
memberTarun Jha13-Oct-17 6:02 
GeneralRe: To find biggest of n numbers ? Pin
jschell15-Oct-17 7:11
memberjschell15-Oct-17 7:11 
AnswerRe: To find biggest of n numbers ? Pin
Richard MacCutchan13-Oct-17 6:16
protectorRichard MacCutchan13-Oct-17 6:16 
GeneralRe: To find biggest of n numbers ? Pin
Tarun Jha13-Oct-17 6:22
memberTarun Jha13-Oct-17 6:22 
GeneralRe: To find biggest of n numbers ? Pin
jeron113-Oct-17 6:34
memberjeron113-Oct-17 6:34 
GeneralRe: To find biggest of n numbers ? Pin
Richard MacCutchan13-Oct-17 6:51
protectorRichard MacCutchan13-Oct-17 6:51 
GeneralRe: To find biggest of n numbers ? Pin
Tarun Jha13-Oct-17 7:14
memberTarun Jha13-Oct-17 7:14 

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.


Advertise | Privacy | Cookies | Terms of Service
Web01-2016 | 2.8.180621.3 | Last Updated 22 Jun 2018
Copyright © CodeProject, 1999-2018
All Rights Reserved.
Layout: fixed | fluid