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

    Add a menu to a dialog

    Hi i am making a dialog-based app and i want to add a menu to it. I followed a tutorial on how to make the menu in my resource script and that compiles fine, but the tutorial only shows how to add the menu to a window, not a dialog. how do i do this? do i do it in the resource script or in the cpp file? please include a short code example if possible. Thank you!

    Tom

  2. #2
    Join Date
    May 2002
    Location
    Somewhere over the rainbow
    Posts
    423
    hrm..
    make a new Menu via the resource maker in VC
    and go to your dialog properties (in the resoure maker)
    at the general tab select the new created menu from the drop down combobox.
    Bengi

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