You are not logged in. You can browse in the PowerBASIC Community, but you must click Login (top right) before you can post. If this is your first visit, check out the FAQ or Sign Up.
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 ?
We process personal data about users of our site, through the use of cookies and other technologies, to deliver our services, and to analyze site activity. For additional details, refer to our Privacy Policy.
By clicking "I AGREE" below, you agree to our Privacy Policy and our personal data processing and cookie practices as described therein. You also acknowledge that this forum may be hosted outside your country and you consent to the collection, storage, and processing of your data in the country where this forum is hosted.
Comment