Adding a file to Windows MRU
-
I think I've seen a SDK function that does this : adding a file path to the Windows/Explorer recently opened documents list. At the beginning I thought I would find the answer quickly - it was in the morning - please, can someone give me the name of that function ? Thanks, Yarp http://www.senosoft.com/
-
I think I've seen a SDK function that does this : adding a file path to the Windows/Explorer recently opened documents list. At the beginning I thought I would find the answer quickly - it was in the morning - please, can someone give me the name of that function ? Thanks, Yarp http://www.senosoft.com/
Have a look at SHAddToRecentDocs[^] Gary Kirkham Forever Forgiven and Alive in the Spirit He is no fool who gives what he cannot keep to gain what he cannot lose. - Jim Elliot Me blog, You read
-
Have a look at SHAddToRecentDocs[^] Gary Kirkham Forever Forgiven and Alive in the Spirit He is no fool who gives what he cannot keep to gain what he cannot lose. - Jim Elliot Me blog, You read
I'm a complete idiot. I scaned the internet, the Add*, Update* Set* SDK functions and forgot to check the SH* ones. Thanks a lot for the info, Yarp http://www.senosoft.com/
-
I think I've seen a SDK function that does this : adding a file path to the Windows/Explorer recently opened documents list. At the beginning I thought I would find the answer quickly - it was in the morning - please, can someone give me the name of that function ? Thanks, Yarp http://www.senosoft.com/
Hello, Take a look at this[^]. It works fine for me. But note when you use the code in the article that you do not need to override the
CWinApp::OpenDocumentFile()
function. I didn't and it still works. In technical note 22[^] it is said that it's better to leave that function alone. Hope that this is what you are looking for. I also got the blogging virus..[^] -
Hello, Take a look at this[^]. It works fine for me. But note when you use the code in the article that you do not need to override the
CWinApp::OpenDocumentFile()
function. I didn't and it still works. In technical note 22[^] it is said that it's better to leave that function alone. Hope that this is what you are looking for. I also got the blogging virus..[^]Hi Bob, I was looking for how to add a file to the Windows MRU. This is done with the SHAddToRecentDocs function as Gary told me - I did it this morning in my app and it works fine. In my software I handled the MRU manually, since I also wanted to use the list for other purpose. Thanks anyway. Yarp http://www.senosoft.com/