Click to See Complete Forum and Search --> : Menu showing files


cube01
August 2nd, 1999, 03:41 AM
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...

Günter
August 3rd, 1999, 06:00 AM
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)