birosra
asked on
Title bar will not display in Splitter Window Pane
I have a splitter window with 2 panes.
I cannot get the dialog displayed in one of the panes to display a title bar. I have set the title bar checkbox on the styles tab of the dialog properties but it does not display. (Other properties for the dialog include a thin border and the style as child)
I cannot get the dialog displayed in one of the panes to display a title bar. I have set the title bar checkbox on the styles tab of the dialog properties but it does not display. (Other properties for the dialog include a thin border and the style as child)
That should be my answer, sorry.
ASKER
Before I give up on this,
Would any others like to comment on Danny's response
(agree or have some magical resolution to the problem):
"No matter what you do (short of rewriting windows) you will not get a title bar inside the splitter pane. "
Would any others like to comment on Danny's response
(agree or have some magical resolution to the problem):
"No matter what you do (short of rewriting windows) you will not get a title bar inside the splitter pane. "
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
What kind of caption will that draw? Will that draw the old style (Win 3.11, NT 3.51) or the new style (Win 95, NT 4.0)?
From MSDN:
Design a dialog template.
Use the dialog editor to design the dialog box. Then, in the Styles and More Styles property pages, set the following properties:
•In the Style box, select Child (WS_CHILD on).
•In the Border box, select None (WS_BORDER off).
•Clear the Visible check box (WS_VISIBLE off).
•Clear the Titlebar check box (WS_CAPTION off).
These steps are necessary because a form view is not a true dialog box.
--
The form's caption is given by the parent, usually some CFrameWnd-derivative. In your case, the CSplitterWnd is its parent.
No matter what you do (short of rewriting windows) you will not get a title bar inside the splitter pane.