Recycle bin properties set through registry- XP embedded
WinXPTalk.com Forum Index WinXPTalk.com
Forums for Windows XP users.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web winxptalk.com
Recycle bin properties set through registry- XP embedded

 
Post new topic   Reply to topic    WinXPTalk.com Forum Index -> Embedded System
Author Message
Maria
Guest





Posted: Fri Jan 14, 2005 9:37 am    Post subject: Recycle bin properties set through registry- XP embedded Reply with quote

Hi,

Please let me know if there is some possible sol to the following query.

Is there any way to set Recycle bin properties-->global tab-->Display delete
confirmation dialog(check box -checked) through registry key ?

Thanks in advance.
Maria
--
Life is a strange teacher , it gives test first and then the lesson!
Back to top
Maria
Guest





Posted: Fri Jan 14, 2005 9:37 am    Post subject: Re: Recycle bin properties set through registry- XP embedded Reply with quote

Thanks a lot Lucvdv for the interesting information...u r gr8.

Maria

"Lucvdv" wrote:

Quote:
On Thu, 13 Jan 2005 22:31:01 -0800, "Maria"
Maria@discussions.microsoft.com> wrote:

Hi,

Please let me know if there is some possible sol to the following query.

Is there any way to set Recycle bin properties-->global tab-->Display delete
confirmation dialog(check box -checked) through registry key ?

Thanks in advance.
Maria

The setting is saved in a binary value containing other parameters as well.

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer

Value ShellState is for example:

24 00 00 00 37 A8 00 00 ....

The fifth byte contains this setting: 33 = confirmation on, 37 = off.
It's a bitmap, where bit 3 (0000 0100 binary) is the one you want.

The other bits control other settings, for example 0100 0000 = Active
Desktop on/off (called "lock web items on desktop" in XP).

Show desktop icons on/off = bit 0001 0000 of the next byte.


After changing it directly in the registry, explorer (the shell instance)
has to be restarted before it takes effect.

Back to top
KM
Guest





Posted: Fri Jan 14, 2005 9:37 am    Post subject: Re: Recycle bin properties set through registry- XP embedded Reply with quote

Or, in case the value gets set to default when the user account is created (up to testing), you can use SHGetSetSettings API
(SSF_NOCONFIRMRECYCLE mask, bSet=True).

KM

Quote:
On Thu, 13 Jan 2005 22:31:01 -0800, "Maria"
Maria@discussions.microsoft.com> wrote:

Hi,

Please let me know if there is some possible sol to the following query.

Is there any way to set Recycle bin properties-->global tab-->Display delete
confirmation dialog(check box -checked) through registry key ?

Thanks in advance.
Maria

The setting is saved in a binary value containing other parameters as well.

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer

Value ShellState is for example:

24 00 00 00 37 A8 00 00 ....

The fifth byte contains this setting: 33 = confirmation on, 37 = off.
It's a bitmap, where bit 3 (0000 0100 binary) is the one you want.

The other bits control other settings, for example 0100 0000 = Active
Desktop on/off (called "lock web items on desktop" in XP).

Show desktop icons on/off = bit 0001 0000 of the next byte.


After changing it directly in the registry, explorer (the shell instance)
has to be restarted before it takes effect.
Back to top
Lucvdv
Guest





Posted: Fri Jan 14, 2005 9:37 am    Post subject: Re: Recycle bin properties set through registry- XP embedded Reply with quote

On Thu, 13 Jan 2005 22:31:01 -0800, "Maria"
<Maria@discussions.microsoft.com> wrote:

Quote:
Hi,

Please let me know if there is some possible sol to the following query.

Is there any way to set Recycle bin properties-->global tab-->Display delete
confirmation dialog(check box -checked) through registry key ?

Thanks in advance.
Maria

The setting is saved in a binary value containing other parameters as well.

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer

Value ShellState is for example:

24 00 00 00 37 A8 00 00 ....

The fifth byte contains this setting: 33 = confirmation on, 37 = off.
It's a bitmap, where bit 3 (0000 0100 binary) is the one you want.

The other bits control other settings, for example 0100 0000 = Active
Desktop on/off (called "lock web items on desktop" in XP).

Show desktop icons on/off = bit 0001 0000 of the next byte.


After changing it directly in the registry, explorer (the shell instance)
has to be restarted before it takes effect.
Back to top
 
Post new topic   Reply to topic    WinXPTalk.com Forum Index -> Embedded System All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Office Forums Access Forums Windows Server Exchange Server Help
New Topics Powered by phpBB