Status bar example

Started by Vortex, November 22, 2023, 08:33:56 PM

Previous topic - Next topic

Vortex

Status bar example :

DlgProc PROC hWnd:DWORD,uMsg:DWORD,wParam:DWORD,lParam:DWORD

    .IF uMsg==WM_INITDIALOG

        xor     ecx,ecx
        invoke  CreateWindowEx,ecx,\
                @Cstr("msctls_statusbar32"),@Cstr("Status bar"),\
                WS_CHILD or WS_VISIBLE,\
                ecx,278,500,22,\
                hWnd,IDW_STATBAR,hModule,ecx

        invoke  SendMessage,eax,SB_SETBKCOLOR,0,StatBarCol

Code it... That's all...

TimoVJL

Nice.
We should make some templates for starters.
Lot easier to start a project from tested template.
May the source be with you

Vortex

Hi Timo,

Thanks, that's a nice idea.
Code it... That's all...