The MASM Forum

Projects => Poasm => Topic started by: Vortex on December 22, 2023, 06:21:36 AM

Title: Static control example
Post by: Vortex on December 22, 2023, 06:21:36 AM
Here is a simple static control sample :

    .ELSEIF uMsg==WM_CREATE

        mov     _hWnd,rcx
       
        invoke  CreateWindowEx,0,ADDR CtrlName,ADDR text1,\
                WS_CHILD or WS_VISIBLE or SS_LEFT,\
                20,20,240,160,_hWnd,0,rip+hInstance,0
Title: Re: Static control example
Post by: jj2007 on December 22, 2023, 12:53:07 PM
Works like a charm :thumbsup:
Title: Re: Static control example
Post by: TimoVJL on December 22, 2023, 08:54:08 PM
Good example for making program without any bloated stuff  :thumbsup: