Click here to Skip to main content
15,908,020 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionVista magnification API Pin
Hans Dietrich1-Jan-09 13:46
mentorHans Dietrich1-Jan-09 13:46 
QuestionEmergence! 0xC0000005: Access Violation again [modified] Pin
whiteclouds1-Jan-09 12:57
whiteclouds1-Jan-09 12:57 
GeneralRe: Emergence! 0xC0000005: Access Violation again Pin
Luc Pattyn1-Jan-09 13:11
sitebuilderLuc Pattyn1-Jan-09 13:11 
GeneralRe: Emergence! 0xC0000005: Access Violation again Pin
whiteclouds1-Jan-09 14:20
whiteclouds1-Jan-09 14:20 
GeneralRe: Emergence! 0xC0000005: Access Violation again Pin
Luc Pattyn1-Jan-09 14:48
sitebuilderLuc Pattyn1-Jan-09 14:48 
GeneralRe: Emergence! 0xC0000005: Access Violation again Pin
whiteclouds3-Jan-09 14:54
whiteclouds3-Jan-09 14:54 
GeneralRe: Emergence! 0xC0000005: Access Violation again Pin
Luc Pattyn3-Jan-09 15:50
sitebuilderLuc Pattyn3-Jan-09 15:50 
QuestionMenu Items Pin
BobInNJ1-Jan-09 11:09
BobInNJ1-Jan-09 11:09 
I am developing an application using C++ and MFC. Please consider the following code from a Windows RC (Resource Script) file:

<br />
<br />
IDR_MAINFRAME MENU<br />
BEGIN<br />
    POPUP "&File" {<br />
        MENUITEM "&New",                CALC_FILE_NEW<br />
        MENUITEM "Calculate"            CALCULATE<br />
        MENUITEM "Abort Calculation"    ABORT_CALCULATION,GRAYED<br />
        MENUITEM "&Exit",               CALC_FILE_EXIT<br />
    }<br />
    .<br />
    .<br />
    .<br />


I would expect the third menu selection to be grayed out. That is, the user should not be able to select it. However, this is not what happens. I would like to know why?

Thanks

Bob
AnswerRe: Menu Items Pin
Richard Andrew x641-Jan-09 11:27
professionalRichard Andrew x641-Jan-09 11:27 
GeneralRe: Menu Items Pin
BobInNJ1-Jan-09 12:31
BobInNJ1-Jan-09 12:31 
GeneralRe: Menu Items Pin
Richard Andrew x641-Jan-09 12:35
professionalRichard Andrew x641-Jan-09 12:35 
GeneralRe: Menu Items Pin
BobInNJ1-Jan-09 12:40
BobInNJ1-Jan-09 12:40 
AnswerRe: Menu Items Pin
Richard Andrew x641-Jan-09 12:39
professionalRichard Andrew x641-Jan-09 12:39 
GeneralRe: Menu Items Pin
BobInNJ1-Jan-09 12:56
BobInNJ1-Jan-09 12:56 
QuestionAmcap C++ source code! Pin
Hadi Dayvary1-Jan-09 9:40
professionalHadi Dayvary1-Jan-09 9:40 
AnswerRe: Amcap C++ source code! Pin
Jijo.Raj1-Jan-09 10:19
Jijo.Raj1-Jan-09 10:19 
GeneralRe: Amcap C++ source code! Pin
Hadi Dayvary1-Jan-09 20:57
professionalHadi Dayvary1-Jan-09 20:57 
Question"C++" Base64 De/En coding Class Pin
Joseph Marzbani1-Jan-09 8:36
Joseph Marzbani1-Jan-09 8:36 
AnswerRe: "C++" Base64 De/En coding Class Pin
Mark Salsbery1-Jan-09 8:46
Mark Salsbery1-Jan-09 8:46 
AnswerRe: "C++" Base64 De/En coding Class Pin
Dark_eye1-Jan-09 9:37
Dark_eye1-Jan-09 9:37 
AnswerRe: "C++" Base64 De/En coding Class Pin
bob169721-Jan-09 11:49
bob169721-Jan-09 11:49 
QuestionUnClickable window... Clicks thru Pin
yytg1-Jan-09 3:35
yytg1-Jan-09 3:35 
AnswerRe: UnClickable window... Clicks thru Pin
Christopher W. Smith1-Jan-09 9:58
Christopher W. Smith1-Jan-09 9:58 
AnswerRe: UnClickable window... Clicks thru Pin
aks.1-Jan-09 17:55
aks.1-Jan-09 17:55 
GeneralRe: UnClickable window... Clicks thru Pin
yytg1-Jan-09 20:15
yytg1-Jan-09 20:15 

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.