Click here to Skip to main content
15,891,935 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: how do l plot graphs in MFC Pin
Raphael Kindt15-Jul-02 8:41
Raphael Kindt15-Jul-02 8:41 
GeneralRegistry backup/restore Pin
esapp42015-Jul-02 5:12
esapp42015-Jul-02 5:12 
GeneralRe: Registry backup/restore Pin
Roman Fadeyev15-Jul-02 5:49
Roman Fadeyev15-Jul-02 5:49 
GeneralRe: Registry backup/restore Pin
esapp42015-Jul-02 5:55
esapp42015-Jul-02 5:55 
GeneralRe: Registry backup/restore Pin
Roman Fadeyev15-Jul-02 6:05
Roman Fadeyev15-Jul-02 6:05 
GeneralRe: Registry backup/restore Pin
esapp42016-Jul-02 3:49
esapp42016-Jul-02 3:49 
GeneralSetCursor Problems ! Pin
Koep15-Jul-02 5:11
Koep15-Jul-02 5:11 
GeneralRe: SetCursor Problems ! Pin
Chris Losinger15-Jul-02 5:20
professionalChris Losinger15-Jul-02 5:20 
to change the cursor, you need to handle the WM_SETCURSOR message. this will give you a OnSetCursor function.

like this:

BOOL CPickAxeView::OnSetCursor(CWnd* pWnd, UINT nHitTest, UINT message) 
{
	// make sure we only set the cursor if we're need to 
	if (pWnd==(CWnd *)this) 
	{
		if (nHitTest==HTCLIENT) 
		{
			if (message==WM_MOUSEMOVE) 
			{
				SetCursor(AfxGetApp()->LoadStandardCursor(m_cursor));
				return TRUE;
			}
		}
	}	

	return CView::OnSetCursor(pWnd, nHitTest, message);
}


-c


To explain Donald Knuth's relevance to computing is like explaining Paul's relevance to the Catholic Church. He isn't God, he isn't the Son of God, but he was sent by God to explain God to the masses.
   /. #3848917

GeneralRe: SetCursor Problems ! Pin
Koep15-Jul-02 5:39
Koep15-Jul-02 5:39 
GeneralRe: SetCursor Problems ! Pin
Chris Losinger15-Jul-02 6:01
professionalChris Losinger15-Jul-02 6:01 
GeneralRe: SetCursor Problems ! Pin
Koep15-Jul-02 6:16
Koep15-Jul-02 6:16 
GeneralRe: SetCursor Problems ! Pin
Koep15-Jul-02 6:22
Koep15-Jul-02 6:22 
GeneralSplash Screen Pin
vb_200215-Jul-02 5:07
vb_200215-Jul-02 5:07 
GeneralRe: Splash Screen Pin
Chris Losinger15-Jul-02 5:21
professionalChris Losinger15-Jul-02 5:21 
GeneralRe: Splash Screen Pin
Roman Fadeyev15-Jul-02 5:57
Roman Fadeyev15-Jul-02 5:57 
GeneralRe: Splash Screen Pin
User 842015-Jul-02 9:22
User 842015-Jul-02 9:22 
QuestionExample code of 'NetMessageBufferSend'-function? Pin
d.schaeflein15-Jul-02 5:05
d.schaeflein15-Jul-02 5:05 
QuestionSDI App shrinks at FileOpen! Why? Pin
Koep15-Jul-02 4:40
Koep15-Jul-02 4:40 
Questiongets() is not recognized by system during 2nd call why ? Pin
Pankaj Singh15-Jul-02 4:11
Pankaj Singh15-Jul-02 4:11 
Questionhow to trap enter key in MFC Pin
Pankaj Singh15-Jul-02 4:08
Pankaj Singh15-Jul-02 4:08 
AnswerRe: how to trap enter key in MFC Pin
Chris Losinger15-Jul-02 5:23
professionalChris Losinger15-Jul-02 5:23 
GeneralUrgent help needed with MultiMap!!! Pin
Anonymous15-Jul-02 3:21
Anonymous15-Jul-02 3:21 
GeneralRe: Urgent help needed with MultiMap!!! Pin
Christian Graus15-Jul-02 3:29
protectorChristian Graus15-Jul-02 3:29 
GeneralRe: Urgent help needed with MultiMap!!! Pin
Anonymous15-Jul-02 18:45
Anonymous15-Jul-02 18:45 
GeneralUrgent : Help with Visual Studio .NET C++ addin Pin
jp-lacombe15-Jul-02 3:13
sussjp-lacombe15-Jul-02 3:13 

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.