Status bar and Scroll bars
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
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 Kai Holmlor
- Not For Rent
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
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement