Click here to Skip to main content
15,897,187 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: %CPU and Memory footprint question Pin
ben214-Jun-04 14:11
ben214-Jun-04 14:11 
GeneralCDateTimeCtrl Pin
sschilachi14-Jun-04 10:29
sschilachi14-Jun-04 10:29 
GeneralRe: CDateTimeCtrl Pin
palbano14-Jun-04 11:15
palbano14-Jun-04 11:15 
General(Nt)Zw Registry calls Pin
Dan Madden14-Jun-04 9:26
Dan Madden14-Jun-04 9:26 
AnswerRe: How do i know when the mouse leaves an area? Pin
Maximilien14-Jun-04 8:53
Maximilien14-Jun-04 8:53 
GeneralRe: How do i know when the mouse leaves an area? Pin
kfaday14-Jun-04 9:27
kfaday14-Jun-04 9:27 
GeneralRe: How do i know when the mouse leaves an area? Pin
Maximilien14-Jun-04 9:45
Maximilien14-Jun-04 9:45 
GeneralRe: How do i know when the mouse leaves an area? Pin
kfaday14-Jun-04 10:32
kfaday14-Jun-04 10:32 
Hi, your code seems like it's going to work, but i don't quite understand it. I added the message and the OnMouseLeave function. That's ok. What i can't understand is what's inside your OMouseMove function.
what i basically want to do is this:
void CAreaPizarra::OnMouseMove(UINT nFlags, CPoint point) 
{

		if ((nFlags == MK_LBUTTON) && (mouse is inside))
		{
			do_one_thing();
		}
		else
			if ((nFlags == MK_LBUTTON) && (mouse is outside))
			{
				do_another_thing();
			}


would you mind explaining me what you did in your function so i can add it in this code?

thanks!
AnswerRe: How do i know when the mouse leaves an area? Pin
Johan Rosengren14-Jun-04 9:10
Johan Rosengren14-Jun-04 9:10 
AnswerRe: How do i know when the mouse leaves an area? Pin
toxcct14-Jun-04 11:23
toxcct14-Jun-04 11:23 
GeneralRe: How do i know when the mouse leaves an area? Pin
kfaday14-Jun-04 11:59
kfaday14-Jun-04 11:59 
GeneralRe: How do i know when the mouse leaves an area? Pin
toxcct14-Jun-04 20:46
toxcct14-Jun-04 20:46 
GeneralRe: How do i know when the mouse leaves an area? Pin
kfaday15-Jun-04 8:12
kfaday15-Jun-04 8:12 
GeneralRe: How do i know when the mouse leaves an area? Pin
kfaday15-Jun-04 9:19
kfaday15-Jun-04 9:19 
GeneralRe: How do i know when the mouse leaves an area? Pin
toxcct15-Jun-04 9:20
toxcct15-Jun-04 9:20 
QuestionHow do i know when the mouse leaves an area? Pin
kfaday14-Jun-04 8:46
kfaday14-Jun-04 8:46 
GeneralCreateCompatibleBitmap and mem allocation Pin
IGeorgeI14-Jun-04 8:46
IGeorgeI14-Jun-04 8:46 
GeneralRe: CreateCompatibleBitmap and mem allocation Pin
Johan Rosengren14-Jun-04 9:14
Johan Rosengren14-Jun-04 9:14 
GeneralRe: CreateCompatibleBitmap and mem allocation Pin
Vadim Tabakman14-Jun-04 16:59
Vadim Tabakman14-Jun-04 16:59 
GeneralSending small strings through sockets (lag problem) Pin
kfaday14-Jun-04 7:44
kfaday14-Jun-04 7:44 
GeneralRe: Sending small strings through sockets (lag problem) Pin
Ravi Bhavnani14-Jun-04 8:58
professionalRavi Bhavnani14-Jun-04 8:58 
GeneralRe: Sending small strings through sockets (lag problem) Pin
gamitech14-Jun-04 9:10
gamitech14-Jun-04 9:10 
GeneralRe: Sending small strings through sockets (lag problem) Pin
kfaday14-Jun-04 9:32
kfaday14-Jun-04 9:32 
QuestionHow to capture "network cable unplugged" event Pin
bikram singh14-Jun-04 7:43
bikram singh14-Jun-04 7:43 
AnswerRe: How to capture "network cable unplugged" event Pin
David Crow14-Jun-04 8:49
David Crow14-Jun-04 8:49 

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.