Results 1 to 6 of 6

Thread: today, sizing the listbox

  1. #1

    Thread Starter
    New Member
    Join Date
    Oct 2000
    Posts
    5
    i either need to figure out how to resize the listbox control, specifically how to resize the scrollbar to make it functional with a touchscreen, or find a current control to use/purchase or make my own, anyone know how, or where to get one already written?

  2. #2

  3. #3
    Fanatic Member Mad Compie's Avatar
    Join Date
    Aug 2000
    Location
    Kuurne (Belgium)
    Posts
    553
    Ah, here's the thread. I got an e-mail from Makulais bit did not know where it came from.
    I searched the Forum's DB and here I am now.
    Unfortunately, I recently re-posted the thread hoping for some responses.
    Anyway, the size could be controlled in Windows Screen settings (there where you can change icon size, menu fonts, ...)
    I also had to do this, because we are using ZF Micro embedded computers (NetDisplay 5MX - pentium) with EloTouch TFT screen, and the standard listbox scrollbar seemed to be too small for our fingertips...

  4. #4

    Thread Starter
    New Member
    Join Date
    Oct 2000
    Posts
    5
    okay mad compie, so how did you do it? you said you used windows screen settings? i assume this is in the API, if you could give me a little direction i would appreciate it.


  5. #5
    Fanatic Member Mad Compie's Avatar
    Join Date
    Aug 2000
    Location
    Kuurne (Belgium)
    Posts
    553
    Dear Makulais, I won't give you the API... because I don't know it!
    That's the reason of launching my thread.
    My goal was to store the current scrollbar width, enlarge it in my app and when finished, restoring the stored width.
    Normally, I thought using SystemParametersInfo would do it, but this is not the case...
    So, let's wait for others to respond.

  6. #6

    Thread Starter
    New Member
    Join Date
    Oct 2000
    Posts
    5

    Unhappy don't think it is possible

    after doing more research myself into the API and such, i don't believe that microsoft gives you a method to do it. if you do widen the scrollbars, i have found that the height of them does not change significantly. the only way i could figure out to do it would be to trick the area surrounding the listbox into thinking it was a lower resolution. not practical. so anyway, i am off to write an activex control of my own to do a larger version of the listbox and maybe the combobox.

    good luck

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