Pelles C forum
Assembly language => Assembly discussions => Topic started by: Vortex on November 22, 2023, 08:33:56 PM
-
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
-
Nice.
We should make some templates for starters.
Lot easier to start a project from tested template.
-
Hi Timo,
Thanks, that's a nice idea.