Re: Scrollbar weird action
- Posted by CChris <christian.cuvier at agricul?ure.gouv.?r> Jan 07, 2008
- 652 views
Andy Drummond wrote: > > I have made a dummy control which includes a vertical scrollbar. > At various times the thumb of the scrollbar shows crosshatched. > If I setFocus back to the dummy control away from the scrollbar > then I get left with a crosshatched block which does not move > even when the thumb is moved up and down. If I leave focus with > the scrollbar then the crosshatched block moves with the thumb. > This is probably right, but I DO want to shift focus away from the > scrollbar and I DO want to remove this crosshatched block. > > Does anyone have any ideas? OTOH I'd trap the w32HLostFocus event for the scrollbar and stick a repaintWindow(self) statement there. Doesn't work? CChris