🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #4437

Re: MouseHover

#4437
From: mf
Date: Tue, 24 Jan 2006 08:21
35 lines
2317 bytes
>
> Did you take note what what I told you about the mouse positioning?  The
> mouse has to actually be over the button at the time you call
> TrackMouseEvent().
>

hmmmm.....I'm sorry, I guess I missed that.  Maybe that is exactly what I'm
missing in this.

I'll try this later in the day.

Thanks!!


>
> You did not show how you are creating the main window, nor did you show
your
> code that processes the message queue.  Also, you appear to be trying to
> catch the WM_MOUSEHOVER message in the window procedure of the *main
> window*, not the window procedure of the button itself.  The message is
> posted directly to the HWND that you specify in the TRACKMOUSEEVENT
> structure.  And your use of WM_MOUSEHOVER with WM_COMMAND is completely
> wrong.
>
> In any case, I had no trouble at all getting WM_MOUSEHOVER to work
properly
> just now.  Which is why I asked you to show COMPILABLE code - so that we
can
> see everything you are atually doing, and tell you exactly what is wrong
> with it.  Please show ALL of your test code.  Post a fully compilable
> project in the "borland.public.attachments" newsgroup.
>

I'll make my changes, try it, then send code if I can't get it going.  I
think you've led me in the correct direction!!
Technical Details
Message-ID: <43d5e2d0$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news4.google.com!news.glorb.com!npeer.de.kpn-eurorings.net!border2.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <43d3967d$1@newsgroups.borland.com> <43d489a0$1@newsgroups.borland.com> <43d57616$1@newsgroups.borland.com> <43d58367$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,c2088a628df25e81
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "mf" <xxx.yyy@xyxy.xy>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <43d3967d$1@newsgroups.borland.com> <43d489a0$1@newsgroups.borland.com> <43d57616$1@newsgroups.borland.com> <43d58367$1@newsgroups.borland.com>
Subject: Re: MouseHover
Date: Tue, 24 Jan 2006 03:21:24 -0500
Lines: 39
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: 68.51.120.54
Message-ID: <43d5e2d0$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1138090704 68.51.120.54 (24 Jan 2006 00:18:24 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news4.google.com!news.glorb.com!npeer.de.kpn-eurorings.net!border2.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail