Click here to Skip to main content
16,004,974 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: RE: Set ComboBox Values ? Pin
Sonu Kapoor6-May-02 2:07
Sonu Kapoor6-May-02 2:07 
GeneralRe: RE: Set ComboBox Values ? Pin
Aoife6-May-02 4:14
Aoife6-May-02 4:14 
GeneralRe: RE: Set ComboBox Values ? Pin
Sonu Kapoor6-May-02 5:51
Sonu Kapoor6-May-02 5:51 
GeneralMessenger type app in VC++ Pin
unknown soldier5-May-02 21:56
unknown soldier5-May-02 21:56 
Generalunable to execute database apps Pin
Bhikshapathi Gorantla5-May-02 21:37
Bhikshapathi Gorantla5-May-02 21:37 
GeneralSDI in Dll Pin
5-May-02 18:55
suss5-May-02 18:55 
QuestionHelp with _lfind? Pin
Learning5-May-02 17:47
Learning5-May-02 17:47 
AnswerRe: Help with _lfind? Pin
James R. Twine6-May-02 3:02
James R. Twine6-May-02 3:02 
   The scenario sounds like a simple (sub)string search...  If so, I do not believe that ::_lfind(...) is what you will want to use.

   For example, if you need to look for m_strFindData in m_strEnterData, then you could just do this:

    int     iWhere = m_strEnterData.Find( m_strFindData );<br />
<br />
    if( iWhere != -1 )<br />
    {<br />
        //<br />
        // Match Found At "iWhere"<br />
        //<br />
        m_strDisplayResult = _T( "Match Found!" );<br />
    }<br />
    else<br />
    {<br />
        //<br />
        // Not Found!<br />
        //<br />
        m_strDisplayResult = _T( "Match NOT Found!" );<br />
    }


   Peace!

-=- James.
(Try Check Favorites Sometime!)
Generalusing your own header in a cpp. Pin
SilverShalkin5-May-02 17:04
SilverShalkin5-May-02 17:04 
GeneralRe: using your own header in a cpp. Pin
Christian Graus5-May-02 17:31
protectorChristian Graus5-May-02 17:31 
GeneralRe: using your own header in a cpp. Pin
Paul M Watt5-May-02 19:32
mentorPaul M Watt5-May-02 19:32 
GeneralRe: using your own header in a cpp. Pin
SilverShalkin6-May-02 11:59
SilverShalkin6-May-02 11:59 
GeneralRe: using your own header in a cpp. Pin
Christian Graus6-May-02 12:21
protectorChristian Graus6-May-02 12:21 
GeneralRe: using your own header in a cpp. Pin
Paul M Watt6-May-02 13:15
mentorPaul M Watt6-May-02 13:15 
GeneralRe: using your own header in a cpp. Pin
Christian Graus6-May-02 13:39
protectorChristian Graus6-May-02 13:39 
GeneralRe: using your own header in a cpp. Pin
Paul M Watt6-May-02 14:03
mentorPaul M Watt6-May-02 14:03 
GeneralRe: using your own header in a cpp. Pin
Christian Graus6-May-02 14:47
protectorChristian Graus6-May-02 14:47 
GeneralRe: using your own header in a cpp. Pin
Paul M Watt6-May-02 16:07
mentorPaul M Watt6-May-02 16:07 
GeneralRead this. Pin
SilverShalkin6-May-02 15:21
SilverShalkin6-May-02 15:21 
GeneralRe: Read this. Pin
Christian Graus6-May-02 16:21
protectorChristian Graus6-May-02 16:21 
GeneralRe: Read this. Pin
SilverShalkin7-May-02 3:05
SilverShalkin7-May-02 3:05 
GeneralRe: using your own header in a cpp. Pin
Paul M Watt6-May-02 12:48
mentorPaul M Watt6-May-02 12:48 
GeneralHelp with NetStatisticsGet Pin
Lac5-May-02 16:53
Lac5-May-02 16:53 
GeneralDebugging - mem allocation Pin
Coremn5-May-02 16:46
Coremn5-May-02 16:46 
GeneralRe: Debugging - mem allocation Pin
Ganesh Ramaswamy5-May-02 22:10
Ganesh Ramaswamy5-May-02 22: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.