Home > Software engineering >  How to implement the "custom [to] the menu in the" list "remove" button function
How to implement the "custom [to] the menu in the" list "remove" button function

Time:10-05




How to implement the "custom menu [to]" "clear list" button in the function, or call this function?
I want to remove operation box record (Win + R), and is effective immediately,
WinXP RunMRU delete registry in the need to restart the explorer. Exe to work, what method can take effect immediately?
The button "clear list" is effective immediately, without restarting the explorer or system, don't know how to call?

CodePudding user response:

Clear the IE cache
[code=vb] Shell "RunDll32. Exe InetCpl. CPL, ClearMyTracksByProcess 1" [code]

CodePudding user response:



There is still no clear

CodePudding user response:

One direction: after deleting RunMRU, manual point start menu \ shutdown, the dialog box as long as some cancelled, run list,
But didn't find what this time sent message

CodePudding user response:

Praise a
This method is quite special

CodePudding user response:

It is estimated that there are a SendMessageTimeout HWND_BROADCAST, WM_ *... Message, but I don't know what is,
Use Spy++ monitor? Workload is so big!

CodePudding user response:

On APIMonitor try,

CodePudding user response:

You give a screenshot does not remove the Run of MRU, but clear of the document,

You can delete the user directory Recent shortcut file in the directory

CodePudding user response:

Recent Documents, which is in my document directory at a shortcut file folder, automatically generated, as long as had deleted the folder content is clear, my system is the default location: C: \ Documents and Settings \ Administrator \ Recent, the Recent all shortcuts folder

It is easy to run the content of the list, want to delete, run the contents of the list is the registry inside the
Can what is baidu search the registry path, find it is ok to delete the related content after
A more simple way to grab the contents of a run, to copy the full text, open the registry search, full word matching, wait for a moment you can find the path

CodePudding user response:

The
refer to the original poster u013604837 response:



How to implement the "custom menu [to]" "clear list" button in the function, or call this function?
I want to remove operation box record (Win + R), and is effective immediately,
WinXP RunMRU delete registry in the need to restart the explorer. Exe to work, what method can take effect immediately?
The button "clear list" is effective immediately, without restarting the explorer or system, don't know how to call?


To take effect immediately, and then refresh system,
SHChangeNotify SHCNE_UPDATEIMAGE SHCNF_DWORD, 1, 0

CodePudding user response:

To take effect immediately, and then refresh system,
SHChangeNotify SHCNE_UPDATEIMAGE SHCNF_DWORD, 1, 0
  •  Tags:  
  • API
  • Related