Click here to Skip to main content
15,900,631 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: AfxGetAppName() equivalent Pin
David Crow4-May-05 3:15
David Crow4-May-05 3:15 
GeneralRe: AfxGetAppName() equivalent Pin
Michael Dunn4-May-05 16:37
sitebuilderMichael Dunn4-May-05 16:37 
GeneralObjectARX ?. please someone help Pin
Ista3-May-05 18:28
Ista3-May-05 18:28 
GeneralRe: ObjectARX ?. please someone help Pin
Christian Graus3-May-05 18:54
protectorChristian Graus3-May-05 18:54 
GeneralRe: ObjectARX ?. please someone help Pin
Ista4-May-05 13:15
Ista4-May-05 13:15 
GeneralRe: ObjectARX ?. please someone help Pin
Joel Lucsy4-May-05 13:38
Joel Lucsy4-May-05 13:38 
GeneralChange the property of a menu Pin
houari_id3-May-05 17:23
houari_id3-May-05 17:23 
GeneralRe: Change the property of a menu Pin
Christian Graus3-May-05 18:07
protectorChristian Graus3-May-05 18:07 
It doesn't work that way. When you have a menu item selected in the IDE, there are two messages you can catch. One is the click event, the other is called just before a menu item is shown. You keep a bool in your app to tell you if a menu item is disabled, and in that method, you take the menu item ( which is passed in from memory, as a pointer ), and you set if it's enabled or not using that boolean value. The same goes for check marks, etc. Any change to a menu items state happens in this event handler.


Christian Graus - Microsoft MVP - C++
GeneralRe: Change the property of a menu Pin
David Crow4-May-05 3:09
David Crow4-May-05 3:09 
Generalsyntax error C2146 Pin
mikelon3-May-05 15:03
mikelon3-May-05 15:03 
GeneralRe: syntax error C2146 Pin
Christian Graus3-May-05 15:26
protectorChristian Graus3-May-05 15:26 
GeneralRe: syntax error C2146 Pin
Bob Stanneveld3-May-05 22:30
Bob Stanneveld3-May-05 22:30 
GeneralRe: syntax error C2146 Pin
David Crow4-May-05 3:07
David Crow4-May-05 3:07 
Generalsystem menu by API Pin
microsoftcertificate3-May-05 13:56
sussmicrosoftcertificate3-May-05 13:56 
GeneralRe: system menu by API Pin
David Crow3-May-05 16:40
David Crow3-May-05 16:40 
GeneralRe: system menu by API Pin
microsoftcertificate3-May-05 22:51
sussmicrosoftcertificate3-May-05 22:51 
GeneralRe: system menu by API Pin
David Crow4-May-05 3:05
David Crow4-May-05 3:05 
QuestionHow to detect the browser version? Pin
Cyrus Dang3-May-05 13:02
Cyrus Dang3-May-05 13:02 
AnswerRe: How to detect the browser version? Pin
David Crow3-May-05 16:51
David Crow3-May-05 16:51 
GeneralRe: How to detect the browser version? Pin
Cyrus Dang3-May-05 16:55
Cyrus Dang3-May-05 16:55 
GeneralRe: How to detect the browser version? Pin
Priyank Bolia3-May-05 19:33
Priyank Bolia3-May-05 19:33 
GeneralRe: How to detect the browser version? Pin
David Crow4-May-05 2:08
David Crow4-May-05 2:08 
GeneralRe: How to detect the browser version? Pin
Cyrus Dang4-May-05 7:48
Cyrus Dang4-May-05 7:48 
GeneralToggle line numbers in MS Visual C++ 6.0 Pin
knapak3-May-05 12:31
knapak3-May-05 12:31 
GeneralRe: Toggle line numbers in MS Visual C++ 6.0 Pin
David Crow3-May-05 16:49
David Crow3-May-05 16:49 

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.