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

C / C++ / MFC

 
GeneralRe: How to manually disable Menu item? Pin
Ryan Binns7-Aug-03 1:43
Ryan Binns7-Aug-03 1:43 
GeneralRe: How to manually disable Menu item? Pin
vgrigor7-Aug-03 1:50
vgrigor7-Aug-03 1:50 
GeneralRe: How to manually disable Menu item? Pin
Ryan Binns7-Aug-03 2:03
Ryan Binns7-Aug-03 2:03 
GeneralRe: How to manually disable Menu item? Pin
vgrigor7-Aug-03 2:12
vgrigor7-Aug-03 2:12 
GeneralRe: How to manually disable Menu item? Pin
vgrigor7-Aug-03 3:31
vgrigor7-Aug-03 3:31 
Generalmessage id Pin
ranjjj7-Aug-03 0:09
ranjjj7-Aug-03 0:09 
GeneralRe: message id Pin
Vitali Halershtein7-Aug-03 0:14
Vitali Halershtein7-Aug-03 0:14 
GeneralRe: message id Pin
dharani7-Aug-03 0:24
dharani7-Aug-03 0:24 
hello ranjani
In modular programming like C++ and VC++ the control o fprogram passes from one area to another based on certain conditions . usually u do it with goto function in C but here in OOPS the control transfers from one line to another by message ids . ie when the user clicks on a menu a message like WM_COMMAND(menuitem , handler) -- here the first param in the WM_COMMAND is the menu item which the user clicked and the second item is the function name which will be fired once the message is fired . So U write whatever u want to do in the menu item here inside the handler that way the control of program gets transferred to the handler function . also other type of messages are also there like
system messages like WM_CLOSE , ON_FILE_OPEN like that but the handlers r already written for them . another type is POST_THREAD_MESSAGE ( MESSAGE) here the message can be posted by any object of a Class CWinThread and the handler function can be written for this mesasge also as mentioned above . hope u will find more info from msdn ( clumsy huh??) dharanibabus@hotmail.com
GeneralSelecting multiple files in openFIleDialog Pin
BoudewijnEctor6-Aug-03 23:57
BoudewijnEctor6-Aug-03 23:57 
GeneralRe: Selecting multiple files in openFIleDialog Pin
Vitali Halershtein7-Aug-03 0:17
Vitali Halershtein7-Aug-03 0:17 
GeneralRe: Selecting multiple files in openFIleDialog Pin
BoudewijnEctor7-Aug-03 0:21
BoudewijnEctor7-Aug-03 0:21 
GeneralRe: Selecting multiple files in openFIleDialog Pin
Vitali Halershtein7-Aug-03 0:41
Vitali Halershtein7-Aug-03 0:41 
Generalclickety Pin
PJ Arends7-Aug-03 10:41
professionalPJ Arends7-Aug-03 10:41 
GeneralRe: Selecting multiple files in openFIleDialog Pin
David Crow7-Aug-03 4:01
David Crow7-Aug-03 4:01 
QuestionHow to Draw text in CEditView? Pin
Habbit6-Aug-03 23:19
Habbit6-Aug-03 23:19 
AnswerRe: How to Draw text in CEditView? Pin
Vitali Halershtein6-Aug-03 23:27
Vitali Halershtein6-Aug-03 23:27 
GeneralRe: How to Draw text in CEditView? Pin
Habbit6-Aug-03 23:37
Habbit6-Aug-03 23:37 
GeneralRe: How to Draw text in CEditView? Pin
Vitali Halershtein6-Aug-03 23:46
Vitali Halershtein6-Aug-03 23:46 
AnswerRe: How to Draw text in CEditView? Pin
Alexandru Savescu6-Aug-03 23:44
Alexandru Savescu6-Aug-03 23:44 
AnswerRe: How to Draw text in CEditView? Pin
Ryan Binns6-Aug-03 23:57
Ryan Binns6-Aug-03 23:57 
GeneralRe: How to Draw text in CEditView? Pin
Habbit7-Aug-03 15:53
Habbit7-Aug-03 15:53 
GeneralDIrectoy selection, and creating Pin
BoudewijnEctor6-Aug-03 23:19
BoudewijnEctor6-Aug-03 23:19 
GeneralRe: DIrectoy selection, and creating Pin
jhwurmbach6-Aug-03 23:55
jhwurmbach6-Aug-03 23:55 
GeneralRe: DIrectoy selection, and creating Pin
BoudewijnEctor6-Aug-03 23:59
BoudewijnEctor6-Aug-03 23:59 
GeneralRe: DIrectoy selection, and creating Pin
jhwurmbach7-Aug-03 0:02
jhwurmbach7-Aug-03 0:02 

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.