Let's back up a bit. You're saying that, if you change that setting, the
modification.
Paul T.
Post by Tim RudeI'm sure the registry is persistent between soft-resets. A hard-reset
(via a master kill switch on the back of the unit) wipes registry
settings. But I'm doing a soft-reset via software (such as the Warm
Boot... button in the WR-Tools ResInfo utility). With a soft reset, all
registry settings remain intact.
I've set the registry key using Regedit, Mortscript, and even letting
Windows do it when I use the Taskbar properties dialog to check or
uncheck 'Auto hide'. When I uncheck the 'Auto hide' checkbox, the
registry value gets automatically set to 0. When I check the 'Auto hide'
checkbox, the registry value gets automatically set to 1.
So I uncheck the 'Auto hide' checkbox, go and see that the registry
value has been automatically set to 0, and then do a soft-reset. When
the unit comes back up, the registry is still intact and the value of 0
is still there, but the taskbar autohides and the 'Auto hide' checkbox
in the Taskbar properties dialog is checked.
It's like Windows is simply ignoring the registry setting and forcing
the autohide setting to be on.
Of course, once I manually turn autohide off, it stays off until the
next soft-reset.
Weird, huh?
--
Tim Rude
(remove NOSPAM. for correct email address)
"Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument no spam
the
the
persist?
Power
that
look at
what
Post by Paul G. Tobey [eMVP]Well, I ran the old export-registry-using-Remote Registry Editor,
change-the-option-then-export-again operation for auto hide and I think
you're changing the wrong thing. Based on what I'm seeing, it's the
*default value* under the
*key*[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shell\AutoHide] that you want to
change, not a value called AutoHide (of type DWORD). The difference is
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shell\AutoHide]
@=dword:1 ;; CORRECT. AUTOHIDE IS ON
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shell]
"AutoHide"=dword:1 ;; WRONG
To turn autohide off, you'd make a change to the default value under
AutoHide
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shell\AutoHide]
@=dword:0 ;; EMPTY STRING = DWORD:0 = NO AUTOHIDE
They really screwed this up using the default value for the key, which is
*always* a string type, not a dword type, but there you are...
Paul T.
Post by Tim RudePaul,
Actually the Default value *is* what I have been working with, and it's what
the Taskbar settings dialog automagically sets. Sorry if I led you to think
otherwise.
However, no matter how that Default value gets set to a dword of 0, upon a
soft-reset that value is ignored by Windows and the 'Auto hide' setting gets
forced on. Oddly enough, even though 'Auto hide' is forced on, it does not
change the dword:0 to dword:1 in the registry. That only happens if you
manually toggle the checkbox on the Taskbar settings dialog.
Is there a way to programatically set the 'Auto hide' setting other than
using the registry (which doesn't appear to be working)?
--
Tim Rude
(remove NOSPAM. for correct email address)
"Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument no spam DOT
to
Post by Paul G. Tobey [eMVP]Not true on my devices. If yours is getting reset each time, but the
registry itself is persistent, it sounds like some component that runs on
startup, perhaps even the OAL part of the board support package for your
hardware, is resetting it before the shell starts.
Paul T.
Post by Mai Kee ReissOem Adaption(?) Layer. It is part of the WinCE OS image. The part, the
Oem will modify. The "platform builder guys" of your device manufacturer
can tell you more about it
--
Mai Kee Reiss
Post by Tim RudeOK, thanks for the confirmation that what I'm seeing isn't what is supposed
to be happening. I'll dig further into what's happening at startup that
might be triggering this. This unit is sold as a GPS navigation unit so
normally the manufacturer would want to keep the taskbar out of the way.
Maybe there's something in their startup code that's forcing the 'Auto hide'
setting on.
Forgive my ignorance, but what is 'OAL'?
A Google search returns 'Office of Administrative Law', 'Ohio Art League',
and 'Olympic Airways Greece (ICAO code)'. Somehow I don't think these are
what you meant. ;)
--
Tim Rude
(remove NOSPAM. for correct email address)
"Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument no spam DOT
a
not
DOT
want
is
all
0
checkbox
setting,
that
taskbar
but
dword:1
Post by Paul G. Tobey [eMVP]OEM Adaptation Layer. It includes stuff that the OEM has to do to make the
operating system actually run on their device. It's not like desktop
Windows where everyone's hardware is compatible, if not identical.
Paul T.
Submitted via EggHeadCafe
SQL Operations on a Text File with ADO.NET
http://www.eggheadcafe.com/tutorials/aspnet/37ed9e1b-c5de-4c0b-afbe-d8f78f9a6ecf/sql-operations-on-a-text-file-with-adonet.aspx