Windows Mobile: Hide startbutton in winmo 6.5.x

Source: Internet
Author: User
Tags home screen

From: http://www.hjgode.de/wp/2010/10/11/windows-mobile-hide-startbutton-in-winmo-6-5-x/

 

Here is a very short tip based on a finding at xda-developers.com

For kiosk Mode Applications you dont want the user access the device settings or the Start menu and all the programs and games accessible from there. one step to this kiosk mode is disabling the start button, the button that opens a menu to access programs and settings.

In versions of Windows Mobile before 6.5.3, you cocould disable access to the start button by subclassing hhtaskbar and discard clicks in the Start button area or simply disable the whole hhtaskbar window.

Now, with Windows Mobile 6.5.3 the start button is part of the menu bar and no longer part of the taskbar (which is now called menubar ). to hide the start button on a Windows Mobile 6.5.x device you can use following registry change:

[HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ shell \ bubbletiles] "textmodeenabled" = DWORD: 00000001 "hardwarestartkeyenabled" = DWORD: 00000001 "hardwaredonekeyenabled" = DWORD: 00000001

With this change the "menubar" will no longer show the start button graphic nor the done button, Windows Mobile will no longer decorate the menu texts. only two menu entries will now show on bottom of the today screen.

Textmodeenabled switches the display of soft menu entries from the default graphic tiles display to a text only display as it was and is in Windows Mobile 6.1.

Hardwarestartkeyenabled controls the display of the Start button (the big Windows Start symbol on the left of the soft menu ). if you change to enabled (0 × 01) You dont get a start button and have to use a key on your keypad to launch the Start Screen!

Hardwaredonebutton controls the display of the done button at the right of the menu bar (the big (x )). when enabled, you have no chance to close apps that do not have an exit option in there menu, cannot you have a key on your keyboard assigned to the done function! Done now not only hides an app, with winmo 6.5 the app is closed and removed from memory now.

The Start entry at top left corner remains there but is only an indicator.

No more start button, no more done (x) button

When you reboot the device, the change will be applied and you will see the today screen with two menu shortcuts in the menubar at the bottom. on a prof. device this may be (phone) and (contacts ). these buttons are also called softkeys and you can change there behaviour using the registry:

[HKLM \ Software \ Microsoft \ chome \ sk1url] "open" =  

(Use sk2 for the second softkey)

So you may use these softkeys to enable the user to start your kios application.

You shoshould be aware of that if you dont have a key assigned to vk_lwin (the win key), you will never be able to switch to the Start Menu or now called home screen!

If an application is started and does not have a exit menu, you will not be able to get back to the today screen. if you disable the titlebar (hhtaskbar) You will also not be able to open any of the settings and informations available thru the titlebar (ie Battery status, clock settings, Volume settings ).

The titlebar normally will get a "Start Menu" entry to the left. But with textmodeenabled = 1 this will not be the case! So no way back to today screen and no way to get to the Start Menu with all the programs or the home screen.

Happy kiosk Mode Coding.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.