Click here to Skip to main content
15,892,298 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to Resize BMP image in C Pin
LoveneetSingh14-Sep-09 4:25
LoveneetSingh14-Sep-09 4:25 
GeneralRe: How to Resize BMP image in C Pin
Richard MacCutchan14-Sep-09 7:11
mveRichard MacCutchan14-Sep-09 7:11 
GeneralRe: How to Resize BMP image in C Pin
CPallini14-Sep-09 7:43
mveCPallini14-Sep-09 7:43 
QuestionShowing images in the dialog box Pin
Game-point13-Sep-09 20:11
Game-point13-Sep-09 20:11 
AnswerRe: Showing images in the dialog box Pin
Code-o-mat13-Sep-09 20:31
Code-o-mat13-Sep-09 20:31 
QuestionRe: Showing images in the dialog box Pin
CPallini13-Sep-09 20:33
mveCPallini13-Sep-09 20:33 
Questionchange message handler prototype's name Pin
Sujay chakraborty13-Sep-09 19:44
Sujay chakraborty13-Sep-09 19:44 
AnswerRe: change message handler prototype's name Pin
Adam Roderick J13-Sep-09 20:21
Adam Roderick J13-Sep-09 20:21 
Yes you can add your own message handler for that.

Firstly remove OnChar() function from MESSAGE MAP and remove all entries related to it.
then
just add the ON_MESSAGE for WM_CHAR in .cpp file

BEGIN_MESSAGE_MAP(CMDI_CharView, CEditView)
//{{AFX_MSG_MAP(CMDI_CharView)
//}}AFX_MSG_MAP
ON_MESSAGE( WM_CHAR, MyOnCharMessageHandlerFunction )
END_MESSAGE_MAP()

and in .h file add your message handler function.
protected:
//{{AFX_MSG(CMDI_CharView)
//}}AFX_MSG
afx_msg void MyOnCharMessageHandlerFunction (UINT nChar, UINT nRepCnt, UINT nFlags);
DECLARE_MESSAGE_MAP()
Smile | :)

Величие не Бога может быть недооценена.

GeneralRe: change message handler prototype's name Pin
Naveen13-Sep-09 20:31
Naveen13-Sep-09 20:31 
GeneralRe: change message handler prototype's name Pin
Adam Roderick J13-Sep-09 20:55
Adam Roderick J13-Sep-09 20:55 
Question[Message Deleted] Pin
jadhavjitendrar13-Sep-09 18:05
jadhavjitendrar13-Sep-09 18:05 
AnswerRe: How to Convert Text file to MDB using vc++ Pin
_AnsHUMAN_ 13-Sep-09 18:33
_AnsHUMAN_ 13-Sep-09 18:33 
QuestionGeneral Ifndef and Define Question [modified] Pin
lgm42013-Sep-09 4:14
lgm42013-Sep-09 4:14 
AnswerRe: General Ifndef and Define Question Pin
Chris Losinger13-Sep-09 6:40
professionalChris Losinger13-Sep-09 6:40 
GeneralRe: General Ifndef and Define Question Pin
lgm42013-Sep-09 13:17
lgm42013-Sep-09 13:17 
GeneralRe: General Ifndef and Define Question Pin
Cedric Moonen13-Sep-09 20:31
Cedric Moonen13-Sep-09 20:31 
GeneralRe: General Ifndef and Define Question [modified] Pin
lgm42014-Sep-09 9:04
lgm42014-Sep-09 9:04 
GeneralRe: General Ifndef and Define Question Pin
Richard MacCutchan14-Sep-09 11:21
mveRichard MacCutchan14-Sep-09 11:21 
AnswerRe: General Ifndef and Define Question Pin
KarstenK13-Sep-09 22:51
mveKarstenK13-Sep-09 22:51 
AnswerRe: General Ifndef and Define Question Pin
Richard MacCutchan13-Sep-09 23:34
mveRichard MacCutchan13-Sep-09 23:34 
GeneralRe: General Ifndef and Define Question Pin
lgm42014-Sep-09 9:25
lgm42014-Sep-09 9:25 
GeneralRe: General Ifndef and Define Question Pin
Richard MacCutchan14-Sep-09 11:22
mveRichard MacCutchan14-Sep-09 11:22 
QuestionHook communication Pin
paperboy212-Sep-09 23:11
paperboy212-Sep-09 23:11 
AnswerRe: Hook communication Pin
«_Superman_»13-Sep-09 18:19
professional«_Superman_»13-Sep-09 18:19 
AnswerRe: Hook communication Pin
Naveen13-Sep-09 18:35
Naveen13-Sep-09 18:35 

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.