[ros-kernel] Progress bar border

Filip Navara xnavara at volny.cz
Mon Apr 5 12:42:07 CEST 2004


The typical border you see on progress bars is created using
WS_EX_STATICEDGE style. If no one will fix this issue first, I'll
take a look at it after finishing my current work on pattern
brushes.

- Filip

----- PŮVODNÍ ZPRÁVA -----
Od: "Richard Campbell" <eek2121 at comcast.net>
Komu: "ReactOS Kernel List" <ros-kernel at reactos.com>
Předmět: Re: [ros-kernel] Progress bar border
Datum: 5.4.2004 - 11:38:18

> Change reverted, however wine DOES draw a border
> (FrameRect is called, 
> border isn't visible because of an off by one issue?)
> in PROGRESS_draw.  
> That is why i had put this code there.
> 
> Ge van Geldorp wrote:
> 
> >>From: Richard Campbell
> >>
> >>Are you sure the border in this case isn't progress
> >>bar 
> >>specific?  There isn't a flag to determine whether
> >>this
> >>border is displayed, the way you suggest would be to
> >>just draw the border for EVERY control in WM_NCPAINT,
> >>which is incorrect, or am i misunderstanding you?
> >>    
> >>
> >
> >I haven't looked at the code, but the progress bar is
> >a direct port from
> >Wine. Wine does draw the border correctly when needed
> >without your
> >change to progress.c, so there must be another way.
> >We will never get your change accepted into Wine and
> >to keep
> >synchronizing between the Wine tree and our own tree
> >as simple as
> >possible I would very much welcome it if your change
> >could be reverted.
> >
> >Gé van Geldorp.
> >
> >
> >
> >_______________________________________________
> >Ros-kernel mailing list
> >Ros-kernel at reactos.com
> >http://reactos.com/mailman/listinfo/ros-kernel
> >
> >  
> >
> 
> _______________________________________________
> Ros-kernel mailing list
> Ros-kernel at reactos.com
> http://reactos.com/mailman/listinfo/ros-kernel
> 

-- 
ANONYMNI PRIPOJENI K INTERNETU - bez registrace, zdarma, ihned!
Pripojeni na cisle 971 200 111 z cele CR,
v Praze navic na cisle 971 200 555.
Uzivatelske jmeno "volny", heslo "volny".
http://sluzby.volny.cz/product/dialup/anon/





More information about the Ros-kernel mailing list