Announcement

Collapse
No announcement yet.

Listview Q

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Jules Marchildon
    replied
    Scott;

    I did my search with Borje Hagstens POFFS, that is where I cut and pasted
    the info above from.

    You will also need Peter's ListView.Bas wrapper file. If you like I can
    email the complete source w/binary to you for your convienence.

    Just drop me a message mailto:[email protected][email protected]</A>

    Regards,
    Jules

    Leave a comment:


  • Lance Edmonds
    replied
    That page was archived some time back...

    Jules probably had the URL listed locally on his PC. However a quick search for "generic listview" found it immediately... http://www.powerbasic.com/support/fo...-7-000233.html




    ------------------
    Lance
    PowerBASIC Support
    mailto:[email protected][email protected]</A>

    Leave a comment:


  • Scott Turchin
    replied
    The page cannot be found
    The page you are looking for might have been removed, had its name changed, or is temporarily unavailable.



    ------------------
    Scott

    Leave a comment:


  • Jules Marchildon
    replied
    scott,

    this is very close to what you are looking for.

    '-------------------------------------------------
    'message
    'forum: source code
    'topic: pddll5: generic listview example
    'name: peter redei, member
    'date: may 02, 1999 05:52 pm

    this example shows how to create a listview control and use it in record view
    including sorting. the main module is the modified skeleton.bas.
    '-------------------------------------------------

    regards,
    jules

    Leave a comment:


  • Scott Turchin
    started a topic Listview Q

    Listview Q

    I have a listview, and an old CreateWindow style dialog, using a WNDPROC etc etc.

    The listview displays:
    Event Number Day of week Date/time Username Computername


    That data is parsed out of a string called g_sClipText and appended to the listview.


    What would be the best way to sort this data by whichever title the user clicks on, and how do you do that with a Listview?
    I have all of the functions, it may be one of the one's in there...

    Here is a sample of the data that goes in the listview. I am separating these with a "|" sybol so each element is more clear:

    1 Friday | June 29, 2001 8:04 AM | turchinsp | TNG2K
    2 Thursday | June 28, 2001 6:00 AM | turchinsp | TNG2K



    ------------------
    Scott
Working...
X