I have a program which creates list controls on the fly (LstNewList) and
moves them around the display (FrmSetObjectPosition) and destroys them
(FrmRemoveObject). I use a clipping rectangle to keep this movement within a
display area on the main form. This works properly on all OSes between 3.0
and 3.3, but on 3.5 there's a problem.

The 3.5 list control added arrows at the top and bottom which make it easy
for the user to scroll the list. The problem occurs when the list overlaps
the clipping region and I call LstDrawList. The majority of the list control
is clipped properly but the arrow is drawn outside the clipping region,
violating the WinSetClip call. This ends up overwriting parts of the main
form outside the display area on the main form.

I could redraw the rest of the main form every time this occurs, but that
would cause flickering and would significantly slow down the drawing.

Is there a fix for this issue?

      -Bob Whiteman


-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/

Reply via email to