How to hide the windows mobile 6 scroll bars - 8525, TyTN, MDA Vario II, JasJam ROM Development

I have installed the eFrost TouchFLO and it works exceptionally well on my JASJAM. I can use finger to scroll the windows instead of having to drag the scroll bars. As such I don't really need the scroll bars anymore. Is there a way to hide the windows vertical and horizontal scroll bars?
Anyone interested in the eFrost TouchFLO, you can get it at:
http://forum.xda-developers.com/showthread.php?t=338143

i'm not sure if there is.. but you can make the scrolls more thin if you want to with htcustom. search it here in the forum, easy to find.
you can also make it more thin with sktools, but it's not a good idea. if you do it, you cant scroll in programmes not working with touchflo, plus you won't see the exact size of pages (cause you lost your visual feedback).
imho: best solution htcustom, thin scrolls.

bchau said:
I have installed the eFrost TouchFLO and it works exceptionally well on my JASJAM. I can use finger to scroll the windows instead of having to drag the scroll bars. As such I don't really need the scroll bars anymore. Is there a way to hide the windows vertical and horizontal scroll bars?
Anyone interested in the eFrost TouchFLO, you can get it at:
http://forum.xda-developers.com/showthread.php?t=338143
Click to expand...
Click to collapse
Found this in WIKI:
UI Modifications
Change the thickness of scrollbars
To change the thickness of the scrollbars at the right/bottom of documents larger than the screen, adjust...
For the horizontal (bottom) scrollbar:
HKLM\System\GWE\cyHScr = 9 (DWORD decimal)
For the vertical (right) scrollbar:
HKLM\System\GWE\cxVScr = 9 (DWORD decimal)
The default thickness is 13. You can set the value to pretty much anything you like
Change the length of scrollbar arrow buttons
To go with changing the thickness of the scrollbars, you may wish to change the length of the scrollbar arrow buttons...
For the horizontal (bottom) scrollbar arrows:
HKLM\System\GWE\cyVScr = 9 (DWORD decimal)
For the vertical (right) scrollbar:
HKLM\System\GWE\cxHScr = 9 (DWORD decimal)
The default length is 13. You can set the value to pretty much anything you like
Maybe if you set 0 it will work...Did not try it though.

I put my values at 3 so it is barely big enough so that I can get some visual feedback to see what is going on and also grab it if I need to. Works great!
Ross

Related

Changing WM2003 Scroll bar width

Does anyone know what the registry key is for changing the width of the WM2003 scroll bars? Regking allows you to change the scroll bar width but has only two settings, i'd like to decrease the width even more.
u can save 2 registry output files (before/after) using Regking and do a simple file compare.

Registry entry for changing scroll bar size.

Can someone point me to the info regarding the registry entry for making the scroll bars thinner. I have looked every where and searched for scroll bars.. cant find it.
got it.
had to sneak over to the q forum.
here it is.
1. Making the scrollbars smaller (Vert. and Horz.)
This hack allows 4 icons on a row in the start menu instead of 3 and allows more to be viewed on the screen in IE:
• Go to: HKey_LOCAL_MACHINE\SYSTEM\GWE\
• Adjust the following values
cyHScr : Horizontal Scrollbars
Height in pixels (default is 6, set it to 3)
cxVScr : Vertical Scrollbars
Width in pixels (default is 6, set it to 3)
• Soft-reset
Its mostly nicer for web browsing.
also this asks for you to create them, they are allready created.
Bump for a good change that I felt was missing from the new roms. Thought others would appreciate it.

Windows Mobile 6.1 - Skinning of All UI Components - possible?

