View Full Version : Wider scrollbar in MJ treeview?
Dave T
February 23rd, 2003, 01:14 PM
Ben:
Any way to make the scrollbar wider in the MJ treeview? As it is, I have a very hard time "targetting" it with my stylus. If you miss it by a little, NR sees it as a click on whatever item is at that position left of the scrollbar. This is the main impediment to ease of use for others, when I hand them my PDA to try NetRemote.
Is this just me? Are others finding it hard to scroll? Or, is there a workaround?
Thks.
- Dave
brohebus
February 23rd, 2003, 03:34 PM
Ben:
Any way to make the scrollbar wider in the MJ treeview? As it is, I have a very hard time "targetting" it with my stylus. If you miss it by a little, NR sees it as a click on whatever item is at that position left of the scrollbar. This is the main impediment to ease of use for others, when I hand them my PDA to try NetRemote.
Is this just me? Are others finding it hard to scroll? Or, is there a workaround?
Thks.
- Dave
I can't comment on MJ since my eval time out before I had a chance to use it with NR. However, in my experience:
- To be 'finger-friendly' on a touchscreen, you need to define hotspots about 25-30 pixels squared at 72ppi. Your buttons can be smaller than this, but you need that amout of space around them to prevent you from bumping in to other buttons.
I try to design my CCFs to be used without the stylus since it tends to get lost, eaten by the dog, or falls down the back of the couch at an inopportune time.
-Dave
Dave T
February 26th, 2003, 12:01 PM
Anyone else? Don't most people find this to be a problem?
Ben - is it possible to widen the scrollbar in the treeview control?
One kludgey idea would be to subclass the treeview window and modify all mouse events slightly to the left of the scrollbar, to have coordinates over the scrollbar...
- Dave
Ben S
February 26th, 2003, 12:23 PM
I took a quick look to see if this was doable directly in the treeview. It doesn't look like it is (unfortunately).
However I theoretically could create buttons that act as up/down like in the old version (way old version), that post events to the scrollbar. I don't know about handling the thumb part, though.
I agree that it is not ideal for your thumb, but with the stylus I find it works okay.
I'll keep this idea in mind.
Dave T
February 26th, 2003, 12:48 PM
Ben:
I'd hate to live without the thumb-scroll-thingy, so the button idea wouldn't be ideal for me. So, you don't have this issue when using the stylus? On my Toshiba E740, it's a problem even with the stylus. People (including me), keep trying to hit the scrollbar and missing it by a smidge. Then the "Insert, Add, ..." menu pops up. How about the subclassing idea? If you put the source somewhere where I can get at it, I could take a crack...
- Dave
Ben S
February 26th, 2003, 12:54 PM
I'll see what I can do, Dave.
Have you tried recalibrating the stylus/screen?
Shortly I will have the code on the CVS server so that team members can get to it whenever they need to.
Thanks!
Ben S
March 11th, 2003, 08:18 PM
I'm looking into the treeview, and I don't see a way to do this easily. I also don't see a way to change the font size.
We may have to look into writing our own, again.
Dave T
March 11th, 2003, 08:22 PM
Rats. What about my subclassing idea? Make it think that clicks in the vicinity of the scrollbar are on the scrollbar?
Ben S
March 11th, 2003, 08:29 PM
Perhaps. I'm going to zip up the code and send it off to you right now.
Ben S
March 20th, 2003, 06:44 PM
Found an answer for you, Dave.
If you can modify the registry on the PPC, you can change settings (as seen here (http://www.phm.lu/PocketPC/RegTweaks/Tweak.asp?ref=10) to give you wider scrollbars.
After you change the setting, soft reset the PPC.
This will affect -all- scrollbars on the PPC,which is great for me. Maybe this is something NetRemote could do for you, if you select the option.
-Ben
Dave T
March 20th, 2003, 08:14 PM
That's great, Ben! I'm glad you found that before I started coding. I'll give it a try.
vBulletin® v3.7.4, Copyright ©2000-2008, Jelsoft Enterprises Ltd.