Displaying 1 result from an estimated 1 matches for "hishort".
Did you mean:
ishort
2001 May 05
1
fix for oggdrop disappearing window
...l cast
the mouse coordinates to insanely high 64K-ish values. Then the
SetWindowPos moves the window into lala land never to be seen again. I
don't think windows should ever give you a neg client coordinate, but it
does (maybe it's a win2k thing).
The attached patch just uses LOSHORT and HISHORT macros (signed versions of
the LO/HI WORD macros) instead. Let me know if it makes sense.
- btw, to reproduce the bug, grab the window and whip around like mad until
it disappears.
Thanks,
Anish Dave
Comp Sci/Soft Eng
Univ of Waterloo (recent grad!)
adave@undergrad.math.uwaterloo.ca
<HR NOS...