Click here to Skip to main content
15,896,154 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to get a sub-member's pointer Pin
Brian Delahunty14-Jun-03 0:39
Brian Delahunty14-Jun-03 0:39 
GeneralRe: How to get a sub-member's pointer Pin
FlyingDancer14-Jun-03 1:12
FlyingDancer14-Jun-03 1:12 
GeneralRe: How to get a sub-member's pointer Pin
Brian Delahunty14-Jun-03 1:21
Brian Delahunty14-Jun-03 1:21 
GeneralFONT Pin
Anthony988713-Jun-03 13:24
Anthony988713-Jun-03 13:24 
QuestionHow to sync folders over the internet? Pin
IGx8913-Jun-03 12:59
IGx8913-Jun-03 12:59 
AnswerRe: How to sync folders over the internet? Pin
valikac13-Jun-03 15:12
valikac13-Jun-03 15:12 
AnswerRe: How to sync folders over the internet? Pin
Brian Delahunty14-Jun-03 0:30
Brian Delahunty14-Jun-03 0:30 
GeneralSearch Algorithims Pin
Steven M Hunt13-Jun-03 12:21
Steven M Hunt13-Jun-03 12:21 
What's wrong with this function i used to find text in an edit control? I don't understand, it should work:
//CFindReplaceDialog FindDlg pre-defined
if (FindDlg->FindNext())
{
CString data;
GetDlgItemText(IDD_EDIT, data);
int FindIndex = data.Find(_T(FindDlg->GetFindString()), FindStart);//int FindStart global variable
if (FindIndex > -1)
{
FindStart = FindIndex + FindDlg->GetFindString().GetLength();
CEdit *edit = (CEdit *) GetDlgItem(IDD_EDIT);
MessageBox("testing...");
edit->SetSel(FindIndex, FindStart, FALSE);
}
else
{
MessageBox("The text you entered was not found.", "Text not found", MB_ICONINFORMATION);
}
}

What could be wrong with this code?

-- Steve
GeneralRe: Search Algorithims Pin
Ryan Binns14-Jun-03 1:42
Ryan Binns14-Jun-03 1:42 
GeneralRe: Search Algorithims Pin
Steven M Hunt14-Jun-03 7:52
Steven M Hunt14-Jun-03 7:52 
GeneralProblem with CreateWindowEx(..)! Please Help! Pin
nutkase13-Jun-03 12:16
nutkase13-Jun-03 12:16 
GeneralChanging View of CFormView derived class at runtime Pin
JaisonCodeMan13-Jun-03 11:37
JaisonCodeMan13-Jun-03 11:37 
GeneralRe: Changing View of CFormView derived class at runtime Pin
abc87613-Jun-03 13:01
abc87613-Jun-03 13:01 
GeneralRe: Changing View of CFormView derived class at runtime Pin
abc87613-Jun-03 13:02
abc87613-Jun-03 13:02 
GeneralRe: Changing View of CFormView derived class at runtime Pin
JaisonCodeMan16-Jun-03 20:32
JaisonCodeMan16-Jun-03 20:32 
GeneralRe: Changing View of CFormView derived class at runtime Pin
abc87621-Jun-03 10:22
abc87621-Jun-03 10:22 
Generaltitle Pin
aguest13-Jun-03 11:23
aguest13-Jun-03 11:23 
GeneralRe: title Pin
abc87613-Jun-03 11:39
abc87613-Jun-03 11:39 
GeneralRe: title Pin
adamUK14-Jun-03 11:53
adamUK14-Jun-03 11:53 
GeneralNetwork TCP conenction monitoring!! Pin
abc87613-Jun-03 11:21
abc87613-Jun-03 11:21 
General& Pin
albean13-Jun-03 10:40
albean13-Jun-03 10:40 
GeneralRe: & Pin
David Crow13-Jun-03 10:46
David Crow13-Jun-03 10:46 
GeneralRe: & Pin
Michael Dunn13-Jun-03 14:29
sitebuilderMichael Dunn13-Jun-03 14:29 
GeneralRe: & Pin
Atlantys13-Jun-03 19:05
Atlantys13-Jun-03 19:05 
GeneralDLL and CBitmap Pin
Bert Tuyt13-Jun-03 10:32
Bert Tuyt13-Jun-03 10:32 

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.