Thread: Change/update Startmenue, Taskbar, Systemtray

  1. #1
    Registered User
    Join Date
    Jul 2004
    Posts
    1

    Question Change/update Startmenue, Taskbar, Systemtray

    Hello folks!

    I'm actually not asking for myself, but for a friend without access to the internet ... I hope I can still do the transmission since I never wrote windows specific code ...

    THE PROBLEM:

    My friend was reading in the registry of his Windows XP and found some keys controlling the Taskbar. Now he wants to write a cute little program to circumvent the Regedit. So far he managed to change the values, but the change is not reflected in the taskbar until he logs off or does some kind of manual refresh (F5?).

    Next he observed what happens in the system when the Update button in the properties dialog is pressed. There is a flood of several hundret system messages/events.

    He was playing around with those but could not find the essential ones.

    THE QUESTION:

    Which messages/events will cause a refresh & rereading of the registry values?

    Is there a preferred method to tell the taskbar/startmenue/systemtray to rescan the registry for the correct appearence?

    Thanks a lot
    y0011482

  2. #2
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,793
    It really depends on what he's doing. Some things can be done with a COM interface (Shortcuts created in the start menu folder), some things can be done with an API (System tray icons).

    It depends on exactly what he's trying

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Taskbar stupidity
    By @nthony in forum Windows Programming
    Replies: 4
    Last Post: 07-31-2007, 05:04 PM
  2. Getting all window handles on taskbar
    By Yuri in forum Windows Programming
    Replies: 1
    Last Post: 06-17-2006, 04:31 PM
  3. Replies: 0
    Last Post: 11-08-2005, 02:28 AM
  4. Problem with an icon in the TaskBar status area
    By dit6a9 in forum Windows Programming
    Replies: 2
    Last Post: 08-16-2004, 10:33 PM
  5. How do I show the taskbar without activating it?
    By avn in forum Windows Programming
    Replies: 1
    Last Post: 02-22-2003, 09:21 PM