elhacker.net cabecera Bienvenido(a), Visitante. Por favor Ingresar o Registrarse
¿Perdiste tu email de activación?.

 

 


Tema destacado: Recopilación Tutoriales y Manuales Hacking, Seguridad, Privacidad, Hardware, etc


+  Foro de elhacker.net
|-+  Programación
| |-+  Programación General
| | |-+  .NET (C#, VB.NET, ASP)
| | | |-+  Programación Visual Basic (Moderadores: LeandroA, seba123neo)
| | | | |-+  Fndo AutoRedraw: CreateWindowsEx
0 Usuarios y 1 Visitante están viendo este tema.
Páginas: [1] Ir Abajo Respuesta Imprimir
Autor Tema: Fndo AutoRedraw: CreateWindowsEx  (Leído 2,211 veces)
BlackZeroX
Wiki

Desconectado Desconectado

Mensajes: 3.158


I'Love...!¡.


Ver Perfil WWW
Fndo AutoRedraw: CreateWindowsEx
« en: 15 Septiembre 2010, 03:47 am »

.
Buenas alguien me podria decir que Constante hay que pasarle a CreateWindowsEx o con SetWindowLong al Handle de una Ventana X.

Dulces Lunas!¡.


En línea

The Dark Shadow is my passion.
LeandroA
Moderador
***
Desconectado Desconectado

Mensajes: 760


www.leandroascierto.com


Ver Perfil WWW
Re: Fndo AutoRedraw: CreateWindowsEx
« Respuesta #1 en: 15 Septiembre 2010, 05:28 am »

Código:
Private Const WS_ACTIVECAPTION As Long = &H1
Private Const WS_BORDER As Long = &H800000
Private Const WS_CAPTION As Long = &HC00000
Private Const WS_CHILD As Long = &H40000000
Private Const WS_CHILDWINDOW As Long = (WS_CHILD)
Private Const WS_CLIPCHILDREN As Long = &H2000000
Private Const WS_CLIPSIBLINGS As Long = &H4000000
Private Const WS_DISABLED As Long = &H8000000
Private Const WS_DLGFRAME As Long = &H400000



Private Const WS_EX_ACCEPTFILES As Long = &H10&
Private Const WS_EX_APPWINDOW As Long = &H40000&
Private Const WS_EX_CLIENTEDGE As Long = &H200&
Private Const WS_EX_CONTEXTHELP As Long = &H400&
Private Const WS_EX_CONTROLPARENT As Long = &H10000&
Private Const WS_EX_DLGMODALFRAME As Long = &H1&
Private Const WS_EX_LAYERED As Long = &H80000
Private Const WS_EX_LAYOUTRTL As Long = &H400000&
Private Const WS_EX_LEFT As Long = &H0&
Private Const WS_EX_LEFTSCROLLBAR As Long = &H4000&
Private Const WS_EX_LTRREADING As Long = &H0&
Private Const WS_EX_MDICHILD As Long = &H40&
Private Const WS_EX_NOACTIVATE As Long = &H8000000&
Private Const WS_EX_NOINHERITLAYOUT As Long = &H100000&
Private Const WS_EX_NOPARENTNOTIFY As Long = &H4&
Private Const WS_EX_OVERLAPPEDWINDOW As Long = (WS_EX_WINDOWEDGE Or WS_EX_CLIENTEDGE)
Private Const WS_EX_PALETTEWINDOW As Long = (WS_EX_WINDOWEDGE Or WS_EX_TOOLWINDOW Or WS_EX_TOPMOST)
Private Const WS_EX_RIGHT As Long = &H1000&
Private Const WS_EX_RIGHTSCROLLBAR As Long = &H0&
Private Const WS_EX_RTLREADING As Long = &H2000&
Private Const WS_EX_STATICEDGE As Long = &H20000&
Private Const WS_EX_TOOLWINDOW As Long = &H80&
Private Const WS_EX_TOPMOST As Long = &H8&
Private Const WS_EX_TRANSPARENT As Long = &H20&
Private Const WS_EX_WINDOWEDGE As Long = &H100&


En línea

BlackZeroX
Wiki

Desconectado Desconectado

Mensajes: 3.158


I'Love...!¡.


Ver Perfil WWW
Re: Fndo AutoRedraw: CreateWindowsEx
« Respuesta #2 en: 16 Septiembre 2010, 07:49 am »

...

Gracias aun que me las sabia (WIN32API.txt), hay algunas que no seo ni lo que hacen por ello pregunte lo del Autoredraw, ya dare con ella ahorita me voy a festejar Xao

Dulces Lunas!¡.
En línea

The Dark Shadow is my passion.
Dessa


Desconectado Desconectado

Mensajes: 624



Ver Perfil
Re: Fndo AutoRedraw: CreateWindowsEx
« Respuesta #3 en: 16 Septiembre 2010, 12:18 pm »


Mirá este link, tal vez te aclare en parte los mensajes

http://winapi.conclase.net/curso/?winfun=CreateWindowEx#inicio

En línea

Adrian Desanti
LeandroA
Moderador
***
Desconectado Desconectado

Mensajes: 760


www.leandroascierto.com


Ver Perfil WWW
Re: Fndo AutoRedraw: CreateWindowsEx
« Respuesta #4 en: 16 Septiembre 2010, 20:18 pm »

uff entendi mal la pregunta no vi lo de Autoredraw, no no hay ninguna constante para eso, en vb lo que hace el auto redraw es crear un buffer (hdc) aparte entonces cuando pintias con alguna api ese hdc este es repintado sobre la ventana cuando le haces un refresh o cuando llega wm_paint.  osea que tendrias que subclasificar la ventana y pintar cuando vos lo requieras.

tambien fijate que te pude llegar a servir UpdateLayeredWindow,  si no me equivoco vos lo queres para hacer un fondo tipo Vista,

Saludos.
En línea

BlackZeroX
Wiki

Desconectado Desconectado

Mensajes: 3.158


I'Love...!¡.


Ver Perfil WWW
Re: Fndo AutoRedraw: CreateWindowsEx
« Respuesta #5 en: 16 Septiembre 2010, 20:39 pm »

.
ya me lo imaginaba...

Dulces Lunas!¡.
En línea

The Dark Shadow is my passion.
Páginas: [1] Ir Arriba Respuesta Imprimir 

Ir a:  
WAP2 - Aviso Legal - Powered by SMF 1.1.21 | SMF © 2006-2008, Simple Machines