Click here to Skip to main content
15,918,742 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: GDI+ Minimum Requirements Pin
Christian Graus19-Apr-02 16:28
protectorChristian Graus19-Apr-02 16:28 
GeneralDebug Assertion Failed! Pin
ivex19-Apr-02 14:32
ivex19-Apr-02 14:32 
GeneralRe: Debug Assertion Failed! Pin
Tim Smith19-Apr-02 14:45
Tim Smith19-Apr-02 14:45 
GeneralRe: Debug Assertion Failed! Pin
ivex19-Apr-02 16:44
ivex19-Apr-02 16:44 
GeneralRe: Debug Assertion Failed! Pin
Tim Smith20-Apr-02 4:49
Tim Smith20-Apr-02 4:49 
GeneralMenu per view in a splitter window Pin
JTAnderson19-Apr-02 13:39
JTAnderson19-Apr-02 13:39 
GeneralRe: Menu per view in a splitter window Pin
l a u r e n20-Apr-02 0:39
l a u r e n20-Apr-02 0:39 
GeneralRe: Menu per view in a splitter window Pin
Tom Archer20-Apr-02 4:24
Tom Archer20-Apr-02 4:24 
The problem here is that menus are attached to frames. The views in a splitter windows share the same frame so I don't see how you can do this without an awful lot of work.

IDEAS)

1) I did something similar to what you need to do except that I used a dialog bar on one side that contained a tree view and I didn't allow the dialog bar to be undocked. The view on the right side was then a listview. This enabled me to define an CMDIChildWnd-derived frame window and attach a toolbar to it. That frame was then used in the creation of the view's doctemplate.

2) About 15 years ago, I wrote a similar thing in OS/2. This was long before the days of having classes to do the work for you. What I did was to create 3 MDI windows. The first two were my views. The third was a "splitter window". It was simply a window that was defined as being so narrow that only its borders were viewable. Therefore, it looked just like today's splitter. I then handled that window's WM_MOVE message and resized the other windows accordingly. The overall impression to the user was that of using a splitter to view different amounts of each window. This *might* do what you want as with each view you could create your own frame and attach a menu to it.

I know these aren't the answers you were looking for. However, sometimes if someone talks about similar problems/solutions, it can jog ideas of your own that will solve your particular problem.


Cheers,
Tom Archer
Author, Inside C#

Please note that the opinions expressed in this correspondence do not necessarily reflect the views of the author.
GeneralRegular Expression in Visual Studio 6.0 Pin
Aaron Schaefer19-Apr-02 12:17
Aaron Schaefer19-Apr-02 12:17 
GeneralUsing VC++6.0 to send email Pin
Sunny_leung19-Apr-02 12:14
Sunny_leung19-Apr-02 12:14 
GeneralRe: Using VC++6.0 to send email Pin
Paul M Watt19-Apr-02 13:54
mentorPaul M Watt19-Apr-02 13:54 
GeneralRe: Using VC++6.0 to send email Pin
Chris Hafey19-Apr-02 14:56
Chris Hafey19-Apr-02 14:56 
GeneralRe: Using VC++6.0 to send email Pin
Tom Archer20-Apr-02 10:31
Tom Archer20-Apr-02 10:31 
GeneralRadio button and date picker background Pin
Anton A. Loukine19-Apr-02 11:41
Anton A. Loukine19-Apr-02 11:41 
GeneralCreateProcessWithLogonW() Pin
hph19-Apr-02 11:29
hph19-Apr-02 11:29 
GeneralRe: CreateProcessWithLogonW() Pin
hph19-Apr-02 11:36
hph19-Apr-02 11:36 
GeneralStruct Question Pin
Loli1019-Apr-02 11:05
Loli1019-Apr-02 11:05 
GeneralRe: Struct Question Pin
Chris Losinger19-Apr-02 11:34
professionalChris Losinger19-Apr-02 11:34 
GeneralRe: Struct Question Pin
Loli1019-Apr-02 12:57
Loli1019-Apr-02 12:57 
GeneralVS.NET --> VS 6 Pin
Brian Delahunty19-Apr-02 9:46
Brian Delahunty19-Apr-02 9:46 
GeneralRe: VS.NET --> VS 6 Pin
Christian Graus19-Apr-02 12:22
protectorChristian Graus19-Apr-02 12:22 
GeneralRe: VS.NET --> VS 6 Pin
Brian Delahunty21-Apr-02 3:25
Brian Delahunty21-Apr-02 3:25 
GeneralDebugging in VC6 Pin
Serge R19-Apr-02 9:42
Serge R19-Apr-02 9:42 
GeneralRe: Debugging in VC6 Pin
Navin19-Apr-02 10:55
Navin19-Apr-02 10:55 
GeneralRe: Debugging in VC6 Pin
adrian cooper19-Apr-02 23:32
adrian cooper19-Apr-02 23:32 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.