Thread overview | ||||||||
---|---|---|---|---|---|---|---|---|
|
June 14, 2003 Curve | ||||
---|---|---|---|---|
| ||||
Does anyone know how to go about making a Frame have curved corners instead of square corners? Any advice would be appreciated Thanks Phill. --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.488 / Virus Database: 287 - Release Date: 5/06/2003 |
June 14, 2003 Re: Curve | ||||
---|---|---|---|---|
| ||||
Posted in reply to Phill | Yes, but I don't have time right now to look it up.
Phill wrote:
> Does anyone know how to go about
> making a Frame have curved corners
> instead of square corners?
>
> Any advice would be appreciated
>
> Thanks
> Phill.
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.488 / Virus Database: 287 - Release Date: 5/06/2003
--
ManiaC++
Jan Knepper
|
June 14, 2003 Re: Curve | ||||
---|---|---|---|---|
| ||||
Posted in reply to Phill | For now look into GetWindowDC ( ... ). This allows you to draw ANYWHERE into the window. Yes, alto in Title and menu bar.
Phill wrote:
> Does anyone know how to go about
> making a Frame have curved corners
> instead of square corners?
>
> Any advice would be appreciated
--
ManiaC++
Jan Knepper
|
June 14, 2003 Re: Curve | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jan Knepper | Thanks Jan your a Champion! Phill. "Jan Knepper" <jan@smartsoft.us> wrote in message news:3EEB503A.610E5019@smartsoft.us... > For now look into GetWindowDC ( ... ). This allows you to draw ANYWHERE into the window. Yes, alto in Title and menu bar. > > > > Phill wrote: > > > Does anyone know how to go about > > making a Frame have curved corners > > instead of square corners? > > > > Any advice would be appreciated > > -- > ManiaC++ > Jan Knepper > > --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.488 / Virus Database: 287 - Release Date: 5/06/2003 |
June 14, 2003 Re: Curve | ||||
---|---|---|---|---|
| ||||
Posted in reply to Phill | If you want to truly manipulate the actual window so that even hit testing conforms to the new window form then look at SetWindowRgn and Regions, and in your case probably CreateRoundRectRegion in particular. Regards, Remko van der Vossen "Phill" <phillbert@pacific.net.au> wrote in message news:bcg6m8$17e2$1@digitaldaemon.com... > Thanks Jan your a Champion! > > Phill. > > > "Jan Knepper" <jan@smartsoft.us> wrote in message news:3EEB503A.610E5019@smartsoft.us... > > For now look into GetWindowDC ( ... ). This allows you to draw ANYWHERE into the window. Yes, alto in Title and menu bar. > > > > > > > > Phill wrote: > > > > > Does anyone know how to go about > > > making a Frame have curved corners > > > instead of square corners? > > > > > > Any advice would be appreciated > > > > -- > > ManiaC++ > > Jan Knepper |
June 14, 2003 Re: Curve | ||||
---|---|---|---|---|
| ||||
Posted in reply to Wichetael | Thanks Remko! "Wichetael" <wichetael@gmx.net> wrote in message news:bcg9t8$1a85$1@digitaldaemon.com... > If you want to truly manipulate the actual window so that even hit testing conforms to the new window form then look at SetWindowRgn and Regions, and in your case probably CreateRoundRectRegion in particular. > > Regards, > > Remko van der Vossen > > "Phill" <phillbert@pacific.net.au> wrote in message news:bcg6m8$17e2$1@digitaldaemon.com... > > Thanks Jan your a Champion! > > > > Phill. > > > > > > "Jan Knepper" <jan@smartsoft.us> wrote in message news:3EEB503A.610E5019@smartsoft.us... > > > For now look into GetWindowDC ( ... ). This allows you to draw ANYWHERE into the window. Yes, alto in Title and menu bar. > > > > > > > > > > > > Phill wrote: > > > > > > > Does anyone know how to go about > > > > making a Frame have curved corners > > > > instead of square corners? > > > > > > > > Any advice would be appreciated > > > > > > -- > > > ManiaC++ > > > Jan Knepper > > --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.488 / Virus Database: 287 - Release Date: 5/06/2003 |
Copyright © 1999-2021 by the D Language Foundation