Vota por nosotros en el ranking web que participamos

Curso Hacker
Bienvenido(a), Visitante. Favor de ingresar o registrarse.
¿Perdiste tu email de activación? - Octubre 16, 2008, 04:15:52
Inicio Ayuda Ingresar Registrarse
Visita: Articulos - Juegos Gratis - Da Foros

Comunidad Underground Hispana  |  Programacion  |  Programación  |  Visual Basic y Net (Moderador: ANYD00M)  |  Tema: Como Ago...? 0 Usuarios y 1 Visitante están viendo este tema. « anterior próximo »
Páginas: [1] Ir Abajo Imprimir
Autor Tema: Como Ago...?  (Leído 222 veces)
On[C]raF
Visitante
« en: ſeptiembre 09, 2005, 01:56:13 »

^^ Hola Denuevo xD!
Me Gustaria Saber Como Ago Una Form Con Las Orillas Medias Redondeadas :S? o Adaptable a La Imagen Que Quiero Smiley gracias
En línea
wuepe
Visitante
« Respuesta #1 en: ſeptiembre 09, 2005, 03:29:30 »

Para ello, hay que usar apis:

Prueba este codigo:


Necesitas ser usuario para ver los enlaces Crear Usuario  Hacer Sesion

Explico:

Private Sub SetRegion()
'Free the memory allocated by the previous Region
    If hRgn Then DeleteObject hRgn
'Scan the Bitmap and remove all transparent pixels from
'it, creating a new region
    hRgn = GetBitmapRegion(Me.Picture, &HFFFFFF)
'Set the Forms new Region
    SetWindowRgn Me.hwnd, hRgn, True
End Sub

El &HFFFFFF, es el color de la imagen que quieres que sea transparente.

ME es formulario actual, tendras que cambiarlo por el nombre del formulario.

Este codigo, pone transparente cogiendo la foto que este en el form.

ASi que tendras que poner la foto elegida dos veces, una en el form1.picture y otra en el picture1.picture (este sera el que se vea)

Saludos
En línea
On[C]raF
Visitante
« Respuesta #2 en: ſeptiembre 09, 2005, 05:09:05 »

Sad no me funko y el link no anda Sad ayudame plz XD!
En línea
wuepe
Visitante
« Respuesta #3 en: ſeptiembre 10, 2005, 08:28:43 »

TE lo e mandado al correo, ya que la pagina no funciona
En línea
Páginas: [1] Ir Arriba Imprimir 
Comunidad Underground Hispana  |  Programacion  |  Programación  |  Visual Basic y Net (Moderador: ANYD00M)  |  Tema: Como Ago...? « anterior próximo »
Ir a:  


Ranking-Hits
Powered by SMF 1.1.6 | SMF © 2006-2007, Simple Machines LLC