Jump to content
  • Advertisement

Archived

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

arcangelg

Status bar and Scroll bars

This topic is 6130 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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
Advertisement
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
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

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!