CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 6 of 6
  1. #1
    Join Date
    Mar 2012
    Posts
    13

    Question If this listview column->text == XXXXXXX { do this }

    Hello everyone!

    First of all, I'm new here.
    I hope you guys got some good tips and tricks for me to start coding!

    Let's move to my problem

    So, it's like identifying a listview column. (just whole made up to give you an idea.)
    My goal is, when
    if (this-><<columnhere>>->text == GrabTime())
    {
    Messagebox::Show, blablablabla...
    }

    But this won't work of course,
    How do I identify a column?

    Greetz.

  2. #2
    Join Date
    Mar 2012
    Posts
    13

    Re: If this listview column->text == XXXXXXX { do this }

    Mmm, no-one can help?

    I need it really bad and quick for a project.

  3. #3
    Join Date
    Aug 2000
    Location
    New York, NY, USA
    Posts
    5,656

    Re: If this listview column->text == XXXXXXX { do this }

    Vlad - MS MVP [2007 - 2012] - www.FeinSoftware.com
    Convenience and productivity tools for Microsoft Visual Studio:
    FeinWindows - replacement windows manager for Visual Studio, and more...

  4. #4
    GCDEF is offline Elite Member Power Poster
    Join Date
    Nov 2003
    Location
    Florida
    Posts
    12,637

    Re: If this listview column->text == XXXXXXX { do this }

    or CListCtrl::GetItemText()

  5. #5
    Join Date
    Mar 2012
    Posts
    13

    Re: If this listview column->text == XXXXXXX { do this }

    But how to use them?

  6. #6
    GCDEF is offline Elite Member Power Poster
    Join Date
    Nov 2003
    Location
    Florida
    Posts
    12,637

    Re: If this listview column->text == XXXXXXX { do this }

    Quote Originally Posted by Miraclezz View Post
    But how to use them?
    Did you read the documentation?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured