Click here to Skip to main content
15,893,588 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: converting LPCSTR to char* Pin
sarat5-Dec-07 1:58
sarat5-Dec-07 1:58 
Questionhow to set transparent color for a perticular color Pin
sarat4-Dec-07 21:01
sarat4-Dec-07 21:01 
AnswerRe: how to set transparent color for a perticular color Pin
Cedric Moonen4-Dec-07 21:13
Cedric Moonen4-Dec-07 21:13 
GeneralRe: how to set transparent color for a perticular color Pin
sarat4-Dec-07 21:42
sarat4-Dec-07 21:42 
AnswerRe: how to set transparent color for a perticular color Pin
GauranG Shah5-Dec-07 0:43
GauranG Shah5-Dec-07 0:43 
AnswerRe: how to set transparent color for a perticular color Pin
Mark Salsbery5-Dec-07 5:57
Mark Salsbery5-Dec-07 5:57 
GeneralRe: how to set transparent color for a perticular color Pin
sarat5-Dec-07 19:59
sarat5-Dec-07 19:59 
GeneralMessage Mapping Problem Pin
Md. Mazharul Islam Khan4-Dec-07 20:57
Md. Mazharul Islam Khan4-Dec-07 20:57 
I wrote a class CCamCtrl. I use a Custom message WM_CAPTURE_IMAGE and used message mapping. A dll is to post message. I think dll does not post messsage, sothat OnCaptureData(WPARAM wParam, LPARAM lParam ) event can't be called.

Are there any problem in my code or in dll.

here i mention that dll works well for dialog based application.
Can anyone help me?

Thanks in Advance
Mazhar



header file
class CCamCtrl : public COleControl
{
//some code
///
///

// Message maps
//{{AFX_MSG(CCamCtrl)
afx_msg void OnCaptureData(WPARAM wParam, LPARAM lParam );
afx_msg void OnShowWindow(BOOL bShow, UINT nStatus);
afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
afx_msg void OnTimer(UINT nIDEvent);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};

in cpp i wrote
BEGIN_MESSAGE_MAP(CCamCtrl, COleControl)
//{{AFX_MSG_MAP(CCamCtrl)
ON_MESSAGE(WM_CAPTURE_IMAGE,OnCaptureData)
ON_WM_SHOWWINDOW()
ON_WM_LBUTTONDOWN()
ON_WM_TIMER()
//}}AFX_MSG_MAP

ON_MESSAGE(OCM_COMMAND, OnOcmCommand)
ON_OLEVERB(AFX_IDS_VERB_PROPERTIES, OnProperties)

END_MESSAGE_MAP()
QuestionVM Size Pin
Programm3r4-Dec-07 20:23
Programm3r4-Dec-07 20:23 
GeneralRe: VM Size Pin
baerten4-Dec-07 21:11
baerten4-Dec-07 21:11 
GeneralRe: VM Size Pin
Programm3r5-Dec-07 0:21
Programm3r5-Dec-07 0:21 
Generalabout the article in MSDN , "Adding Multiple Views to a Single Document" Pin
followait4-Dec-07 20:20
followait4-Dec-07 20:20 
GeneralRe: about the article in MSDN , "Adding Multiple Views to a Single Document" Pin
Nelek4-Dec-07 22:28
protectorNelek4-Dec-07 22:28 
GeneralRe: about the article in MSDN , "Adding Multiple Views to a Single Document" Pin
followait4-Dec-07 22:41
followait4-Dec-07 22:41 
GeneralRe: about the article in MSDN , "Adding Multiple Views to a Single Document" Pin
wira1guys4-Dec-07 23:45
wira1guys4-Dec-07 23:45 
GeneralRe: about the article in MSDN , "Adding Multiple Views to a Single Document" Pin
Nelek4-Dec-07 23:57
protectorNelek4-Dec-07 23:57 
GeneralRe: about the article in MSDN , "Adding Multiple Views to a Single Document" Pin
followait5-Dec-07 0:23
followait5-Dec-07 0:23 
GeneralRe: about the article in MSDN , "Adding Multiple Views to a Single Document" Pin
David Crow5-Dec-07 2:42
David Crow5-Dec-07 2:42 
GeneralRe: about the article in MSDN , "Adding Multiple Views to a Single Document" Pin
followait5-Dec-07 14:50
followait5-Dec-07 14:50 
GeneralStrange Behavior Pin
ahmad rahimi4-Dec-07 20:16
ahmad rahimi4-Dec-07 20:16 
GeneralColor picker as in MS Office Pin
Karri Mohan4-Dec-07 20:03
Karri Mohan4-Dec-07 20:03 
GeneralRe: Color picker as in MS Office Pin
Cedric Moonen4-Dec-07 20:19
Cedric Moonen4-Dec-07 20:19 
GeneralRe: Color picker as in MS Office Pin
Karri Mohan5-Dec-07 0:21
Karri Mohan5-Dec-07 0:21 
QuestionHow to create socket when user login in his accont Pin
Abhijit A4-Dec-07 19:46
Abhijit A4-Dec-07 19:46 
AnswerRe: How to create socket when user login in his accont Pin
manish.patel4-Dec-07 20:03
manish.patel4-Dec-07 20:03 

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.