Ver Mensaje Individual
  #2  
Antiguo 12-09-2003
Avatar de marcoszorrilla
marcoszorrilla marcoszorrilla is offline
Capo
 
Registrado: may 2003
Ubicación: Cantabria - España
Posts: 11.221
Reputación: 10
marcoszorrilla Va por buen camino
Aquí tienes un ejemplo:

Código:
procedure TForm1.FormCreate(Sender: TObject); 
var 
  f: HRGN; 
begin 
  Form1.Borderstyle := bsNone; 
  f := CreateRoundRectRgn( 
          0,            // x-coordinate of the region's upper-left corner 
          0,            // y-coordinate of the region's upper-left corner 
          clientwidth,  // x-coordinate of the region's lower-right corner 
          clientheight, // y-coordinate of the region's lower-right corner 
          40,           // height of ellipse for rounded corners 
          40);          // width of ellipse for rounded corners 
  SetWindowRgn(Handle,f,True); 
end
Un Saludo.
__________________
Guía de Estilo de los Foros
Cita:
- Ça c'est la caisse. Le mouton que tu veux est dedans.
Responder Con Cita