Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. How do you clear recent documents...

How do you clear recent documents...

Scheduled Pinned Locked Moved C / C++ / MFC
c++linuxquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Snyp
    wrote on last edited by
    #1

    When I made an MFC app I included support for 4 recent documents but how can you erase these? Actual Linux Penguins were harmed in the creation of this message.

    M 1 Reply Last reply
    0
    • S Snyp

      When I made an MFC app I included support for 4 recent documents but how can you erase these? Actual Linux Penguins were harmed in the creation of this message.

      M Offline
      M Offline
      Mike Dimmick
      wrote on last edited by
      #2

      I think you'll have to use the undocumented class CRecentFileList, which manages this file list. The file list is owned by CWinApp, which has the m_pRecentFileList member. This member is protected, so you'll have to add code to manipulate it to your application class which derives from CWinApp. Stability. What an interesting concept. -- Chris Maunder

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups