CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 1999
    Posts
    535

    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...


  2. #2
    Join Date
    Aug 1999
    Location
    Austria
    Posts
    7

    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
  •  





Click Here to Expand Forum to Full Width

Featured