Status bar and Scroll bars

Started by
1 comment, last by arcangelg 22 years, 8 months ago
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
Arcangel
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
- The trade-off between price and quality does not exist in Japan. Rather, the idea that high quality brings on cost reduction is widely accepted.-- Tajima & Matsubara
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
Arcangel

This topic is closed to new replies.

Advertisement