Click here to Skip to main content
12,395,117 members (56,433 online)

C / C++ / MFC

 
GeneralRe: need code to check if the value is numeric in C Pin
Richard MacCutchan4-Oct-12 7:53
mvpRichard MacCutchan4-Oct-12 7:53 
AnswerRe: need code to check if the value is numeric in C Pin
CPallini4-Oct-12 9:48
mvpCPallini4-Oct-12 9:48 
QuestionRe: need code to check if the value is numeric in C Pin
DavidCrow4-Oct-12 9:55
memberDavidCrow4-Oct-12 9:55 
AnswerRe: need code to check if the value is numeric in C Pin
Richard MacCutchan4-Oct-12 21:37
mvpRichard MacCutchan4-Oct-12 21:37 
GeneralRe: need code to check if the value is numeric in C Pin
Mikerush75-Oct-12 8:30
memberMikerush75-Oct-12 8:30 
AnswerRe: need code to check if the value is numeric in C Pin
C Mahesh8-Oct-12 22:24
memberC Mahesh8-Oct-12 22:24 
Questioni want any code to make project Pin
emanalshboul3-Oct-12 12:54
memberemanalshboul3-Oct-12 12:54 
AnswerRe: i want any code to make project Pin
Peter_in_27803-Oct-12 13:48
memberPeter_in_27803-Oct-12 13:48 
AnswerRe: i want any code to make project Pin
Mohibur Rashid3-Oct-12 18:55
memberMohibur Rashid3-Oct-12 18:55 
QuestionRe: i want any code to make project Pin
DavidCrow4-Oct-12 2:51
memberDavidCrow4-Oct-12 2:51 
AnswerRe: i want any code to make project Pin
Richard MacCutchan4-Oct-12 4:30
mvpRichard MacCutchan4-Oct-12 4:30 
Questionstatic text boxes and using the wizard to initialize a variable Pin
AndrewG12313-Oct-12 11:46
memberAndrewG12313-Oct-12 11:46 
AnswerRe: static text boxes and using the wizard to initialize a variable Pin
Mohibur Rashid3-Oct-12 18:51
memberMohibur Rashid3-Oct-12 18:51 
AnswerRe: static text boxes and using the wizard to initialize a variable Pin
«_Superman_»3-Oct-12 19:04
member«_Superman_»3-Oct-12 19:04 
The Add Variable wizard does not support what you want to do.
However, you can add the variables manually to get at what you're trying to do.

For the first text box, right click and select Add Variable.
Then select the datatype as int and enter the name of the variable as m_chan.

After this, open the dialog header file and change the member variable from int m_chan; to int m_chan[8];.

Now open the dialog source file and make the following changes -

At the dialog constructor remove the line , m_chan(0).

In the DoDataExchange function, remove the line DDX_Text(pDX, IDC_EDIT1, m_chan); and add the following lines -
DDX_Text(pDX, IDC_EDIT1, m_chan[0]);
DDX_Text(pDX, IDC_EDIT2, m_chan[1]);
DDX_Text(pDX, IDC_EDIT3, m_chan[2]);
DDX_Text(pDX, IDC_EDIT4, m_chan[3]);
DDX_Text(pDX, IDC_EDIT5, m_chan[4]);
DDX_Text(pDX, IDC_EDIT6, m_chan[5]);
DDX_Text(pDX, IDC_EDIT7, m_chan[6]);
DDX_Text(pDX, IDC_EDIT8, m_chan[7]);

Here, replace the IDs of the edit boxes to the appropriate IDs.
«_Superman 
I love work. It gives me something to do between weekends.


Microsoft MVP (Visual C++)

Polymorphism in C

