Click here to Skip to main content
15,919,613 members
Home / Discussions / Mobile
   

Mobile

 
GeneralMenu level 2 Pin
dlhson26-Jun-03 8:43
dlhson26-Jun-03 8:43 
GeneralRe: Menu level 2 Pin
João Paulo Figueira6-Jun-03 8:53
professionalJoão Paulo Figueira6-Jun-03 8:53 
GeneralRe: Menu level 2 Pin
dlhson26-Jun-03 16:45
dlhson26-Jun-03 16:45 
QuestionSetCursor ???????? Pin
dlhson26-Jun-03 7:13
dlhson26-Jun-03 7:13 
QuestionHow to Create Instance variable in MFC ActiveX Control Pin
subramjobmail5-Jun-03 19:20
subramjobmail5-Jun-03 19:20 
AnswerSorry i have got the answer Pin
subramjobmail5-Jun-03 21:44
subramjobmail5-Jun-03 21:44 
GeneralRemoting and a Pocket PC Pin
Mike Head4-Jun-03 22:58
Mike Head4-Jun-03 22:58 
GeneralTop-level, non-pop-up Menuitems Pin
Atlantys4-Jun-03 6:46
Atlantys4-Jun-03 6:46 
I'm trying to make a menubar so that I have an item on it that's not a pop-up item. The best way to explain what I need is the following code from my .rc file:
<br />
IDR_MAINFRAME MENU DISCARDABLE <br />
BEGIN<br />
    POPUP "&File"<br />
    BEGIN<br />
        MENUITEM "&Load File...",               ID_FILE_LOAD<br />
        MENUITEM SEPARATOR<br />
        MENUITEM "&Info...",                    ID_FILE_INFO<br />
    END<br />
    POPUP "&Options"<br />
    BEGIN<br />
        MENUITEM "&Colors...",                  ID_OPTIONS_COLORS<br />
        MENUITEM "&About...",                   ID_FILE_ABOUT<br />
    END<br />
    MENUITEM "&Top-Level",                      ID_TOP_LEVEL<br />
END<br />


So, I want to have the ID_TOP_LEVEL command on the menubar without any "parent menu" item.
This code complies fine, but when I run it on my Toshiba, the menuitem doesn't even show up (ie: not displayed). I just see the "File" and "Options" menuitems.
The only command I can see that solves my problem is this funky "shared new" menuitem. however I can't find the documentation on how to handle it (messages, etc).
I've looked through almost every .rc file for all the samples here on CP, and it seems like I'm the only person out there who wants a top-level, non-pop-up menuitem.

I'm use eVC++, MFC, and a dialog-based app.
If anyone has any ideas, please help me out.
TIA


Violence is the last refuge of the incompetent
[Salvor Hardin]

GeneralRe: Top-level, non-pop-up Menuitems Pin
João Paulo Figueira4-Jun-03 11:21
professionalJoão Paulo Figueira4-Jun-03 11:21 
GeneralRe: Top-level, non-pop-up Menuitems Pin
Atlantys5-Jun-03 16:54
Atlantys5-Jun-03 16:54 
GeneralRe: Top-level, non-pop-up Menuitems Pin
João Paulo Figueira5-Jun-03 21:57
professionalJoão Paulo Figueira5-Jun-03 21:57 
GeneralActiveX - continued :) Pin
Cedric Moonen4-Jun-03 2:19
Cedric Moonen4-Jun-03 2:19 
GeneralRe: ActiveX - continued :) Pin
João Paulo Figueira4-Jun-03 11:11
professionalJoão Paulo Figueira4-Jun-03 11:11 
GeneralRe: ActiveX - continued :) Pin
Cedric Moonen4-Jun-03 20:30
Cedric Moonen4-Jun-03 20:30 
GeneralRe: ActiveX - continued :) Pin
João Paulo Figueira4-Jun-03 22:05
professionalJoão Paulo Figueira4-Jun-03 22:05 
GeneralRe: ActiveX - continued :) Pin
Cedric Moonen4-Jun-03 22:19
Cedric Moonen4-Jun-03 22:19 
GeneralRe: ActiveX - continued :) Pin
João Paulo Figueira4-Jun-03 22:22
professionalJoão Paulo Figueira4-Jun-03 22:22 
GeneralActiveX registration Pin
Cedric Moonen3-Jun-03 22:10
Cedric Moonen3-Jun-03 22:10 
QuestionS/MIME API library? Pin
Moak2-Jun-03 1:00
Moak2-Jun-03 1:00 
AnswerRe: S/MIME API library - nothing available? Pin
Moak2-Jun-03 6:15
Moak2-Jun-03 6:15 
GeneralRTP in eVC Pin
javigimenez1-Jun-03 8:03
javigimenez1-Jun-03 8:03 
GeneralRe: RTP in eVC Pin
Daniel Strigl5-Jun-03 0:35
Daniel Strigl5-Jun-03 0:35 
GeneralRe: RTP in eVC Pin
javigimenez5-Jun-03 6:42
javigimenez5-Jun-03 6:42 
QuestionDebugging with bluetooth ? Pin
Gunnar Bolle29-May-03 21:52
Gunnar Bolle29-May-03 21:52 
AnswerRe: Debugging with bluetooth ? Pin
Anonymous6-Jun-03 8:05
Anonymous6-Jun-03 8:05 

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.