Título: Creacion de controles Personalizados? (ASM 32 Bits) Publicado por: Riki_89D en 25 Diciembre 2009, 19:55 pm Es posible crear por ejemplo un boton distino a los estandares dw Windows,por ejemplo un boton de forma triangular?? oseacrear un control personalizado,programo con Ensamblador de 32 bits (utilizo las API de windows) como puedo crear mis propios controles?
:S salu2 Título: Re: Creacion de controles Personalizados? (ASM 32 Bits) Publicado por: Eternal Idol en 25 Diciembre 2009, 20:15 pm Si, owner drawn, de la MSDN (no lo encuentre on-line :():
Using Owner Drawn Buttons The parent window of an owner-drawn button typically responds to at least three messages for the button: WM_INITDIALOG WM_COMMAND WM_DRAWITEM When you must paint an owner-drawn button, the system sends the parent window a WM_DRAWITEM message whose lParam parameter is a pointer to a DRAWITEMSTRUCT structure. Use this structure with all owner-drawn controls to provide the application with the information it requires to paint the control. The itemAction and itemState members of the DRAWITEMSTRUCT structure define how to paint an owner-drawn button. The following example shows how to process WM_INITDIALOG, WM_DRAWITEM, and WM_COMMAND messages for owner-drawn buttons. This example demonstrates how to draw one of two bitmaps for a control, depending on whether the control is selected. You would typically use the wParam parameter of the WM_DRAWITEM message to identify the control; in this example, only one control is assumed. Código
Título: Re: Creacion de controles Personalizados? (ASM 32 Bits) Publicado por: Debci en 27 Diciembre 2009, 21:02 pm eso es asm? parece C++ xD
O quizas parece mi in-experiencia. Saludos Título: Re: Creacion de controles Personalizados? (ASM 32 Bits) Publicado por: Eternal Idol en 27 Diciembre 2009, 21:57 pm eso es asm? parece C++ xD O quizas parece mi in-experiencia. Es C ... ya podrias haber puesto algun ejemplo del tema en assembly :rolleyes: Título: Re: Creacion de controles Personalizados? (ASM 32 Bits) Publicado por: Debci en 27 Diciembre 2009, 22:33 pm eso es asm? parece C++ xD O quizas parece mi in-experiencia. Es C ... ya podrias haber puesto algun ejemplo del tema en assembly :rolleyes: Saludos |