AnswerRe: static text boxes and using the wizard to initialize a variable Pin
Marius Bancila4-Oct-12 0:41
memberMarius Bancila4-Oct-12 0:41 
Questionneed help with client server Pin
aajibade3-Oct-12 6:45
memberaajibade3-Oct-12 6:45 
AnswerRe: need help with client server Pin
DavidCrow3-Oct-12 6:53
memberDavidCrow3-Oct-12 6:53 
QuestionHow to create C++/CLI Interface to access .net API from C++ code? Pin
litu kumar3-Oct-12 2:14
memberlitu kumar3-Oct-12 2:14 
AnswerCrosspost Pin
Peter_in_27803-Oct-12 2:24
memberPeter_in_27803-Oct-12 2:24 
GeneralRe: Crosspost Pin
litu kumar3-Oct-12 2:30
memberlitu kumar3-Oct-12 2:30 
GeneralRe: Crosspost Pin
Richard MacCutchan3-Oct-12 2:32
mvpRichard MacCutchan3-Oct-12 2:32 
GeneralRe: Crosspost Pin
Peter_in_27803-Oct-12 2:48
memberPeter_in_27803-Oct-12 2:48 
GeneralRe: Crosspost Pin
DavidCrow3-Oct-12 3:19
memberDavidCrow3-Oct-12 3:19 
GeneralRe: Crosspost Pin
Richard MacCutchan3-Oct-12 4:35
mvpRichard MacCutchan3-Oct-12 4:35 
AnswerRe: How to create C++/CLI Interface to access .net API from C++ code? Pin
jschell3-Oct-12 10:26
memberjschell3-Oct-12 10:26 
Questioncan you help me Pin
emanalshboul2-Oct-12 11:23
memberemanalshboul2-Oct-12 11:23 
AnswerRe: can you help me Pin
Richard Andrew x642-Oct-12 11:42
memberRichard Andrew x642-Oct-12 11:42 
AnswerRe: can you help me Pin
Joan Murt2-Oct-12 23:18
memberJoan Murt2-Oct-12 23:18 
QuestionRe: can you help me Pin
DavidCrow3-Oct-12 2:28
memberDavidCrow3-Oct-12 2:28 
QuestionGet all substrings from an application Pin
Brandon T. H.1-Oct-12 3:43
memberBrandon T. H.1-Oct-12 3:43 
AnswerRe: Get all substrings from an application Pin
pasztorpisti1-Oct-12 4:18
memberpasztorpisti1-Oct-12 4:18 
GeneralRe: Get all substrings from an application Pin
Brandon T. H.3-Oct-12 8:34
memberBrandon T. H.3-Oct-12 8:34 
GeneralRe: Get all substrings from an application Pin
pasztorpisti3-Oct-12 10:26
memberpasztorpisti3-Oct-12 10:26 
QuestionRe: Get all substrings from an application [OT] Pin
DavidCrow1-Oct-12 6:27
memberDavidCrow1-Oct-12 6:27 
GeneralRe: Get all substrings from an application [OT] Pin
pasztorpisti1-Oct-12 8:52
memberpasztorpisti1-Oct-12 8:52 
AnswerRe: Get all substrings from an application [OT] Pin
Brandon T. H.3-Oct-12 8:38
memberBrandon T. H.3-Oct-12 8:38 
AnswerRe: Get all substrings from an application Pin
CPallini1-Oct-12 10:33
mvpCPallini1-Oct-12 10:33 
JokeRe: Get all substrings from an application Pin
Chris Meech1-Oct-12 13:11
memberChris Meech1-Oct-12 13:11 
JokeRe: Get all substrings from an application Pin
CPallini1-Oct-12 21:10
mvpCPallini1-Oct-12 21:10 
JokeRe: Get all substrings from an application Pin
Joan Murt2-Oct-12 23:22
memberJoan Murt2-Oct-12 23:22 
GeneralRe: Get all substrings from an application Pin
CPallini2-Oct-12 23:25
mvpCPallini2-Oct-12 23:25 
QuestionHow to get a C++ console application run in a terminal/powershell type of environment? Pin
infectedprof30-Sep-12 13:53
memberinfectedprof30-Sep-12 13:53 
AnswerRe: How to get a C++ console application run in a terminal/powershell type of environment? Pin
Rajesh R Subramanian30-Sep-12 21:39
memberRajesh R Subramanian30-Sep-12 21:39 
AnswerRe: How to get a C++ console application run in a terminal/powershell type of environment? Pin
jschell1-Oct-12 8:59
memberjschell1-Oct-12 8:59 
GeneralRe: How to get a C++ console application run in a terminal/powershell type of environment? Pin
infectedprof1-Oct-12 16:16
memberinfectedprof1-Oct-12 16:16 
GeneralRe: How to get a C++ console application run in a terminal/powershell type of environment? Pin
jschell2-Oct-12 8:38
memberjschell2-Oct-12 8:38 
AnswerRe: How to get a C++ console application run in a terminal/powershell type of environment? Pin
Richard MacCutchan1-Oct-12 21:25
mvpRichard MacCutchan1-Oct-12 21:25 
GeneralRe: How to get a C++ console application run in a terminal/powershell type of environment? Pin
infectedprof1-Oct-12 21:48
memberinfectedprof1-Oct-12 21:48 
GeneralRe: How to get a C++ console application run in a terminal/powershell type of environment? Pin
Richard MacCutchan2-Oct-12 2:51
mvpRichard MacCutchan2-Oct-12 2:51 
Questionproblem Pin
emanalshboul30-Sep-12 9:42
memberemanalshboul30-Sep-12 9:42 

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 | Mobile
Web01 | 2.8.160721.1 | Last Updated 23 Jul 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid