Click here to Skip to main content
15,902,275 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionGDI+: Image Save returned Invalid Parameter Pin
raed9-Nov-05 3:13
raed9-Nov-05 3:13 
QuestionMenu items grayed out? Pin
Jesper Knudsen9-Nov-05 2:44
Jesper Knudsen9-Nov-05 2:44 
QuestionRe: Menu items grayed out? Pin
David Crow9-Nov-05 3:05
David Crow9-Nov-05 3:05 
AnswerRe: Menu items grayed out? Pin
Jesper Knudsen9-Nov-05 3:25
Jesper Knudsen9-Nov-05 3:25 
GeneralRe: Menu items grayed out? Pin
David Crow9-Nov-05 3:36
David Crow9-Nov-05 3:36 
GeneralRe: Menu items grayed out? Pin
Jesper Knudsen9-Nov-05 3:55
Jesper Knudsen9-Nov-05 3:55 
GeneralRe: Menu items grayed out? Pin
John M. Drescher9-Nov-05 4:10
John M. Drescher9-Nov-05 4:10 
GeneralRe: Menu items grayed out? Pin
David Crow9-Nov-05 4:13
David Crow9-Nov-05 4:13 
Jesper Knudsen wrote:
So I shouldn't override OnCommand(), instead I should create a handler?


That's how I would proceed.

Jesper Knudsen wrote:
I just wonder - why is OnCommand() virtual then?


It has its purpose. My most recent use of it was on a property sheet. I needed to handle the clicking of the OK button.


"Take only what you need and leave the land as you found it." - Native American Proverb


GeneralRe: Menu items grayed out? Pin
Jesper Knudsen9-Nov-05 4:12
Jesper Knudsen9-Nov-05 4:12 
GeneralRe: Menu items grayed out? Pin
David Crow9-Nov-05 5:36
David Crow9-Nov-05 5:36 
QuestionHide the blue task pane in a CHtmlView??? Pin
gleditzsch9-Nov-05 2:35
gleditzsch9-Nov-05 2:35 
AnswerRe: Hide the blue task pane in a CHtmlView??? Pin
Ed K9-Nov-05 7:31
Ed K9-Nov-05 7:31 
GeneralRe: Hide the blue task pane in a CHtmlView??? Pin
gleditzsch9-Nov-05 20:33
gleditzsch9-Nov-05 20:33 
Questionevent when loading a dll Pin
Mathefreak9-Nov-05 2:29
Mathefreak9-Nov-05 2:29 
AnswerRe: event when loading a dll Pin
Blake Miller9-Nov-05 4:27
Blake Miller9-Nov-05 4:27 
QuestionHow to pass CStatic as normal variable to member function Pin
LaHaHa9-Nov-05 1:46
LaHaHa9-Nov-05 1:46 
AnswerRe: How to pass CStatic as normal variable to member function Pin
Cedric Moonen9-Nov-05 2:17
Cedric Moonen9-Nov-05 2:17 
GeneralRe: How to pass CStatic as normal variable to member function Pin
LaHaHa9-Nov-05 2:34
LaHaHa9-Nov-05 2:34 
AnswerRe: How to pass CStatic as normal variable to member function Pin
Mike Dimmick9-Nov-05 3:14
Mike Dimmick9-Nov-05 3:14 
GeneralRe: How to pass CStatic as normal variable to member function Pin
Tim Smith9-Nov-05 3:17
Tim Smith9-Nov-05 3:17 
AnswerRe: How to pass CStatic as normal variable to member function Pin
Tim Smith9-Nov-05 3:16
Tim Smith9-Nov-05 3:16 
GeneralRe: How to pass CStatic as normal variable to member function Pin
LaHaHa9-Nov-05 15:03
LaHaHa9-Nov-05 15:03 
Questionhow to send and get data from USB port??? Pin
vikas amin9-Nov-05 0:17
vikas amin9-Nov-05 0:17 
AnswerRe: how to send and get data from USB port??? Pin
Trollslayer9-Nov-05 1:24
mentorTrollslayer9-Nov-05 1:24 
GeneralRe: how to send and get data from USB port??? Pin
vikas amin9-Nov-05 1:49
vikas amin9-Nov-05 1: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.