Click here to Skip to main content
15,908,768 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: OnClose function problem Pin
Nishad S11-Aug-09 3:16
Nishad S11-Aug-09 3:16 
QuestionTiltleBar Pin
kumar sanghvi10-Aug-09 21:29
kumar sanghvi10-Aug-09 21:29 
AnswerRe: TiltleBar Pin
«_Superman_»10-Aug-09 22:25
professional«_Superman_»10-Aug-09 22:25 
GeneralRe: TiltleBar Pin
kumar sanghvi10-Aug-09 22:38
kumar sanghvi10-Aug-09 22:38 
GeneralRe: TiltleBar Pin
«_Superman_»10-Aug-09 22:49
professional«_Superman_»10-Aug-09 22:49 
GeneralRe: TiltleBar Pin
kumar sanghvi10-Aug-09 22:58
kumar sanghvi10-Aug-09 22:58 
QuestionRe: TiltleBar Pin
David Crow11-Aug-09 3:14
David Crow11-Aug-09 3:14 
AnswerRe: TiltleBar Pin
kumar sanghvi11-Aug-09 4:35
kumar sanghvi11-Aug-09 4:35 
AnswerRe: TiltleBar Pin
David Crow11-Aug-09 4:38
David Crow11-Aug-09 4:38 
Questionwant ur help Pin
Maniha10-Aug-09 21:20
Maniha10-Aug-09 21:20 
AnswerRe: want ur help Pin
CPallini10-Aug-09 21:31
mveCPallini10-Aug-09 21:31 
AnswerRe: want ur help Pin
Rajesh R Subramanian11-Aug-09 1:48
professionalRajesh R Subramanian11-Aug-09 1:48 
QuestionHelp about MSCOMM in VC++.NET 2003 Pin
shiv@nand10-Aug-09 21:03
shiv@nand10-Aug-09 21:03 
AnswerRe: Help about MSCOMM in VC++.NET 2003 Pin
CPallini10-Aug-09 21:29
mveCPallini10-Aug-09 21:29 
QuestionHow can use Find Operation in CListCtrl? Pin
Le@rner10-Aug-09 20:15
Le@rner10-Aug-09 20:15 
AnswerRe: How can use Find Operation in CListCtrl? Pin
Code-o-mat10-Aug-09 20:39
Code-o-mat10-Aug-09 20:39 
GeneralRe: How can use Find Operation in CListCtrl? Pin
Le@rner11-Aug-09 1:08
Le@rner11-Aug-09 1:08 
GeneralRe: How can use Find Operation in CListCtrl? Pin
Code-o-mat11-Aug-09 3:03
Code-o-mat11-Aug-09 3:03 
Well, you could try iterating thorough the items of the list control yourself, querying for the strings in the columns and comparing them, so something like this:
for (int row = 0, endRow = the_list.GetItemCount(); row < endRow; row++) //Iterate thorough the rows
{
  for (int col = 0; col < column_count; col++) //Iterate the "columns of this row"
  {
    CString Text;
    Text = the_list.GetItemText(row, col);
    if (Text.CompareNoCase(the_text_to_search_for) == 0)
    { //This "cell" contains the text we are searching for, let's select this row for example
      the_list.SetItemState(row, LVIS_SELECTED, LVIS_SELECTED);
      break; //break from the column iteration since we already found the string, no need to look for more
    }
  }
}
How about this?

> The problem with computers is that they do what you tell them to do and not what you want them to do. <
> Life: great graphics, but the gameplay sux. <

GeneralRe: How can use Find Operation in CListCtrl? Pin
Le@rner11-Aug-09 18:34
Le@rner11-Aug-09 18:34 
GeneralRe: How can use Find Operation in CListCtrl? Pin
Code-o-mat11-Aug-09 21:21
Code-o-mat11-Aug-09 21:21 
GeneralRe: How can use Find Operation in CListCtrl? Pin
Le@rner11-Aug-09 21:24
Le@rner11-Aug-09 21:24 
QuestionHow can I manage the disk space like manage the memory with C++ Pin
jibeex10-Aug-09 19:41
jibeex10-Aug-09 19:41 
AnswerRe: How can I manage the disk space like manage the memory with C++ Pin
Stuart Dootson10-Aug-09 21:41
professionalStuart Dootson10-Aug-09 21:41 
QuestionDebug a Com DLL Pin
002comp10-Aug-09 19:26
002comp10-Aug-09 19:26 
AnswerRe: Debug a Com DLL Pin
Adam Roderick J10-Aug-09 19:48
Adam Roderick J10-Aug-09 19:48 

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.