Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DLL Talk / mouse over window

Author
Message
dj chainz
19
Years of Service
User Offline
Joined: 25th Sep 2004
Location: England
Posted: 10th May 2005 19:08
I am trying to make a dll to detect whether the mouse is over the window. I have researched, and found out a few things, but my c++ isnt too good. please help me translate this code from msdn.


reference page for trackmouseevent: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/winui/windowsuserinterface/userinput/mouseinput/mouseinputreference/mouseinputstructures/trackmouseevent.asp

I am the lead programmer at red spark studios
http://www.brazilianhotties.tk
dj chainz
19
Years of Service
User Offline
Joined: 25th Sep 2004
Location: England
Posted: 12th May 2005 06:48
Or maybe it can be done with bluegui? If so can someone help me!

I am the lead programmer at red spark studios
http://www.brazilianhotties.tk
IanM
Retired Moderator
21
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 12th May 2005 07:59
Google is your friend

http://www.microsoft.com/msj/1098/c/c1098.aspx

*** Coming soon - Network Plug-in - Check my site for info ***
For free Plug-ins and source code http://www.matrix1.demon.co.uk
OSX Using Happy Dude
20
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 12th May 2005 19:01 Edited at: 12th May 2005 19:04
I have been using the WM_NCHITTEST for AtomZ (so the mouse changes when it leaves the window), so this may an easier way...

Visit http://homepages.nildram.co.uk/~nickk
Calm down dear! Its only The Unofficial DB Sci-Fi Con...
http://spaces.msn.com/members/BouncyBrick/
dj chainz
19
Years of Service
User Offline
Joined: 25th Sep 2004
Location: England
Posted: 13th May 2005 01:25
Quote: "Google is your friend

http://www.microsoft.com/msj/1098/c/c1098.aspx"


I already did that! I have C++ code in my codebox.. Its just I can't translate it into a DLL!!!! Please help me...

I am the lead programmer at red spark studios
http://www.brazilianhotties.tk
OSX Using Happy Dude
20
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 13th May 2005 17:57
It appears that it doesn't work with DarkSDK windows - even if the mouse is in the centre of the window, a WM_MOUSELEAVE message is generated

Visit http://homepages.nildram.co.uk/~nickk
Calm down dear! Its only The Unofficial DB Sci-Fi Con...
http://spaces.msn.com/members/BouncyBrick/
IanM
Retired Moderator
21
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 14th May 2005 04:22
I guess that if you can't get a notification, you'll need to resort to polling for the information.

Something like this:


(WARNING: Untested code, and damned-all error recovery)

*** Coming soon - Network Plug-in - Check my site for info ***
For free Plug-ins and source code http://www.matrix1.demon.co.uk
OSX Using Happy Dude
20
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 15th May 2005 08:47
Might try that later on.

Visit http://homepages.nildram.co.uk/~nickk
Calm down dear! Its only The Unofficial DB Sci-Fi Con...
http://spaces.msn.com/members/BouncyBrick/

Login to post a reply

Server time is: 2024-03-29 06:00:29
Your offset time is: 2024-03-29 06:00:29