Are there any tutorials on using the status bar? Like how to turn it into multiple windows?
Posted on 2001-03-19 22:37:00 by HeroInc
Jake, this is how to split the status bar.

.data
statusWindowParts DWORD 2 DUP(0) 
nParts DWORD 2
.code
.
WndProc proc  hWnd:HWND, uMsg:UINT, wParam:DWORD, lParam:DWORD
	LOCAL xSize:WORD
.
.IF uMsg == WM_CREATE
	INVOKE CreateStatusWindow,WS_CHILD or WS_VISIBLE,NULL, hWnd, DLI_STATUS
	mov   hWndStatus,eax
.ELSEIF uMsg == WM_SIZE
	mov eax, lParam
	mov xSize, ax
	invoke SendMessage, hWndStatus, WM_SIZE, wParam, lParam
	mov ebx, offset statusWindowParts
	xor eax,eax
	mov ax, xSize
	sub eax,70
	mov dword ptr , eax
	mov dword ptr ,-1
	invoke SendMessage, hWndStatus, SB_SETPARTS, nParts, OFFSET statusWindowParts
You find the rest and explanations in Win32 help files. hth vesa
Posted on 2001-03-20 02:17:00 by vesa