How to show progress bar in status bar ?
think you.
Use the status bar handle as the parent for a progress control.
And SB_GETRECT to get the dimensions ;)
Like this:
invoke CreateStatusWindow, WS_CHILD or WS_VISIBLE, NULL, hWnd, IDC_STATUS
mov hwndStatus, eax
invoke SendMessage, hwndStatus, SB_GETRECT, 0, addr r
mov ecx, r.bottom
sub ecx, r.top
mov edx, r.right
sub edx, r.left
invoke CreateWindowEx, NULL, addr szProgressClass, NULL, WS_CHILD or WS_VISIBLE, r.left, r.top, edx, ecx, hwndStatus, 0, hInstance, 0
mov hwndProgress, eax