HOW TO: MDI Application look like KAZAA?

I'd like to write Monopoly Game -> MFC App (must be MDI) and i think the best interface would be something like Kazaa.
The question is: How can i do that?
Johnny123Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Johnny123Author Commented:
By the way I am using Microsoft Visual Studio .NET 2003
0
Jaime OlivaresSoftware ArchitectCommented:
Please explain what features of Kazaa do you want?
Are you talkin about a on-line game or just a desktop game?
0
Johnny123Author Commented:
I am talking about the look. My game will be online. And i'd like to have 3 or 4 pages like in Kazaa.
1)the game
2)game server settings
3)chat
4)avaible servers

and for example Kazaa has Main Page, Theatre, Search, Transfer...

I want every frame to be maximized and move through pages with nice toolbar above. No maximize, minimize button on the top of the page like in typicall MDI app created with wizard. Don't want my app to look like Word or Excel. Only app has the buttons to max., min. and close.
0
Cloud Class® Course: Microsoft Exchange Server

The MCTS: Microsoft Exchange Server 2010 certification validates your skills in supporting the maintenance and administration of the Exchange servers in an enterprise environment. Learn everything you need to know with this course.

Jaime OlivaresSoftware ArchitectCommented:
I think you need this:
http://www.codeproject.com/docview/mditab.asp

Just have eliminate WS_MAXIMIZEBOX and WS_MINIMIZEBOX styles from windows.

0
Johnny123Author Commented:
I think that's the one i am looking for but when i try to build the demo project there are 12 errors (all about Demo.pch):

WindowTabCtrl.cpp
WindowTabCtrl.cpp(4) : fatal error C1083: Cannot open precompiled header file: '.\AlphaDbg/Demo.pch': No such file or directory
WindowManager.cpp
WindowManager.cpp(1) : fatal error C1083: Cannot open precompiled header file: '.\AlphaDbg/Demo.pch': No such file or directory
ViewManager.cpp
ViewManager.cpp(4) : fatal error C1083: Cannot open precompiled header file: '.\AlphaDbg/Demo.pch': No such file or directory
StdAfx.cpp
StdAfx.cpp(5) : fatal error C1083: Cannot open precompiled header file: '.\AlphaDbg/Demo.pch': No such file or directory
PopupMenu.cpp
PopupMenu.cpp(5) : fatal error C1083: Cannot open precompiled header file: '.\AlphaDbg/Demo.pch': No such file or directory
MainFrm.cpp
MainFrm.cpp(4) : fatal error C1083: Cannot open precompiled header file: '.\AlphaDbg/Demo.pch': No such file or directory
DemoView.cpp
DemoView.cpp(4) : fatal error C1083: Cannot open precompiled header file: '.\AlphaDbg/Demo.pch': No such file or directory
DemoPropertySheet.cpp
DemoPropertySheet.cpp(4) : fatal error C1083: Cannot open precompiled header file: '.\AlphaDbg/Demo.pch': No such file or directory
DemoPropertyPage.cpp
DemoPropertyPage.cpp(4) : fatal error C1083: Cannot open precompiled header file: '.\AlphaDbg/Demo.pch': No such file or directory
DemoDoc.cpp
DemoDoc.cpp(4) : fatal error C1083: Cannot open precompiled header file: '.\AlphaDbg/Demo.pch': No such file or directory
Demo.cpp
Demo.cpp(4) : fatal error C1083: Cannot open precompiled header file: '.\AlphaDbg/Demo.pch': No such file or directory
ChildFrm.cpp
ChildFrm.cpp(4) : fatal error C1083: Cannot open precompiled header file: '.\AlphaDbg/Demo.pch': No such file or directory

what can i do to build it right?
0
Jaime OlivaresSoftware ArchitectCommented:
Try with "rebuild all"
0
Johnny123Author Commented:
i tried that. it doesn't help.
when i try to only link the project it says:
Linking...
LINK : fatal error LNK1181: cannot open input file '.\AlphaDbg\ChildFrm.obj'
is this information any helpful?
0
Jaime OlivaresSoftware ArchitectCommented:
Dont have VC 2003, so I will give a generic solution:
Go to your Project Settings Window
Search for the C++ options -> Precompiled headers
Choose automatic use of precompiled headers.
0
Johnny123Author Commented:
I know I am really anoying but that's the last one. If i comment it like that the app starts and everything works but without it there is an error - problem with static cast.

BEGIN_MESSAGE_MAP(CViewManager, CCBaseControlBar)
      //{{AFX_MSG_MAP(CViewManager)
      ON_WM_SIZE()
      ON_WM_CREATE()
      ON_WM_RBUTTONDOWN()
      ON_WM_WINDOWPOSCHANGING()
      ON_WM_WINDOWPOSCHANGED()
      //}}AFX_MSG_MAP
      //ON_NOTIFY(TTN_NEEDTEXT, 0, OnViewManagerToolTip)  //this is the problem
END_MESSAGE_MAP()

mditab_demo\Demo\ViewManager.cpp(64): error C2440: 'static_cast' : cannot convert from 'BOOL (__thiscall CViewManager::* )(NMHDR *,LRESULT *)' to 'void (__thiscall CCmdTarget::* )(NMHDR *,LRESULT *)'

thank you for all your help
i am increasing the points to show you how helpful you were
and sorry for my poor english :)
0
Jaime OlivaresSoftware ArchitectCommented:
ensure OnViewManagerToolTip is declared as returning void

void OnViewManagerToolTip(....etcetera...)
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
System Programming

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.