Click here to Skip to main content
14,266,495 members

C / C++ / MFC

 
GeneralRe: Changing Display gamma Pin
Valentinor9-Jul-18 23:33
memberValentinor9-Jul-18 23:33 
GeneralRe: Changing Display gamma Pin
Jochen Arndt9-Jul-18 23:50
mveJochen Arndt9-Jul-18 23:50 
GeneralRe: Changing Display gamma Pin
Valentinor10-Jul-18 1:10
memberValentinor10-Jul-18 1:10 
QuestionMouse Wheel scrolling support for MFC application. Pin
Member 139038189-Jul-18 0:01
memberMember 139038189-Jul-18 0:01 
AnswerRe: Mouse Wheel scrolling support for MFC application. Pin
Jochen Arndt9-Jul-18 0:52
mveJochen Arndt9-Jul-18 0:52 
GeneralRe: Mouse Wheel scrolling support for MFC application. Pin
Member 139038189-Jul-18 19:16
memberMember 139038189-Jul-18 19:16 
GeneralRe: Mouse Wheel scrolling support for MFC application. Pin
Victor Nijegorodov9-Jul-18 20:37
memberVictor Nijegorodov9-Jul-18 20:37 
GeneralRe: Mouse Wheel scrolling support for MFC application. Pin
Member 139038189-Jul-18 21:04
memberMember 139038189-Jul-18 21:04 
yes .....

(class CFormView : public CScrollView


class CScrollView : public CView)


in our application we are deriving the class from the CView like below.

class CCommonEDM_AVitarView : public CView

in above derived call i have handled the OnMouseWheel function. but it's not hitting the code while scrolling the mouse wheel.

code :
Header file:

class CCommonEDM_AVitarView : public CView
{
protected: // create from serialization only
CCommonEDM_AVitarView();
DECLARE_DYNCREATE(CCommonEDM_AVitarView)
public:
afx_msg BOOL OnMouseWheel(UINT nFlags, short zDelta, CPoint pt);

};
source file :

IMPLEMENT_DYNCREATE(CCommonEDM_AVitarView, CView)
BEGIN_MESSAGE_MAP(CCommonEDM_AVitarView, CView)
ON_WM_MOUSEWHEEL()
END_MESSAGE_MAP()

BOOL CCommonEDM_AVitarView::OnMouseWheel(UINT fFlags, short zDelta, CPoint point)
{
TRACE0("in CCommonEDM_AVitarView:: OnMouseWheel function");
return CView :: OnMouseWheel(fFlags, zDelta, point);
}

i am not understanding how internal child windows are working with mouse wheel scrolling. but main window is not working..
GeneralRe: Mouse Wheel scrolling support for MFC application. Pin
Jochen Arndt10-Jul-18 0:10
mveJochen Arndt10-Jul-18 0:10 
GeneralRe: Mouse Wheel scrolling support for MFC application. Pin
Member 1390381810-Jul-18 22:50
memberMember 1390381810-Jul-18 22:50 
GeneralRe: Mouse Wheel scrolling support for MFC application. Pin
Jochen Arndt10-Jul-18 23:10
mveJochen Arndt10-Jul-18 23:10 
QuestionObject pointer as method argument Pin
_Flaviu8-Jul-18 0:43
member_Flaviu8-Jul-18 0:43 
AnswerRe: Object pointer as method argument Pin
Richard MacCutchan8-Jul-18 7:23
protectorRichard MacCutchan8-Jul-18 7:23 
GeneralRe: Object pointer as method argument Pin
_Flaviu8-Jul-18 19:57
member_Flaviu8-Jul-18 19:57 
NewsRe: Object pointer as method argument Pin
Richard MacCutchan9-Jul-18 3:01
protectorRichard MacCutchan9-Jul-18 3:01 
AnswerRe: Object pointer as method argument Pin
CPallini8-Jul-18 20:59
mveCPallini8-Jul-18 20:59 
GeneralRe: Object pointer as method argument Pin
_Flaviu9-Jul-18 5:45
member_Flaviu9-Jul-18 5:45 
QuestionMFC Static Library Project Pin
Richard Andrew x647-Jul-18 16:04
professionalRichard Andrew x647-Jul-18 16:04 
AnswerRe: MFC Static Library Project Pin
Victor Nijegorodov7-Jul-18 21:48
memberVictor Nijegorodov7-Jul-18 21:48 
GeneralRe: MFC Static Library Project Pin
Richard Andrew x648-Jul-18 3:26
professionalRichard Andrew x648-Jul-18 3:26 
QuestionUsing fstream with USB Serial Port Pin
OscardelaGrouch6-Jul-18 20:53
memberOscardelaGrouch6-Jul-18 20:53 
AnswerRe: Using fstream with USB Serial Port Pin
Richard MacCutchan6-Jul-18 23:25
protectorRichard MacCutchan6-Jul-18 23:25 
GeneralRe: Using fstream with USB Serial Port Pin
OscardelaGrouch7-Jul-18 6:39
memberOscardelaGrouch7-Jul-18 6:39 
GeneralRe: Using fstream with USB Serial Port Pin
Richard MacCutchan7-Jul-18 6:52
protectorRichard MacCutchan7-Jul-18 6:52 
GeneralRe: Using fstream with USB Serial Port Pin
OscardelaGrouch7-Jul-18 6:55
memberOscardelaGrouch7-Jul-18 6:55 

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.