News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests
NB: Posting URL's See here: Posted URL Change

Main Menu

Static control example

Started by Vortex, December 22, 2023, 06:21:36 AM

Previous topic - Next topic

Vortex

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

jj2007


TimoVJL

Good example for making program without any bloated stuff  :thumbsup:
May the source be with you