🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #5960

Help with registry

#5960
From: mike
Date: Wed, 22 Jun 2005 13:58
26 lines
2193 bytes
I am testing some registry updates for a project that I will be developing 
and I need some insight. Just for testing I am using the Registry entry of 
not showing context menus on the taskbar. I am using this simply because it 
is a fast way to test.

So this registry entry ( the removal of context menus from the taskbar) can 
be adjusted using the group policy editor, and when you adjust this and hit 
the apply key in the policy editor the desktop flashes as if internally the 
new value is being refreshed to explorer. The other thing is the new value 
does take effect right away.

Now if I adjust the registry through my test application the new setting 
sometimes takes and sometimes does not take. I can also verify this by using 
the registry editor.

So my question is, what is the group policy editor doing internally to force 
the new registry value to become effective immediately. Is there some API 
that I can use to update explorer immediately after the registry entry has 
been adjusted.

Could someone explain to me what the group policy editor is doing to make 
the desktop flash as if it is doing a refresh.

Thanks for any information on this, I appreciate it.

Mike 
Technical Details
Message-ID: <42b9606b@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news3.google.com!news.glorb.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!feed5.newsreader.com!newsreader.com!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,9b6ee0a2200787e,start
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "mike" <mfbrowne@earthlink.nnet>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Help with registry
Date: Wed, 22 Jun 2005 09:58:48 -0400
Lines: 28
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
NNTP-Posting-Host: 68.204.189.169
Message-ID: <42b9606b@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1119445099 68.204.189.169 (22 Jun 2005 05:58:19 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news3.google.com!news.glorb.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!feed5.newsreader.com!newsreader.com!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail