hi
est ce c'est possible de construire des skins pour son application?
hi
est ce c'est possible de construire des skins pour son application?
cela depend de qu'est ce que tu veux faire dans ...
on peut donner un forme à une form en utilisation les regions
dans le Create
tu peux associer les regions
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13 HRGN WindowRegion, BarRegion ; WindowRegion = CreateRoundRectRgn( 0, // x-coordinate of the region's upper-left corner 0, // y-coordinate of the region's upper-left corner this->Width, // x-coordinate of the region's lower-right corner this->Height, // y-coordinate of the region's lower-right corner 20, // height of ellipse for rounded corners 20); // width of ellipse for rounded corners //BarRegion = CreateRectRgn(10,0,FormSetup->Width/2,23); //BarRegion = CreateRoundRectRgn(20,0,this->Width*1/4,30,5,5); //region2 = CreateEllipticRgn(30,30,200,200); //CombineRgn(WindowRegion, WindowRegion, BarRegion, RGN_OR); SetWindowRgn(Handle, WindowRegion, true);
ici on obtient un rectangle avec les bords arrondis
@+
regarde ces adresses ça doit t'interessé, si j'i bien compris ce que tu veux
http://www.hwb.com/gruhn/programming...ial/bunny.html
et celle la aussi
http://www.flipcode.com/articles/art...n32skins.shtml
Vous avez un bloqueur de publicités installé.
Le Club Developpez.com n'affiche que des publicités IT, discrètes et non intrusives.
Afin que nous puissions continuer à vous fournir gratuitement du contenu de qualité, merci de nous soutenir en désactivant votre bloqueur de publicités sur Developpez.com.
Partager