Click here to Skip to main content
14,775,679 members
Home » Discussions » C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: How to use C program to open a text file using Notepad? Pin
David Crow9-Jan-21 17:49
MemberDavid Crow9-Jan-21 17:49 
AnswerRe: How to use C program to open a text file using Notepad? Pin
Mircea Neacsu9-Jan-21 18:11
mvaMircea Neacsu9-Jan-21 18:11 
GeneralRe: How to use C program to open a text file using Notepad? Pin
Goh Kak Ng9-Jan-21 18:28
MemberGoh Kak Ng9-Jan-21 18:28 
GeneralRe: How to use C program to open a text file using Notepad? Pin
Mircea Neacsu9-Jan-21 18:41
mvaMircea Neacsu9-Jan-21 18:41 
GeneralRe: How to use C program to open a text file using Notepad? Pin
Goh Kak Ng11-Jan-21 2:59
MemberGoh Kak Ng11-Jan-21 2:59 
QuestionOnMouseWheel and OnSetCursor interaction Pin
Member 132515887-Jan-21 17:01
MemberMember 132515887-Jan-21 17:01 
AnswerRe: OnMouseWheel and OnSetCursor interaction Pin
Richard MacCutchan7-Jan-21 22:13
mveRichard MacCutchan7-Jan-21 22:13 
GeneralRe: OnMouseWheel and OnSetCursor interaction Pin
Member 1325158810-Jan-21 14:56
MemberMember 1325158810-Jan-21 14:56 
Under debugger m_bMouseWheel (which is global to the class) is always true.
The problem is maybe that OnSetCursor is not triggered during that time (one mousewheel).
The doc say that "The WM_SETCURSOR message is sent to a window if the mouse causes the cursor to move within a window" which is not the case when mousewheeling.
So I am thinking on SendMessage(WM_SETCURSOR, some "params") before entering Zoom function.
But actually I do not know what to use as "params".

Is it a good track?

Pierre
GeneralRe: OnMouseWheel and OnSetCursor interaction Pin
Richard MacCutchan10-Jan-21 23:45
mveRichard MacCutchan10-Jan-21 23:45 
GeneralRe: OnMouseWheel and OnSetCursor interaction Pin
Member 1325158811-Jan-21 18:05
MemberMember 1325158811-Jan-21 18:05 
QuestionHow to get access to CMyView variables from CMainFrame in MFC Pin
Member 1503370431-Dec-20 7:15
MemberMember 1503370431-Dec-20 7:15 
QuestionRe: How to get access to CMyView variables from CMainFrame in MFC Pin
David Crow31-Dec-20 9:41
MemberDavid Crow31-Dec-20 9:41 
AnswerRe: How to get access to CMyView variables from CMainFrame in MFC Pin
Member 1503370431-Dec-20 21:47
MemberMember 1503370431-Dec-20 21:47 
QuestionRe: How to get access to CMyView variables from CMainFrame in MFC Pin
David Crow1-Jan-21 5:40
MemberDavid Crow1-Jan-21 5:40 
AnswerRe: How to get access to CMyView variables from CMainFrame in MFC Pin
Member 150337041-Jan-21 5:59
MemberMember 150337041-Jan-21 5:59 
AnswerRe: How to get access to CMyView variables from CMainFrame in MFC Pin
Richard MacCutchan31-Dec-20 22:26
mveRichard MacCutchan31-Dec-20 22:26 
GeneralRe: How to get access to CMyView variables from CMainFrame in MFC Pin
Member 150337041-Jan-21 5:52
MemberMember 150337041-Jan-21 5:52 
GeneralRe: How to get access to CMyView variables from CMainFrame in MFC Pin
Richard MacCutchan1-Jan-21 5:55
mveRichard MacCutchan1-Jan-21 5:55 
GeneralRe: How to get access to CMyView variables from CMainFrame in MFC Pin
Member 150337041-Jan-21 6:06
MemberMember 150337041-Jan-21 6:06 
GeneralRe: How to get access to CMyView variables from CMainFrame in MFC Pin
Richard MacCutchan1-Jan-21 6:13
mveRichard MacCutchan1-Jan-21 6:13 
GeneralRe: How to get access to CMyView variables from CMainFrame in MFC Pin
Member 150337044-Jan-21 8:07
MemberMember 150337044-Jan-21 8:07 
GeneralRe: How to get access to CMyView variables from CMainFrame in MFC Pin
Richard MacCutchan4-Jan-21 10:46
mveRichard MacCutchan4-Jan-21 10:46 
AnswerRe: How to get access to CMyView variables from CMainFrame in MFC Pin
11917640 Member 4-Jan-21 23:29
Member11917640 Member 4-Jan-21 23:29 
GeneralRe: How to get access to CMyView variables from CMainFrame in MFC Pin
Member 150337045-Jan-21 3:44
MemberMember 150337045-Jan-21 3:44 
Questionhaving problem to find an error Pin
bot-joy28-Dec-20 8:25
Memberbot-joy28-Dec-20 8:25 

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.