Thread: Clearing the MRU.

  1. #1
    Registered User
    Join Date
    Aug 2005
    Posts
    8

    Clearing the MRU.

    I want to clear the MRU.
    How would I go about doing this?
    I know I can do this through the registry, but how would I edit the reg?
    Thanks!

  2. #2
    Yes, my avatar is stolen anonytmouse's Avatar
    Join Date
    Dec 2002
    Posts
    2,544
    Which MRU (Most Recently Used List) are you referring to? There are several in a standard Windows install and most programs have MRUs of their own.

    If you are referring to the recent documents MRU on the start menu, you can clear it using SHAddToRecentDocs with NULL as the second argument:
    Code:
    SHAddToRecentDocs(SHARD_PATH, NULL);
    Last edited by anonytmouse; 08-19-2005 at 12:12 AM.

  3. #3
    Registered User
    Join Date
    Aug 2005
    Posts
    8

    Re:

    Quote Originally Posted by anonytmouse
    Which MRU (Most Recently Used List) are you referring to? There are several in a standard Windows install and most programs have MRUs of their own.

    If you are referring to the recent documents MRU on the start menu, you can clear it using SHAddToRecentDocs with NULL as the second argument:
    Code:
    SHAddToRecentDocs(SHARD_PATH, NULL);
    Yeah I got that one thanks. But the run box is the one I wanna clear.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Problem Clearing Terminal
    By mrginger in forum C Programming
    Replies: 3
    Last Post: 04-15-2009, 11:58 AM
  2. Clearing lines form a text file
    By Wiretron in forum C Programming
    Replies: 2
    Last Post: 12-28-2006, 02:24 PM
  3. Problems Clearing Portion of Screen
    By Peter5897 in forum Windows Programming
    Replies: 2
    Last Post: 05-29-2006, 03:23 AM
  4. clearing things up
    By webturtle0 in forum A Brief History of Cprogramming.com
    Replies: 3
    Last Post: 11-28-2002, 03:59 PM
  5. Clearing the screen
    By Shadow in forum C Programming
    Replies: 4
    Last Post: 05-23-2002, 01:40 PM