Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to resize StatusBar automatically.... 1

Status
Not open for further replies.

XPPROGRAMMER

Programmer
Nov 15, 2004
44
US
Hello,

in the parent window -- I have created a statusbar
class-control window as a child window, by calling the
win32 API "createwindowEx". it is working fine, however,
when the parent window is maximized, the statusbar is NOT
resized to fit the width of parent window and IT does not
stay at the bottom either. Can you please tell me how to
set it to resize the statusbar automatically.
thanks for the help.
 
In parent windows notify the WM_SIZE message, then use MoveWindows to set the actual position of StatusBar.
 
Hi LoveInSnowing,

thanks for your reply, I did that and it worked. Regards.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top