Can anyone point me to a good article explaining how to create and use multiple windows or 'panes'. For instance, if I wanted to split the screen into a navigation pane and a reading pane?
Can anyone point me to a good article explaining how to create and use multiple windows or 'panes'. For instance, if I wanted to split the screen into a navigation pane and a reading pane?
Just put groupboxes ("BUTTON" class windows with the style of BS_GROUPBOX") around the controls that go in this "pane" or that "pane".
For multiple windows, just create do what you normally do with one window, but create 2 instead of 1 before entering the message loop. Each window should be it's own class, also keep in mind that issuing a quit message (PostQuitMessage()) will break the message loop for BOTH windows then.
You can use a splitter bar control to spilt one window.
You can use MDI (Multiple Document Interface) for a Word type interface.
You can use a dialog bar for an extended tool bar with set controls.
"Man alone suffers so excruciatingly in the world that he was compelled to invent laughter."
Friedrich Nietzsche
"I spent a lot of my money on booze, birds and fast cars......the rest I squandered."
George Best
"If you are going through hell....keep going."
Winston Churchill
I was thinking something similar but using seperate dialog boxes.
What I would really like is to have like a split window where the user can drag the border, like on windows explorer where you can move the brder between the file list and the folder list left to right. But I cannot seem to find any info on how to create that.
"Man alone suffers so excruciatingly in the world that he was compelled to invent laughter."
Friedrich Nietzsche
"I spent a lot of my money on booze, birds and fast cars......the rest I squandered."
George Best
"If you are going through hell....keep going."
Winston Churchill