Click here to Skip to main content
16,011,530 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralThe memory could not be "read" error. Pin
RobJones26-Apr-01 7:35
RobJones26-Apr-01 7:35 
GeneralRe: The memory could not be Pin
26-Apr-01 7:55
suss26-Apr-01 7:55 
QuestionResource limit on Win9x? Pin
26-Apr-01 7:34
suss26-Apr-01 7:34 
Generalbitmap as dialog background Pin
26-Apr-01 5:48
suss26-Apr-01 5:48 
Generalmulti column tree view Pin
hearties26-Apr-01 0:00
hearties26-Apr-01 0:00 
GeneralRe: multi column tree view Pin
Daniel Ferguson26-Apr-01 10:55
Daniel Ferguson26-Apr-01 10:55 
GeneralProblem with CString Pin
25-Apr-01 23:24
suss25-Apr-01 23:24 
GeneralRe: Problem with CString Pin
Carlos Antollini26-Apr-01 4:56
Carlos Antollini26-Apr-01 4:56 
Okey, te sintax of Find is.
int Find(LPCTSTR str)
int Find(TCHAR ch)
Or
int Find(LPTSTR str, int nStart)
int Find(TCHAR ch, int nStart)

In the first two sintaxs Find search from the biginning.
In the Second two sintaxs Find search from the start position.

The Find always returns the position where found the first substring or character. if don't found the substring or character returns -1.

An Example:

CString str = _T("");

str = " Text to Search";

nPos = str.Find(32); //This search for the first " "
while(nPos != -1)
{
nPos = str.Find(32, nPos + 1);
}

This example will found the character 32 in the position 0, 5 and 8.
Wink | ;)

Carlos Antollini.
GeneralRe: Problem with CString Pin
David Fleming2-May-01 23:04
David Fleming2-May-01 23:04 
Generalneed help for ADSI programming with VC Pin
jingang25-Apr-01 23:11
jingang25-Apr-01 23:11 
Generalneed help for ADSI programming with VC Pin
jingang25-Apr-01 23:04
jingang25-Apr-01 23:04 
GeneralPersisting Date/Time (no MFC) Pin
William Bartholomew25-Apr-01 20:51
William Bartholomew25-Apr-01 20:51 
GeneralPopulating List Boxes Pin
25-Apr-01 9:50
suss25-Apr-01 9:50 
GeneralRe: Populating List Boxes Pin
Tomasz Sowinski25-Apr-01 23:59
Tomasz Sowinski25-Apr-01 23:59 
GeneralDial-Up Server Pin
Joe O'Connor25-Apr-01 8:45
Joe O'Connor25-Apr-01 8:45 
QuestionMAC format text file newline character? Pin
Peter Pearson25-Apr-01 8:40
Peter Pearson25-Apr-01 8:40 
AnswerRe: MAC format text file newline character? - Don't worry Pin
Peter Pearson25-Apr-01 8:53
Peter Pearson25-Apr-01 8:53 
GeneralProblem in HWND for MCIWndCreate ... Pin
Hadi Rezaee25-Apr-01 8:29
Hadi Rezaee25-Apr-01 8:29 
GeneralStatically linking the MFC Pin
25-Apr-01 8:02
suss25-Apr-01 8:02 
GeneralRe: Statically linking the MFC Pin
Wayne Fuller25-Apr-01 8:19
Wayne Fuller25-Apr-01 8:19 
GeneralRe: Statically linking the MFC Pin
25-Apr-01 8:30
suss25-Apr-01 8:30 
GeneralRe: Statically linking the MFC Pin
Chris Meech25-Apr-01 8:38
Chris Meech25-Apr-01 8:38 
GeneralRe: Statically linking the MFC Pin
25-Apr-01 10:32
suss25-Apr-01 10:32 
GeneralRe: Statically linking the MFC Pin
Wayne Fuller25-Apr-01 9:14
Wayne Fuller25-Apr-01 9:14 
GeneralRe: Statically linking the MFC Pin
25-Apr-01 10:34
suss25-Apr-01 10:34 

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.