🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.os.os2.programmer
1 messages
1 total messages Started by Peter M. Jansson Tue, 23 Apr 1991 17:05
Zero-size min. box for WinTrackRect?
#2573
Author: Peter M. Jansson
Date: Tue, 23 Apr 1991 17:05
19 lines
1236 bytes
I recently wrote an application for which I used WinTrackRect
which was a big help, but I found that I could not
get the tracking box to reflect through the origin.  In my
application, the user could only move the tracking box along
the x-axis.  I want the user to be able to push button 1 and
drag the box either right or left.  I tried the _LEFT and _RIGHT
(I don't exactly remember the names of the constants) specifiers,
and both, and the behavior I was able to get was the box expanding
to the right, or to the left of the origin, but not being able
to cross the origin.  I think this is because I specified a
minimum x-axis size of 1, but when I tried zero, the function
behaved oddly.

Has anyone else run across this problem?  Does anyone have a
solution short of writing my own rubberbanding/mouse-tracking
routine?

Thanks,
        Pete.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads