Click here to Skip to main content
14,601,377 members

C / C++ / MFC

 
QuestionTrying to add a menu bar to a dialog Pin
ForNow29-Feb-20 16:07
MemberForNow29-Feb-20 16:07 
AnswerRe: Trying to add a menu bar to a dialog Pin
Richard MacCutchan29-Feb-20 21:11
mveRichard MacCutchan29-Feb-20 21:11 
GeneralRe: Trying to add a menu bar to a dialog Pin
ForNow1-Mar-20 11:55
MemberForNow1-Mar-20 11:55 
GeneralRe: Trying to add a menu bar to a dialog Pin
Richard MacCutchan1-Mar-20 21:25
mveRichard MacCutchan1-Mar-20 21:25 
AnswerRe: Trying to add a menu bar to a dialog Pin
leon de boer29-Feb-20 21:14
Memberleon de boer29-Feb-20 21:14 
GeneralRe: Trying to add a menu bar to a dialog Pin
ForNow1-Mar-20 11:55
MemberForNow1-Mar-20 11:55 
AnswerRe: Trying to add a menu bar to a dialog Pin
Victor Nijegorodov1-Mar-20 20:54
MemberVictor Nijegorodov1-Mar-20 20:54 
GeneralRe: Trying to add a menu bar to a dialog Pin
ForNow2-Mar-20 0:51
MemberForNow2-Mar-20 0:51 
IDR_MENU

is defined in my resource file I basically took the menu for the MainFrame and wanted to use it for the Dialog

Opening up The resource editor I am beginning to think when you view a dialog with menu it wont display it

There is a only a way to view the menu by itself

once I get my code going and do a ShowWindow for the Dialog i'll see if it displays the menu


IDR_MAINFRAME MENU
BEGIN
    POPUP "&File"
    BEGIN
        MENUITEM "E&xit",                       ID_APP_EXIT
    END
    POPUP "&Edit"
    BEGIN
        MENUITEM "&Undo\tCtrl+Z",               ID_EDIT_UNDO
        MENUITEM SEPARATOR
        MENUITEM "Cu&t\tCtrl+X",                ID_EDIT_CUT
        MENUITEM "&Copy\tCtrl+C",               ID_EDIT_COPY
        MENUITEM "&Paste\tCtrl+V",              ID_EDIT_PASTE
    END
    POPUP "&View"
    BEGIN
        MENUITEM "&Toolbar",                    ID_VIEW_TOOLBAR
        MENUITEM "&Status Bar",                 ID_VIEW_STATUS_BAR
    END
    POPUP "&ProgDebug"
    BEGIN
        MENUITEM "Program Debug",               ID_DEBUG
    END
    POPUP "&Asidlist"
    BEGIN
        MENUITEM "Address Space List",          ID_ASID
    END
    POPUP "&Help"
    BEGIN
        MENUITEM "&About DBGR...",              ID_APP_ABOUT
    END
END

Questionlaunching Caliberate the screen for Pen or touch input C++ Pin
Member 1393286726-Feb-20 3:16
MemberMember 1393286726-Feb-20 3:16 
AnswerRe: launching Caliberate the screen for Pen or touch input C++ Pin
Richard Deeming26-Feb-20 3:36
mveRichard Deeming26-Feb-20 3:36 
AnswerMessage Closed Pin
5-Mar-20 1:03
Memberangela147308435-Mar-20 1:03 
QuestionTAPI http request Pin
Djalma C. Bina24-Feb-20 17:38
MemberDjalma C. Bina24-Feb-20 17:38 
AnswerRe: TAPI http request Pin
Richard MacCutchan24-Feb-20 23:10
mveRichard MacCutchan24-Feb-20 23:10 
QuestionTo bool or not to bool in C/C++ ? Pin
Vaclav_20-Feb-20 16:11
MemberVaclav_20-Feb-20 16:11 
AnswerRe: To bool or not to bool in C/C++ ? Pin
CPallini20-Feb-20 21:00
mveCPallini20-Feb-20 21:00 
AnswerRe: To bool or not to bool in C/C++ ? Pin
Stephane Capo20-Feb-20 21:55
MemberStephane Capo20-Feb-20 21:55 
AnswerRe: To bool or not to bool in C/C++ ? Pin
Richard MacCutchan20-Feb-20 22:00
mveRichard MacCutchan20-Feb-20 22:00 
AnswerRe: To bool or not to bool in C/C++ ? Pin
Victor Nijegorodov20-Feb-20 22:08
MemberVictor Nijegorodov20-Feb-20 22:08 
GeneralRe: To bool or not to bool in C/C++ ? Pin
Vaclav_21-Feb-20 10:18
MemberVaclav_21-Feb-20 10:18 
GeneralRe: To bool or not to bool in C/C++ ? Pin
k505421-Feb-20 10:51
mvek505421-Feb-20 10:51 
AnswerRe: To bool or not to bool in C/C++ ? Pin
Stefan_Lang21-Feb-20 0:31
mveStefan_Lang21-Feb-20 0:31 
AnswerRe: To bool or not to bool in C/C++ ? Pin
Vaclav_21-Feb-20 5:30
MemberVaclav_21-Feb-20 5:30 
GeneralRe: To bool or not to bool in C/C++ ? Pin
Richard MacCutchan21-Feb-20 5:54
mveRichard MacCutchan21-Feb-20 5:54 
GeneralRe: To bool or not to bool in C/C++ ? Pin
Vaclav_21-Feb-20 8:29
MemberVaclav_21-Feb-20 8:29 
GeneralRe: To bool or not to bool in C/C++ ? Pin
Richard MacCutchan21-Feb-20 22:03
mveRichard MacCutchan21-Feb-20 22:03 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.