Click here to Skip to main content
15,906,558 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: An easy one for you pro's... Pin
Brent Lamborn5-Dec-02 5:05
Brent Lamborn5-Dec-02 5:05 
GeneralRe: An easy one for you pro's... Pin
Christian Graus5-Dec-02 6:38
protectorChristian Graus5-Dec-02 6:38 
GeneralRe: An easy one for you pro's... Pin
Brent Lamborn5-Dec-02 7:16
Brent Lamborn5-Dec-02 7:16 
GeneralRe: An easy one for you pro's... Pin
Christian Graus5-Dec-02 7:30
protectorChristian Graus5-Dec-02 7:30 
GeneralRe: An easy one for you pro's... Pin
Brent Lamborn5-Dec-02 9:30
Brent Lamborn5-Dec-02 9:30 
GeneralRe: An easy one for you pro's... Pin
Christian Graus5-Dec-02 9:39
protectorChristian Graus5-Dec-02 9:39 
GeneralHelp with an Array of Controls and message maps Pin
VanHlebar4-Dec-02 13:47
VanHlebar4-Dec-02 13:47 
GeneralRe: Help with an Array of Controls and message maps Pin
Roger Allen5-Dec-02 1:27
Roger Allen5-Dec-02 1:27 
You should be able to do this with the DDX mechanism. You need to add the entries to map them manually:

//{{AFX_DATA_MAP(CRefineTab)
DDX_Control(pDX, IDC_DROP_GRAPHS, m_DropGraphs);
DDX_Control(pDX, IDC_RESULTS, m_lcResults);
DDX_Control(pDX, IDC_PKA_LIST, m_lcpKaList);
DDX_Control(pDX, IDC_GRAPH, m_YSExtrapolation);
//}}AFX_DATA_MAP
for (int i = 0 ; i < number_of_controls ; i++)
    {
    DDX_Control(pDX, IDC_OF_FIRST_STATIC + i, m_cStaticArray[i]);
    }

Just don't put your code inside the AFX_DATA_MAP tags otherwise class wizard will complain.



Roger Allen
Sonork 100.10016

In case you're worried about what's going to become of the younger generation, it's going to grow up and start worrying about the younger generation. - Roger Allen, but not me!
GeneralRe: Help with an Array of Controls and message maps Pin
VanHlebar5-Dec-02 1:48
VanHlebar5-Dec-02 1:48 
GeneralRe: Help with an Array of Controls and message maps Pin
Roger Allen5-Dec-02 3:13
Roger Allen5-Dec-02 3:13 
GeneralRe: Help with an Array of Controls and message maps Pin
VanHlebar5-Dec-02 11:07
VanHlebar5-Dec-02 11:07 
GeneralChanging the toolbar Pin
Rand Al'thor4-Dec-02 12:40
Rand Al'thor4-Dec-02 12:40 
GeneralRe: Changing the toolbar Pin
Rand Al'thor4-Dec-02 15:23
Rand Al'thor4-Dec-02 15:23 
GeneralAdd grid control to a dialog Pin
peter ho4-Dec-02 12:35
peter ho4-Dec-02 12:35 
GeneralRe: Add grid control to a dialog Pin
Christian Graus4-Dec-02 15:29
protectorChristian Graus4-Dec-02 15:29 
GeneralRe: Add grid control to a dialog Pin
Kannan Kalyanaraman4-Dec-02 19:18
Kannan Kalyanaraman4-Dec-02 19:18 
GeneralDisabled Pin
Larsson4-Dec-02 12:29
Larsson4-Dec-02 12:29 
GeneralRe: Disabled Pin
tongc4-Dec-02 14:34
tongc4-Dec-02 14:34 
GeneralRe: Disabled Pin
Larsson5-Dec-02 4:03
Larsson5-Dec-02 4:03 
QuestionUtility to scan for unused headers? Pin
Andrew Welch4-Dec-02 12:22
Andrew Welch4-Dec-02 12:22 
GeneralCDatabase Pin
MFC is the Best4-Dec-02 12:03
MFC is the Best4-Dec-02 12:03 
Generalcreating CPropertyPages Pin
mariuszpopiolek4-Dec-02 11:37
mariuszpopiolek4-Dec-02 11:37 
Generalpassing an iterator Pin
Member 1043934-Dec-02 11:34
Member 1043934-Dec-02 11:34 
GeneralRe: passing an iterator Pin
Christian Graus4-Dec-02 11:48
protectorChristian Graus4-Dec-02 11:48 
GeneralRe: passing an iterator Pin
Member 1043934-Dec-02 12:10
Member 1043934-Dec-02 12: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.