Click here to Skip to main content
15,905,508 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: DIBitmap Pin
Chris Losinger15-Oct-05 16:56
professionalChris Losinger15-Oct-05 16:56 
GeneralRe: DIBitmap Pin
daojinliu15-Oct-05 18:24
daojinliu15-Oct-05 18:24 
GeneralRe: DIBitmap Pin
Chris Losinger15-Oct-05 18:45
professionalChris Losinger15-Oct-05 18:45 
GeneralRe: DIBitmap Pin
PJ Arends15-Oct-05 20:54
professionalPJ Arends15-Oct-05 20:54 
GeneralRe: DIBitmap Pin
daojinliu16-Oct-05 0:40
daojinliu16-Oct-05 0:40 
GeneralRe: DIBitmap Pin
PJ Arends16-Oct-05 8:09
professionalPJ Arends16-Oct-05 8:09 
QuestionREQ : Question with message box. Pin
zerofire15-Oct-05 15:42
zerofire15-Oct-05 15:42 
AnswerRe: REQ : Question with message box. Pin
David Crow15-Oct-05 16:15
David Crow15-Oct-05 16:15 
AnswerRe: REQ : Question with message box. Pin
Jack Puppy15-Oct-05 16:19
Jack Puppy15-Oct-05 16:19 
GeneralRe: REQ : Question with message box. Pin
zerofire15-Oct-05 16:27
zerofire15-Oct-05 16:27 
AnswerRe: REQ : Question with message box. Pin
daojinliu16-Oct-05 0:52
daojinliu16-Oct-05 0:52 
QuestionHow to delete a class? Pin
kevincwong15-Oct-05 15:37
kevincwong15-Oct-05 15:37 
AnswerRe: How to delete a class? Pin
daojinliu15-Oct-05 15:56
daojinliu15-Oct-05 15:56 
GeneralRe: How to delete a class? Pin
kevincwong15-Oct-05 16:45
kevincwong15-Oct-05 16:45 
QuestionEnumerate (list) USB Webcams Pin
Howard Anderson15-Oct-05 15:27
Howard Anderson15-Oct-05 15:27 
AnswerRe: Enumerate (list) USB Webcams Pin
FlyingTinman19-Oct-05 16:09
FlyingTinman19-Oct-05 16:09 
GeneralRe: Enumerate (list) USB Webcams Pin
Howard Anderson10-Nov-05 4:31
Howard Anderson10-Nov-05 4:31 
QuestionMenu invokes dialog Pin
kevincwong15-Oct-05 12:52
kevincwong15-Oct-05 12:52 
Hi,

I am new to MFC. I am trying to invoke a dialog from
the menu.

I read the menus for beginners.

http://www.codeproject.com/menu/MenusForBeginners.asp

But I still a bit confused.

Here is what I did.

I already created a dialog, ID: IDD_MY_DIALOG.
I also created a menu item and added event_handler
with Message type: COMMAND, Class list: CMainFrame,
ID: ID_MY_DIALOG.

So, the Wizard created a default method for me

void CMainFrame::OnMy_Dialog()
{
// TODO: Add your command handler code here
}

But I don't how to invoke my dialog when
user clicked the "My_Dialog" menu item.

Any help would be appreciated?


Thanks,

Kevin
AnswerRe: Menu invokes dialog Pin
Roger Allen15-Oct-05 13:46
Roger Allen15-Oct-05 13:46 
GeneralRe: Menu invokes dialog Pin
kevincwong15-Oct-05 14:00
kevincwong15-Oct-05 14:00 
GeneralRe: Menu invokes dialog Pin
kevincwong15-Oct-05 15:19
kevincwong15-Oct-05 15:19 
QuestionCBitmap Pin
fjlv200515-Oct-05 11:37
fjlv200515-Oct-05 11:37 
AnswerRe: CBitmap Pin
Prakash Nadar15-Oct-05 19:07
Prakash Nadar15-Oct-05 19:07 
GeneralRe: CBitmap Pin
fjlv200517-Oct-05 14:44
fjlv200517-Oct-05 14:44 
GeneralRe: CBitmap Pin
Prakash Nadar17-Oct-05 16:30
Prakash Nadar17-Oct-05 16:30 

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.