Click here to Skip to main content
15,920,217 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalstrange problem Pin
MemLeak28-Jan-03 10:53
MemLeak28-Jan-03 10:53 
GeneralRe: strange problem Pin
AlexO28-Jan-03 11:10
AlexO28-Jan-03 11:10 
GeneralNumber of days between two days Pin
Anton A. Loukine28-Jan-03 10:29
Anton A. Loukine28-Jan-03 10:29 
GeneralRe: Number of days between two days Pin
Tim Smith28-Jan-03 10:33
Tim Smith28-Jan-03 10:33 
GeneralRe: Number of days between two days Pin
Alvaro Mendez28-Jan-03 11:45
Alvaro Mendez28-Jan-03 11:45 
GeneralLet's complicate the matter a bit ... Pin
Anton A. Loukine29-Jan-03 3:26
Anton A. Loukine29-Jan-03 3:26 
GeneralRe: Let's complicate the matter a bit ... Pin
Alvaro Mendez29-Jan-03 4:24
Alvaro Mendez29-Jan-03 4:24 
QuestionON_COMMAND for a dynamic menu? Pin
ns28-Jan-03 10:07
ns28-Jan-03 10:07 
I have (hopefully) set up the menu for NOTIFYBYPOS.

In the cpp file, I want to add a message map entry for a menu item thats got no ID.
I have put in
afx_msg void OnMenuCommand( WPARAM wParam, LPARAM lParam);
in the h file

When the dynamic non-ID bearing menu items are clicked, I want to trap the WM_MENUCOMMAND issued.

I'm thinking

ON_COMMAND(<code>WHat_Goes_Here</code>, OnMenuCommand)
...Confused | :confused:

In the usual ON_COMMAND they have an ID_SOMETHING as the first parameter to this map statement...



Appreciate your help,
ns
AnswerRe: ON_COMMAND for a dynamic menu? Pin
ns28-Jan-03 11:23
ns28-Jan-03 11:23 
GeneralProperty Pages and Buttons Pin
John W Hagen28-Jan-03 10:03
John W Hagen28-Jan-03 10:03 
GeneralRe: Property Pages and Buttons Pin
Member 10559028-Jan-03 18:19
Member 10559028-Jan-03 18:19 
GeneralRe: Property Pages and Buttons Pin
Debs29-Jan-03 0:24
Debs29-Jan-03 0:24 
GeneralRe: Property Pages and Buttons Pin
John W Hagen29-Jan-03 1:14
John W Hagen29-Jan-03 1:14 
GeneralRe: Property Pages and Buttons Pin
John W Hagen29-Jan-03 1:16
John W Hagen29-Jan-03 1:16 
GeneralUsing Microsoft C++ 6.0 instead of using old C Compiler... Pin
IrishSonic28-Jan-03 9:47
IrishSonic28-Jan-03 9:47 
GeneralRe: Using Microsoft C++ 6.0 instead of using old C Compiler... Pin
AlexO28-Jan-03 11:08
AlexO28-Jan-03 11:08 
GeneralRe: Using Microsoft C++ 6.0 instead of using old C Compiler... Pin
IrishSonic28-Jan-03 11:27
IrishSonic28-Jan-03 11:27 
GeneralRe: Using Microsoft C++ 6.0 instead of using old C Compiler... Pin
AlexO29-Jan-03 9:53
AlexO29-Jan-03 9:53 
QuestionGet point size from font? Pin
Moak28-Jan-03 9:02
Moak28-Jan-03 9:02 
AnswerRe: Get point size from font? Pin
valikac28-Jan-03 9:13
valikac28-Jan-03 9:13 
GeneralRe: Get point size from font? Pin
Moak28-Jan-03 9:26
Moak28-Jan-03 9:26 
GeneralRe: Get point size from font? Pin
valikac28-Jan-03 12:05
valikac28-Jan-03 12:05 
GeneralRe: Get point size from font? Pin
Moak28-Jan-03 20:12
Moak28-Jan-03 20:12 
QuestionHow to draw shadow for my thumbnail image? Pin
Hiusing28-Jan-03 8:06
Hiusing28-Jan-03 8:06 
AnswerRe: How to draw shadow for my thumbnail image? Pin
Chris Losinger28-Jan-03 8:37
professionalChris Losinger28-Jan-03 8:37 

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.