how to windiws use addRecentDocument?demo?Thanks

Windows Notes

In order to be able to use this feature on Windows, your application has to be registered as a handler of the file type of the document, otherwise the file won’t appear in JumpList even after you have added it. You can find everything on registering your application in Application Registration.

When a user clicks a file from the JumpList, a new instance of your application will be started with the path of the file added as a command line argument.

This is a duplicate of your previous thread. Please keep to one thread per topic. If nobody has answered, it may be that nobody who knows has seen the question.