TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: All
from: Doug Swenson
date: 1996-08-26 23:59:04
subject: WM_BUTTON msgs

I just came across an unhappy situation when I was using
WM_BUTTON3DOWN/UP.  When I have the button down, and I move the mouse
around, I get a flurry of the up/down msg's.  I double checked by
ripping out most of the code for button1/2/3, and adding variables for
counting each msg received.  I used a MsgBox to display the 6 variables.
Button1/2 Up/Down had only 1 count each, but Button3 Up/Down had a large
number, depending on how much I moved the pointer around.

I double checked the IBM Tech Lib, Default Window Processing, and there
wasn't anything different about Button3 that I could find.

I highlight some trig functions that I have displayed when button3down
occurs, and I undo the highlighting when button3up occurs.  The flurry
of msgs causes a lot of on/off flickering of the functions.  Button1/2
are in-use, unfortunately.

I'm using OS/2 2.1, BC++1.0 if it matters.

___
 X OLX 1.53 X On the other hand, you have different fingers.

--- Maximus/2 3.01
* Origin: Pebble BBS (1:202/1207)
SEEN-BY: 50/99 270/101 620/243 625/100 711/401 409 410 413 430 808 809 934
SEEN-BY: 711/955 712/407 515 624 628 713/888 800/1
@PATH: 202/1207 270/101 712/515 711/808 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.