Announcement

Collapse
No announcement yet.

PBDLL 6 DDT Outlook Bar Sample SRC

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

  • PBDLL 6 DDT Outlook Bar Sample SRC

    Ralph,

    I have win2k pro and the scroll bar is visually messed up. I
    haven't looked at your src yet but when I get a chance
    I'll look at it.



    ------------------
    -Greg
    -Greg
    [email protected]
    MCP,MCSA,MCSE,MCSD

  • #2
    Gregery,

    there's much room for improvement. I created the listview with
    a scrollbar and then hided the scrollbar's gauge with a static.
    I know this is a dirty hack but it makes coding much easier. I do
    not need to control the scroll my own. I run the sample on Win 98
    and NT4 SP6. Works fine.

    You may do it your own by adding %LVS_NOSCROLL in the CONTROL ADD
    line. After that you have to measure the LV on each WM_SIZE event
    with LISTVIEW_GetCountPerPage(hlv).
    Use ListView_GetTopIndex(hlv) to set your button state. If it
    returns 0 hide your Up Button otherwise show it
    If number of enties < Topindex - CountPerPage hide your down
    button, otherwise show it.

    Missing : %WM_NOTIFY handler, Drag & Drop functions
    Poor : Memory handling for ol_createstru
    Don't know : Ol Bar is not a control. It's a dialog in a dialog.
    Are there any side effect's from DDT ?

    Every help is welcome.

    rgds
    Ralph



    ------------------

    Comment

    Working...
    X