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

C / C++ / MFC

 
QuestionHelp - Additional Segments Need to be defined ??? Pin
alien0016-Feb-04 1:00
alien0016-Feb-04 1:00 
AnswerRe: Help - Additional Segments Need to be defined ??? Pin
David Crow6-Feb-04 2:41
David Crow6-Feb-04 2:41 
GeneralRe: Help - Additional Segments Need to be defined ??? Pin
alien0016-Feb-04 3:33
alien0016-Feb-04 3:33 
GeneralRe: Help - Additional Segments Need to be defined ??? Pin
David Crow6-Feb-04 4:12
David Crow6-Feb-04 4:12 
GeneralRe: Help - Additional Segments Need to be defined ??? Pin
Anonymous6-Feb-04 4:17
Anonymous6-Feb-04 4:17 
GeneralRe: Help - Additional Segments Need to be defined ??? Pin
David Crow6-Feb-04 4:32
David Crow6-Feb-04 4:32 
GeneralMFC Pin
Mohannadfx6-Feb-04 0:43
Mohannadfx6-Feb-04 0:43 
GeneralRe: MFC Pin
фил6-Feb-04 0:59
фил6-Feb-04 0:59 
void CYourDialog::OnButtonEnterDlgNum(void)
{
char lpBuffer[256];
m_YourEditCtrl.GetWindowText(lpBuffer, 255);

// you could also use this
// GetDlgItem(IDC_YOUREDITCTRL)->GetWindowText(lpBuffer, 255);

int iMax = atoi(lpBuffer);
CEdit *ceEdit;
for(int i = 0; i < m_yourint = iMax; i++)
{
ceEdit = new CEdit;
ceEdit.Create(0/* your styles */, CRect(0, 0, 0, 0) /* your rect */, m_YourSecondDlg /* the CWnd object of your 2 dialog */, IDC_ID + i /* your ID (must be unique!)*/);
}
}


hope this helps

Я люблю русский язикь!
QuestionWhich recordset to use CRecordset or CDaoRecordset with Ms Access database? Pin
d01530306-Feb-04 0:19
sussd01530306-Feb-04 0:19 
AnswerRe: Which recordset to use CRecordset or CDaoRecordset with Ms Access database? Pin
David Crow6-Feb-04 2:49
David Crow6-Feb-04 2:49 
GeneralSetMenuItemInfo &amp; SysTray Pin
Victor19785-Feb-04 23:56
Victor19785-Feb-04 23:56 
QuestionChanging paper size - how??? Pin
Anonymous5-Feb-04 23:32
Anonymous5-Feb-04 23:32 
AnswerSorry about double post Pin
Anonymous5-Feb-04 23:36
Anonymous5-Feb-04 23:36 
AnswerRe: Changing paper size - how??? Pin
CodeBrain6-Feb-04 0:33
CodeBrain6-Feb-04 0:33 
GeneralRe: Changing paper size - how??? Pin
Anonymous7-Mar-04 21:48
Anonymous7-Mar-04 21:48 
GeneralChanging paper size Pin
Anonymous5-Feb-04 23:32
Anonymous5-Feb-04 23:32 
GeneralRe: Changing paper size Pin
Robert A. T. Káldy7-Feb-04 21:58
Robert A. T. Káldy7-Feb-04 21:58 
GeneralRe: Changing paper size Pin
Anonymous7-Mar-04 21:42
Anonymous7-Mar-04 21:42 
QuestionRecordset requery and movelast problem? Pin
d01530305-Feb-04 23:24
sussd01530305-Feb-04 23:24 
AnswerRe: Recordset requery and movelast problem? Pin
David Crow6-Feb-04 4:06
David Crow6-Feb-04 4:06 
GeneralOverloading operator new Pin
RichardS5-Feb-04 23:04
RichardS5-Feb-04 23:04 
GeneralRe: Overloading operator new Pin
фил6-Feb-04 1:24
фил6-Feb-04 1:24 
GeneralRe: Overloading operator new Pin
Tim Smith6-Feb-04 4:20
Tim Smith6-Feb-04 4:20 
GeneralRe: Overloading operator new Pin
Tim Smith6-Feb-04 4:17
Tim Smith6-Feb-04 4:17 
GeneralGraphics in Visual C++ Pin
chadell5-Feb-04 23:01
chadell5-Feb-04 23:01 

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.