Archived

This topic is now archived and is closed to further replies.

arcangelg

Status bar and Scroll bars

Recommended Posts

arcangelg    122
Hi, When I create a status bar and the main window has horizontal scroll bar, the status bar is above the scroll bar and no below. The MSDN documentation says that the status bar is created by default at the bottom of the window. Someone can help me please? Thanks a lot. Arcangel

Share this post


Link to post
Share on other sites
Shannon Barber    1681
Are you sure the scroll bar and the status bar are being attached to the same HWND? The status bar might be attached to a child window inside the main one, and the horizontal scroll attached to the parent. Doubt it, but maybe...

Magmai Kai Holmlor
- Not For Rent

Share this post


Link to post
Share on other sites
arcangelg    122
quote:
Original post by Magmai Kai Holmlor
Are you sure the scroll bar and the status bar are being attached to the same HWND? The status bar might be attached to a child window inside the main one, and the horizontal scroll attached to the parent. Doubt it, but maybe...

Magmai Kai Holmlor
- Not For Rent



Magmai, Thanks for answer

I verified that and it is right. I use hwnd = CreateWindowEx(...) for the main window with WS_HSCROLL style.
Then I create the scroll bar with CreateWindowEx(...) using hwnd for parent window.

I dont know where is the problem, but I am looking for an source code example.

Thanks again,
Arcangel

Share this post


Link to post
Share on other sites