|
-
August 2nd, 1999, 03:41 AM
#1
Menu showing files
Is there a way to implement a menu in my app and have one of the drop-downs show all the files in a directory? If there is, can I get a lil' help here? thanks...
-
August 3rd, 1999, 06:00 AM
#2
Re: Menu showing files
you need to read directory self with e.g. CFileFind or ::FindFirstFile
and create and add menu items self at runtime with function of CMenu class, then you can append the menu somewhere in your standard menu or use it as context menu.
Günter
http://www.iicm.edu/Cpub (MIDI Utilities for Windows)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|