Hey All!
Have used search many many times, and tried searching Google, but can't find any result!!!
I have tried many Shell UI programs like ThrottleLauncher, Wisbar Advance, PointUI and SPB MobileShell. Of all these, SPB seems the most polished.
Whilst these apps manage to hide the ancientness that is WindowsMobile 6.1, it doesn't allow you to skin the scrollbars, buttons or dropdown menus. Can anyone think of a way to do this? Maybe something that does the same job as PalmRevolt does on Palm OS?
Surely it'd be a case of finding a program that can replace some icons / settings in the Windows Directory...
I'm keeping SPB Mobileshell too.. Its just that I'm resigning to the fact that I'll be stuck with WinMo6.1 on my Palm Treo Pro for quite some time!
Thanks all!
I'm still going to use SPB, but thought this woud
dr3wster said:
Hey All!
Have used search many many times, and tried searching Google, but can't find any result!!!
I have tried many Shell UI programs like ThrottleLauncher, Wisbar Advance, PointUI and SPB MobileShell. Of all these, SPB seems the most polished.
Whilst these apps manage to hide the ancientness that is WindowsMobile 6.1, it doesn't allow you to skin the scrollbars, buttons or dropdown menus. Can anyone think of a way to do this? Maybe something that does the same job as PalmRevolt does on Palm OS?
Surely it'd be a case of finding a program that can replace some icons / settings in the Windows Directory...
I'm keeping SPB Mobileshell too.. Its just that I'm resigning to the fact that I'll be stuck with WinMo6.1 on my Palm Treo Pro for quite some time!
Thanks all!
I'm still going to use SPB, but thought this woud
Click to expand...
Click to collapse
Using a resource editor, it is possible to skin almost everything. It's just a bunch of dlls, exes and registry entries. I use PE Explorer and it's great and very powerful, but it does cost quite a bit of money..
dwizzy130
No unfortunately its not possible. At most you can alter themes, as I am sure you already know. The only other thing you can do is change the size of the scroll bars in the registry, and if you set their width to 0, they disappear... A setting like 2, makes them thin enough that they indicate where you are, but can't really be used.
Apart from that, you already have the right idea with SPB, Point UI, etc. You may want to know that PointUI hides more of the oem interface with the pay version and will be adding a dialer among other things in the next update. You did not mention Manilla... I don't use it b/c I just don't have the time to deal with new ROM bugs, but nonetheless it does the best the best job at hiding winmo, and has the most skinned elements...
EDIT: Just read the above post... I guess it is possible.
OK, decided to add some addtional stuff
Altering WM menu system and Dialogs
Try this program
FingerSuite
or
Try the extracted HTC Menu app
or
Edit the Menu Font size registry key for a less pretty effect, but it means one less program to install.
HKEY_LOCAL_MACHINE\system\gwe\menu\popfnt
and change the value for the "Ht" entry to "1000" decimal (from 1200).
play around with 800, 900, and 1000 and see which suits your personal preference
Modifying Scroll Bars
Change the thickness of scrollbars
To change the thickness of the scrollbars at the right/bottom of documents larger than the screen, adjust...
For the horizontal (bottom) scrollbar:
HKLM\System\GWE\cyHScr = 9 (DWORD decimal)
For the vertical (right) scrollbar:
HKLM\System\GWE\cxVScr = 9 (DWORD decimal)
The default thickness is 13. You can set the value to anything you may like
Change the length of scrollbar arrow buttons
To go with changing the thickness of the scrollbars, you may wish to change the length of the scrollbar arrow buttons...
For the horizontal (bottom) scrollbar arrows:
HKLM\System\GWE\cyVScr = 0 (DWORD decimal)
For the vertical (right) scrollbar:
HKLM\System\GWE\cxHScr = 0 (DWORD decimal)
The default length is 13. You can set the value to pretty much anything you like
Found another useful app for handling scroll bar color, background colors ect.
UITweaker
http://forum.xda-developers.com/showthread.php?t=411197
Further down in that thread someone gives this link which seems usefulhttp://mobile-sg.com/software/?platform=ppc
Hmm, real pity nothing can be done to skin those ugly looking scrollbars, eventhough SPB or any other software will beautify the look as well as experience of using the device, the scrollbars will still leave a signature stating "I am the ugly looking WM 6.1"
I just recently flashed SNN Diamond on my Wizard and I'm loving it so far but I do have one caveat. When I put a customized background on my today/home, the drop-down start menu adopts the same image as its background. I don't want my drop-down start menu to have a background image, I'd prefer it to be a plain color. How do I change it? You would think that this is a simple thing to do but I have been at it for a day, still no luck. Any ideas guys?

[2nd release]SenseSlider .NET CF Control 0.2

