One would thick this is a simple operation. If I have interpreted
the Win32 hlp file correctly, the following code should work:
GetClientRect hWnd, tRect
DIM ptArray(0:2) AS INTEGER
ptArray(0) = tRect.nRight \ 4
ptArray(1) = tRect.nRight \ 2
ptArray(2) = tRect.nRight
SendMessage ghStatus, %SB_SETPARTS, 3, VARPTR(ptArray(0))
Of course the status bar has already been created before the above code is executed.
Does anyone have some sample code to demo multiple part status
bars?
TIA,
Cecil
the Win32 hlp file correctly, the following code should work:
GetClientRect hWnd, tRect
DIM ptArray(0:2) AS INTEGER
ptArray(0) = tRect.nRight \ 4
ptArray(1) = tRect.nRight \ 2
ptArray(2) = tRect.nRight
SendMessage ghStatus, %SB_SETPARTS, 3, VARPTR(ptArray(0))
Of course the status bar has already been created before the above code is executed.
Does anyone have some sample code to demo multiple part status
bars?
TIA,
Cecil
Comment