Announcement

Collapse
No announcement yet.

Multi-part Staus Bar

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Multi-part Staus Bar

    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

  • #2
    Please disregard this request. I found out by accident that the
    point array really has to be a "LONG", not an integer array as
    stated by the Win32 hlp file.

    Cecil

    ------------------

    Comment


    • #3
      here is a working demo i posted last year.

      "exploring the status bar"




      regards, jules


      ------------------
      Best regards
      Jules
      www.rpmarchildon.com

      Comment

      Working...
      X