listview - report & showselectionalways

This is a discussion on listview - report & showselectionalways within the Windows Programming forums, part of the Platform Specific Boards category; hallo, i try to use listview control in report mode...i need it to 'showselectionalways', but it does not work , ...

  1. #1
    Registered User lobo's Avatar
    Join Date
    Oct 2001
    Posts
    71

    listview - report & showselectionalways

    hallo,
    i try to use listview control in report mode...i need it to 'showselectionalways', but it does not work , what i found out even in manuals...is there any way i can make it do what i need? I'm using that lv in dialog and to each item in lv, i show some additional info in other columns of lv and a text message in special edit control window. when i edit the text, lv looses focus and hides selection, and i'd need it to keep selection highlighted ...

  2. #2
    Unregistered
    Guest

  3. #3
    train spotter
    Join Date
    Aug 2001
    Location
    near a computer
    Posts
    3,855
    Bugger! Lost my login.

    And used SetFocus() after getting the input from the edit.
    "Man alone suffers so excruciatingly in the world that he was compelled to invent laughter."
    Friedrich Nietzsche

    "I spent a lot of my money on booze, birds and fast cars......the rest I squandered."
    George Best

    "If you are going through hell....keep going."
    Winston Churchill

  4. #4
    Registered User lobo's Avatar
    Join Date
    Oct 2001
    Posts
    71
    mmmm...i'll try it out...i already used some code like

    setfocus(lv);
    sendmessage(lv, lvm_set...);
    ...

    to get it running, i placed this into WM_INIT.. processing and it worked, but i didn't continue on that to rest of processing
    thanks

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 2
    Last Post: 05-13-2009, 12:57 PM
  2. Moving Average Question
    By GCNDoug in forum C Programming
    Replies: 4
    Last Post: 04-23-2007, 11:05 PM
  3. Debug Error Really Quick Question
    By GCNDoug in forum C Programming
    Replies: 1
    Last Post: 04-23-2007, 12:05 PM
  4. ListView in Report mode help
    By @nthony in forum Windows Programming
    Replies: 3
    Last Post: 08-05-2006, 11:57 PM
  5. Creating Listview in Report Mode with WinAPI
    By golfinguy4 in forum Windows Programming
    Replies: 1
    Last Post: 06-12-2003, 08:09 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21