Article View: borland.public.cppbuilder.nativeapi
Article #3873Re: WM_MOUSEMOVE and OnMouseMove
From: JD
Date: Mon, 24 Apr 2006 05:07
Date: Mon, 24 Apr 2006 05:07
20 lines
1542 bytes
1542 bytes
Bob Gonder <notbg@notmindspring.invalid> wrote: > >>Convert to shorts: That's what I did to solve the problem but I did it a bit differently. >>> HeaderMouseMove( KeysToShiftState(Message.WParam), LOWORD(Message.LParam), HIWORD(Message.LParam) ); I left that the same .... >>> void __fastcall TMyListView::HeaderMouseMove( TShiftState Shift, int X, int Y ); and Changed that to ...( ... short X, short Y ); but I was wondering how the VCL does it because it gets X,Y just like I'm getting them and they're passed to the event as ints just like I was doing it. ~ JD
Technical Details
Message-ID:
<444c5cfe$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<444b800f$1@newsgroups.borland.com> <sqbn42tbb8g362frcp784ghpeo7907h21r@4ax.com> <vrcn42l1hnspdob90kmpqeei06cssbokme@4ax.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,526c370a5f30e5cc X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "JD" <nospam@nospam.com> Sender: "JD" <nospam@nospam.com> Reply-To: "JD" <nospam@nospam.com> Subject: Re: WM_MOUSEMOVE and OnMouseMove Newsgroups: borland.public.cppbuilder.nativeapi X-User-Info: 205.188.116.136 X-Forwarded-For: 172.129.172.242 References: <444b800f$1@newsgroups.borland.com> <sqbn42tbb8g362frcp784ghpeo7907h21r@4ax.com> <vrcn42l1hnspdob90kmpqeei06cssbokme@4ax.com> NNTP-Posting-Host: 207.105.83.66 Message-ID: <444c5cfe$1@newsgroups.borland.com> Date: 23 Apr 2006 22:07:10 -0700 X-Trace: newsgroups.borland.com 1145855230 207.105.83.66 (23 Apr 2006 22:07:10 -0700) Lines: 21 Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail