still status bar...

This is a discussion on still status bar... within the Windows Programming forums, part of the Platform Specific Boards category; Once I've a status bar i want it to follow the parent window. I trusted the SBS_SIZEGRIP style was there ...

  1. #1
    Registered User
    Join Date
    Jan 2002
    Posts
    12

    still status bar...

    Once I've a status bar i want it to follow the parent window.
    I trusted the SBS_SIZEGRIP style was there to do it but it doesn't work. So how can I do?

  2. #2
    erstwhile
    Join Date
    Jan 2002
    Posts
    2,227
    hi

    handle the WM_SIZE message for your main wnd (the parent of your status bar) then send a WM_SIZE message to the status bar there:

    SendMessage(hwndStatusBar,WM_SIZE,0,0);

  3. #3
    Registered User
    Join Date
    Jan 2002
    Posts
    12
    thank u so much!!!!!! ))

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. status bar flickering
    By rakan in forum Windows Programming
    Replies: 5
    Last Post: 01-07-2008, 09:11 PM
  2. beach bar (sims type game)
    By DrKillPatient in forum Game Programming
    Replies: 1
    Last Post: 03-06-2006, 12:32 PM
  3. Status bar
    By maxorator in forum Windows Programming
    Replies: 3
    Last Post: 11-06-2005, 10:45 AM
  4. Troubles with Sockets
    By cornholio in forum Windows Programming
    Replies: 6
    Last Post: 10-26-2005, 05:31 AM
  5. Disabling "Ready" & Other Auto Status Bar Updates :: MFC
    By kuphryn in forum C++ Programming
    Replies: 1
    Last Post: 04-03-2002, 07:51 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21