Because the SenseSDK which is available at xda lacks a control for the HTC Slider I tried to create my own.
I finally fixed some bugs and changed a bit of the behavior and here is the first release version of my SenseSlider control.
The 2nd release is ready and stable. See Changelog for further info.
Features:
mimics HTC Slider
fully functional .net Control
does not depend on images for the bar background/slider thumb (drawn at runtime) and therefore allows different color-schemes
events for SelectedIndexChanged, StartedSliding, StoppedSliding, OnSliding (Gives thes index of the hovered icon)
supports vibration (aka haptic feedback)
includes a semi-transparent panel for overlay when sliding
does not depend on other control collections (SenseSDK only used for demo application; can be used with any other collection) (does not apply for new version, uses SmartDeviceFrameWork)
changes in the 2nd release:
uses the IImaging-Implementation of the SmartDevice-Framework and is now stable and more flexible (load the IImages with SDF in any way and add them to the slider)
supports an imagefile as slider thumb (see attached screenshot)
great speed improvement (fixed a bug which slowed drawing down)
made the source code of the demo application a lot more readable and understandable (or at least I hope so )
I uploaded a demo application to show some of the control's features. The source code for the demo is also available.
To use the Slider in your own applications just add the SenseSlider.dll and instantiate LunaticShade.SenseSlider (see the source of the demo application for details). (The new Version needs also the OpenNETCF Assemblies enclosed in the package or an installed version of the SmartDeviceFramework on the target device)
At this time the control cannot be drawn at designtime (due to heavy P/Invokes) but you can set the properties and events with the property editor.
Please report any bugs you may encounter.
If you got questions just ask
looks quite interesting. I will give it a try as soon as I can integrate in my apps (testing makes no sense - I also have HD2 )
keep on developing!
Obelix
Looks cool ! I'll try it as soon as a release is available !
Looks nice, not exactly like Sense (no vibration, no left-right/right-left gesture, if I tap&hold some icon and then swipe to left or right, the slider doesn't follow my finger), but good. Can't wait to be able to use it in my apps
first release,
see first post
That's VERY nice mate. I'm also particularly pleased that you used the Sense SDK interface in your demo, as I was considering using this slider in one of my apps that uses the Sense SDK heavily. I'm not considering it any more though - I'm all over it
I'm not currently at a dev machine and therefore can't really check out the control, so I do have one question that I may be able to answer if I looked in the IDE. Can you stop it changing page by sliding left and right on the page itself? I'd rather people had to use the slider to change page.
But yeah, very nice - thanks a lot!
I'm glad to hear that you like it.
johncmolyneux said:
Can you stop it changing page by sliding left and right on the page itself? I'd rather people had to use the slider to change page.
Click to expand...
Click to collapse
Actually it is the WinMo 6.5 TabControl which exposes this behavior. If you slide over a TabPage it changes the tab respectively, the senseslider then only reflects this action. So this is not the default behavior of the Slider (actually you could just set back the SelectedTab if it was not changed by the SenseSlider).
Ah fair enough. I didn't realise you'd used a tab control, but I guess that makes sense.
Thanks for the reply mate
nice control man.
i got 4-5 times a crash on the program. when i changed the button slider color, and stopped the vibration, then when i moved the slider fast from left to right, etc, an error occured.
overall nice work. i don't know if it is your icons, or the real time drawing, but the icons at the slider have a very bad quality. hope you can make the graphics much more similar to the HTC Slider looks
well done for a 0.1 version.
anyone knows what is wrong with this line?
Dim imageNames = assembly.GetManifestResourceNames().Where(Function(r) r.Contains("_b"))
i can't get the slider to work having a vb code. this slider needs so many things. i guess the reason that my slider is not working right now is because of the above code line, which returns me nothing, even though i have a picture which contains _b in the name
TeDeV said:
anyone knows what is wrong with this line?
Dim imageNames = assembly.GetManifestResourceNames().Where(Function(r) r.Contains("_b"))
i can't get the slider to work having a vb code. this slider needs so many things. i guess the reason that my slider is not working right now is because of the above code line, which returns me nothing, even though i have a picture which contains _b in the name
Click to expand...
Click to collapse
your resources have to be embedded. in the file browser of visual studio open the Resources folder (not the resx file!) select the images and in the property window change Build action to embed in resx.
i tried that, but when i add the image in the resources file, and choose the embed build action, i get errors
DividedByZeroException
stackTrace....
"σε LunaticShade.SenseSlider.Draw(Graphics g, Int32 x, Int32 y) σε LunaticShade.SenseSlider.Draw(Graphics g) σε LunaticShade.SenseSlider.OnPaint(PaintEventArgs e) σε System.Windows.Forms.Control.WnProc(WM wm, Int32 wParam, Int32 lParam) σε System.Windows.Forms.Control._InternalWnProc(WM wm, Int32 wParam, Int32 lParam) σε Microsoft.AGL.Forms.EVL.EnterMainLoop(IntPtr hwnMain) σε System.Windows.Forms.Application.Run(Form fm) σε PrimeKeys.Form1.Main() "
i also have a question.
how do you "connect" the senseSlider with the tabControl?
for example.... if i had two tabcontrols, how does the SenseSlider, knows which tabcontrol to bind?
i can't find that code in your sample.
TeDeV said:
i tried that, but when i add the image in the resources file, and choose the embed build action, i get errors
DividedByZeroException
stackTrace....
"σε LunaticShade.SenseSlider.Draw(Graphics g, Int32 x, Int32 y) σε LunaticShade.SenseSlider.Draw(Graphics g) σε LunaticShade.SenseSlider.OnPaint(PaintEventArgs e) σε System.Windows.Forms.Control.WnProc(WM wm, Int32 wParam, Int32 lParam) σε System.Windows.Forms.Control._InternalWnProc(WM wm, Int32 wParam, Int32 lParam) σε Microsoft.AGL.Forms.EVL.EnterMainLoop(IntPtr hwnMain) σε System.Windows.Forms.Application.Run(Form fm) σε PrimeKeys.Form1.Main() "
Click to expand...
Click to collapse
hm, that's strange. are you using pngs? did you set the IconSize Property of the senseslider? maybe a call of senseslider.updatevalues() in your constructor helps.
i also have a question.
how do you "connect" the senseSlider with the tabControl?
for example.... if i had two tabcontrols, how does the SenseSlider, knows which tabcontrol to bind?
i can't find that code in your sample.
Click to expand...
Click to collapse
actually the senseslider does not know that it controls a tabcontrol. It raises the event SelectedIndexChanged when the user selects an icon. In this event I activate the corresponding TabPage to be active.
yes but the corresponding tabpage of which tabcontrol?
if i have 2 tabcontrols, with 5-6 tabpages inside each tabcontrol, how does the slider knows, to which tabcontrol to bind? i don't get it.
i am creating the senseSlider dynamically. and this is my code...
senseSlider.Location = New System.Drawing.Point(0, 554) '504
'senseSlider.Dock = DockStyle.Bottom
senseSlider.Size = New System.Drawing.Size(480, 84)
senseSlider.BackColor = System.Drawing.Color.FromArgb(CInt(CByte((239))), CInt(CByte((235))), CInt(CByte((239))))
senseSlider.BorderBaseColor = System.Drawing.Color.FromArgb(CInt(CByte((235))), CInt(CByte((235))), CInt(CByte((235))))
senseSlider.DarkBaseColor = System.Drawing.Color.Silver
senseSlider.DarkSliderColor = System.Drawing.Color.FromArgb(CInt(CByte((35))), CInt(CByte((35))), CInt(CByte((35))))
senseSlider.HapticFeedback = True
senseSlider.IconSize = New System.Drawing.Size(72, 72) '56,56
senseSlider.IconSpacing = 25
senseSlider.LightSliderColor = System.Drawing.Color.Silver
senseSlider.UpdateValues()
'=====================
anything wrong there?
ok i have figured it out. it is the IconSize! if i use other png images with different dimensions than yours, then i get that error, no matter what. i don't get it. what is 56,56? because none of your icons are 56x56
yes but the corresponding tabpage of which tabcontrol?
if i have 2 tabcontrols, with 5-6 tabpages inside each tabcontrol, how does the slider knows, to which tabcontrol to bind? i don't get it.
Click to expand...
Click to collapse
The senseslider does not bind to a TabControl it only informs you that the SelectedIndex was changed. In the event handler for SelectedIndexChanged you decide what to do then. That is which TabControl to refresh. If you do nothing, nothing will happen. (In the sample I subscribed to the SelectedIndexChanged event and change the SelectedIndex of the TabControl to the SelectedIndex of the Slider by code).
ok i have figured it out. it is the IconSize! if i use other png images with different dimensions than yours, then i get that error, no matter what. i don't get it. what is 56,56? because none of your icons are 56x56
Click to expand...
Click to collapse
The IconSize only says how big the Icons are drawn. If they are smaller or bigger they will be stretched. I don't know why this does not work but
i will try to figure this out.
Very nice. I've been wanting to write something similar for an app that I want to write. You've just saved me a boatload of work! Thanx!
One issue that I saw though; when the app starts up, the ons screen keyboard icon is displayed over the slider. Opening and closing the keyboard hides the icon. Is there a way to have the application hide the keyboard icon on startup?
the slider must be able to DOCK = bottom.
if i have an app which rotates, then i can't use the height thing, in order to anchor.
and depending on the pda resolution the height will be different. and you have to consider that people want menu bar at the bottom, and not just the slider. so it is difficult to have this without dock = bottom.
thanks
TeDeV said:
the slider must be able to DOCK = bottom.
if i have an app which rotates, then i can't use the height thing, in order to anchor.
and depending on the pda resolution the height will be different. and you have to consider that people want menu bar at the bottom, and not just the slider. so it is difficult to have this without dock = bottom.
thanks
Click to expand...
Click to collapse
But that's a very simple thing to manually code, so not an issue. It would be good to not have to code it though, so docking would be nice.
Edit:
Actually, forget coding. Just anchor it in a panel that's docked to the bottom of your form.
cool. thx for you job.
Wow
Fantastic work - really looking forward to seeing this develop. It's so frustrating that HTC don't just release this stuff so that the developers here can make the phone shine compared to android and iphone - the standard winmo controls are so 1980s !
Cheers
Ian

HOWTO: SIP at the bottom in WM6.5?

Hi,
I've already asked on several forums but unfortunately no answers so far
My env: CF 2.0, WM 6+
I'm trying to create fullscreen application and I need to display Sip
panel completely at the bottom of the screen - without taskbar.
I have used few ways to do it:
1. FindWindow for "SipWndClass" and then SetWindowPos or MoveWindow
2. SipGetInfo/SipSetInfo setting rcSipRect and clearing SIPF_DOCKED bit.
These methods work fine with e.g. WM 6.1 but not with WM 6.5 – part of taskbar is still visible and sip panel is located over it.
You can see it here: http://img822.imageshack.us/img822/9240/sshot000.png
Any ideas how to make it working with all systems?
Rgds
I am hiding and displaying SIP in eVC++ native code with these functions:
SipShowIM(SIPF_ON);
SipShowIM(SIPF_OFF);
Well,it is shifted up as the menubar height is,but without icon in the middle.
I think,that if I get SIPwindow position and change it,it could be also moved. Didn't tried.
WM6.5.3
TomasNM said:
Well,it is shifted up as the menubar height is,but without icon in the middle.
Click to expand...
Click to collapse
The icon is not displayed because of me I used FindWindow for "MS_SIPBUTTON" and ShowWindow to hide it.
TomasNM said:
I think,that if I get SIPwindow position and change it,it could be also moved. Didn't tried.
WM6.5.3
Click to expand...
Click to collapse
I thought that was what I did by using FindWindow("SipWndClass", null) and then SetWindowPos or MoveWindow. As I mentioned in the 1st post it works ok in WM6.1 but not in WM6.5.
Rgds
OK,
I think I found it - after some tests it looks that it's also necessary to move window "SipBackDropWndClass".
Seems to be working in WM6 and WM6.5.
Rgds
That's good news.
However if I would like to achieve it,I would find the SIP window,then move it and enable.disable with SipShowIM(SIPF_ON);SipShowIM(SIPF_OFF);
Will this work?
TomasNM said:
That's good news.
I would find the SIP window,then move it
Click to expand...
Click to collapse
At the moment that's my code:
Code:
IntPtr sipWind = FindWindow("SipBackDropWndClass", null);
MoveWindow(sipWind, Left, Top, Width, Height, false);
sipWind = FindWindow("SipWndClass", null);
MoveWindow(sipWind, Left, Top, Width, Height, false);
Is that what you ment?

Categories

Resources