|
|
Comments and Discussions
|
|
 |

|
Thank you for such a great MFC extension!
However, I'm trying to use this in an SDI app, but my CFormView derived class gets no skin (the default gray background stays).
I derived like this:
CMyView : public COXSkinnedView
{
...
}
Is there a way to fix the background of a form view?
The menus and status bar work just fine.
|
|
|
|
|

|
It is a very useful application. It continues to be useful if it compiles smoothly in VS 2010.
Ahamad Alisha
|
|
|
|

|
Firstly let me thank you for this great resource.
I "skinned" my application some time ago and am really impressed, however, shock/horror, I discovered today that context help from the toolbar crashes the app. It seems that the toolbar code wants WinHelp, but my app is using HTMLHelp....
To confirm the problem, I used the Wizard to generate a barebones SDI project with HTML Help, compiled and ran and context help works. "Skinned" it, recompiled and context help doesn't work.
I'm using VS2005, but surely that's not the problem. I'm linking with the .dll version of toolbox.
Any ideas...
|
|
|
|

|
Hello everyone,
I use SDI in VC6.0, I test my project with Skinsdemo, setting my project as in Start.
When I build this project, It shows Error Link below:
How can I resolve all error?
Thanks and Best regards,
Cuong
//========================================================================================
Deleting intermediate files and output files for project 'TestSkill - Win32 Debug'.
--------------------Configuration: TestSkill - Win32 Debug--------------------
Compiling resources...
Compiling...
StdAfx.cpp
Compiling...
MainFrm.cpp
TestSkill.cpp
TestSkillDoc.cpp
TestSkillView.cpp
C:\Mycode\SmartLight\samples\advanced\TestSkill\TestSkillView.cpp(56) : warning C4100: 'pDC' : unreferenced formal parameter
Generating Code...
Linking...
MainFrm.obj : error LNK2001: unresolved external symbol "public: virtual __thiscall COXTabClientWnd::~COXTabClientWnd(void)" (??1COXTabClientWnd@@UAE@XZ)
MainFrm.obj : error LNK2001: unresolved external symbol "public: virtual __thiscall COXBitmapMenuOrganizer::~COXBitmapMenuOrganizer(void)" (??1COXBitmapMenuOrganizer@@UAE@XZ)
MainFrm.obj : error LNK2001: unresolved external symbol "public: virtual __thiscall COXCoolToolBar::~COXCoolToolBar(void)" (??1COXCoolToolBar@@UAE@XZ)
MainFrm.obj : error LNK2001: unresolved external symbol "public: __thiscall COXStatusBar::COXStatusBar(void)" (??0COXStatusBar@@QAE@XZ)
MainFrm.obj : error LNK2001: unresolved external symbol "public: __thiscall COXTabClientWnd::COXTabClientWnd(void)" (??0COXTabClientWnd@@QAE@XZ)
MainFrm.obj : error LNK2001: unresolved external symbol "public: __thiscall COXBitmapMenuOrganizer::COXBitmapMenuOrganizer(void)" (??0COXBitmapMenuOrganizer@@QAE@XZ)
MainFrm.obj : error LNK2001: unresolved external symbol "public: __thiscall COXCoolToolBar::COXCoolToolBar(void)" (??0COXCoolToolBar@@QAE@XZ)
MainFrm.obj : error LNK2001: unresolved external symbol "public: static struct CRuntimeClass const COXSizableMiniDockFrameWnd::classCOXSizableMiniDockFrameWnd" (?classCOXSizableMiniDockFrameWnd@COXSizableMiniDockFrameWnd@@2UCRuntimeClass@@B)
MainFrm.obj : error LNK2001: unresolved external symbol "public: virtual __thiscall COXStatusBar::~COXStatusBar(void)" (??1COXStatusBar@@UAE@XZ)
MainFrm.obj : error LNK2001: unresolved external symbol "public: void __thiscall COXCoolToolBar::EnableDocking(unsigned long,int)" (?EnableDocking@COXCoolToolBar@@QAEXKH@Z)
MainFrm.obj : error LNK2001: unresolved external symbol "public: int __thiscall COXStatusBar::SetIndicators(unsigned int const *,int)" (?SetIndicators@COXStatusBar@@QAEHPBIH@Z)
MainFrm.obj : error LNK2001: unresolved external symbol "public: int __thiscall COXMenuBar::SetMenu(struct HMENU__ *)" (?SetMenu@COXMenuBar@@QAEHPAUHMENU__@@@Z)
MainFrm.obj : error LNK2001: unresolved external symbol "public: int __thiscall COXMenuBar::Create(class CWnd *,unsigned long,unsigned int)" (?Create@COXMenuBar@@QAEHPAVCWnd@@KI@Z)
MainFrm.obj : error LNK2001: unresolved external symbol "int __stdcall AdvancedAssertFailedLine(unsigned short const *,char const *,int)" (?AdvancedAssertFailedLine@@YGHPBGPBDH@Z)
TestSkillView.obj : error LNK2001: unresolved external symbol "int __stdcall AdvancedAssertFailedLine(unsigned short const *,char const *,int)" (?AdvancedAssertFailedLine@@YGHPBGPBDH@Z)
MainFrm.obj : error LNK2001: unresolved external symbol "public: int __thiscall COXMenuBar::HitTest(class CPoint const &,enum _tagHITTESTORIGIN)const " (?HitTest@COXMenuBar@@QBEHABVCPoint@@W4_tagHITTESTORIGIN@@@Z)
MainFrm.obj : error LNK2001: unresolved external symbol "public: int __thiscall COXMenuBar::HandleMenuKey(unsigned int)" (?HandleMenuKey@COXMenuBar@@QAEHI@Z)
MainFrm.obj : error LNK2001: unresolved external symbol "protected: int __thiscall COXMenuBar::RecreateMenuBar(int)" (?RecreateMenuBar@COXMenuBar@@IAEHH@Z)
MainFrm.obj : error LNK2001: unresolved external symbol "public: virtual __thiscall COXMenuBar::~COXMenuBar(void)" (??1COXMenuBar@@UAE@XZ)
MainFrm.obj : error LNK2001: unresolved external symbol "public: void __thiscall COXCoolToolBar::SetAdvancedCustomizationMode(int,struct HWND__ *)" (?SetAdvancedCustomizationMode@COXCoolToolBar@@QAEXHPAUHWND__@@@Z)
MainFrm.obj : error LNK2001: unresolved external symbol "public: __thiscall COXMenuBar::COXMenuBar(void)" (??0COXMenuBar@@QAE@XZ)
MainFrm.obj : error LNK2001: unresolved external symbol "protected: virtual struct AFX_MSGMAP const * __thiscall COXSizeDockBar::GetMessageMap(void)const " (?GetMessageMap@COXSizeDockBar@@MBEPBUAFX_MSGMAP@@XZ)
MainFrm.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall COXSizeDockBar::Dump(class CDumpContext &)const " (?Dump@COXSizeDockBar@@UBEXAAVCDumpContext@@@Z)
MainFrm.obj : error LNK2001: unresolved external symbol "public: virtual struct CRuntimeClass * __thiscall COXSizeDockBar::GetRuntimeClass(void)const " (?GetRuntimeClass@COXSizeDockBar@@UBEPAUCRuntimeClass@@XZ)
MainFrm.obj : error LNK2001: unresolved external symbol "public: virtual __thiscall COXSizeDockBar::~COXSizeDockBar(void)" (??1COXSizeDockBar@@UAE@XZ)
MainFrm.obj : error LNK2001: unresolved external symbol "public: __thiscall COXSizeDockBar::COXSizeDockBar(void)" (??0COXSizeDockBar@@QAE@XZ)
MainFrm.obj : error LNK2001: unresolved external symbol "public: virtual class CSize __thiscall COXSizeDockBar::CalcFixedLayout(int,int)" (?CalcFixedLayout@COXSizeDockBar@@UAE?AVCSize@@HH@Z)
MainFrm.obj : error LNK2001: unresolved external symbol "public: static struct CRuntimeClass const COXMenuBar::classCOXMenuBar" (?classCOXMenuBar@COXMenuBar@@2UCRuntimeClass@@B)
TestSkill.obj : error LNK2001: unresolved external symbol "public: virtual struct CRuntimeClass * __thiscall COXSkinnedApp::GetRuntimeClass(void)const " (?GetRuntimeClass@COXSkinnedApp@@UBEPAUCRuntimeClass@@XZ)
TestSkill.obj : error LNK2001: unresolved external symbol "protected: __thiscall COXSkinnedApp::COXSkinnedApp(void)" (??0COXSkinnedApp@@IAE@XZ)
TestSkill.obj : error LNK2001: unresolved external symbol "protected: virtual __thiscall COXSkinnedApp::~COXSkinnedApp(void)" (??1COXSkinnedApp@@MAE@XZ)
TestSkill.obj : error LNK2001: unresolved external symbol "public: int __thiscall COXSkinnedApp::SetCurrentSkin(unsigned short const *)" (?SetCurrentSkin@COXSkinnedApp@@QAEHPBG@Z)
TestSkillView.obj : error LNK2001: unresolved external symbol "public: class COXFrameSkin * __thiscall COXSkin::GetFrameSkin(void)const " (?GetFrameSkin@COXSkin@@QBEPAVCOXFrameSkin@@XZ)
TestSkillView.obj : error LNK2001: unresolved external symbol "public: class COXSkin * __thiscall COXSkinnedApp::GetCurrentSkin(void)" (?GetCurrentSkin@COXSkinnedApp@@QAEPAVCOXSkin@@XZ)
TestSkillView.obj : error LNK2001: unresolved external symbol "public: static struct CRuntimeClass const COXSkinnedApp::classCOXSkinnedApp" (?classCOXSkinnedApp@COXSkinnedApp@@2UCRuntimeClass@@B)
msvcrtd.lib(crtexew.obj) : error LNK2001: unresolved external symbol _WinMain@16
Debug/TestSkill.exe : fatal error LNK1120: 35 unresolved externals
Error executing link.exe.
TestSkill.exe - 37 error(s), 1 warning(s)
|
|
|
|

|
Dear all,
would u please advise on a straight and short way to use the "OXCustomizeManager" ? i follow instructions on this web page and also the documentation, but i really don't know how to go far, and where to configure the pages. The worst of all came when i realized that the classes in the toolbox src package are so include to one another !!. That is i include #include "OXCustomizeManager.h" in my mainframe, then the file OXCustomizeManager.cpp or "OXCustomizeManager.h" itself will include other class...
Please help .
Thanks
|
|
|
|

|
Hi,I Modify my project step by step based on this aricle.the toolbar,workspace,output all become very professor like office2003,but the menu bar still is like office2000.who can help me?thanks.
int CMainFrame::OnCreate(LPCREATESTRUCT lpCreateStruct)
{
if (CMainFrameWindow::OnCreate(lpCreateStruct) == -1)
return -1;
//m_bAutoMenuEnable=FALSE;
//toolbar
if (!this->CreateToolBarEx())
return -1;
if (!m_wndToolBar2.CreateEx(this, TBSTYLE_FLAT, WS_CHILD | WS_VISIBLE | CBRS_TOP
| CBRS_GRIPPER | CBRS_TOOLTIPS | CBRS_FLYBY | CBRS_SIZE_DYNAMIC) ||
!m_wndToolBar2.LoadToolBar(IDR_TOOLBAR_EX))
{
TRACE0("Failed to create toolbar\n");
return -1; // fail to create
}
m_wndToolBar2.ShowWindow(SW_HIDE);
if (!m_wndStatusBar.Create(this) ||
!m_wndStatusBar.SetIndicators(indicators,
sizeof(indicators)/sizeof(UINT)))
{
TRACE0("Failed to create status bar\n");
return -1; // fail to create
}
//menu
m_OxMenu.AttachFrameWnd(this);
m_OxMenu.AutoSetMenuImage();
GetMenuBar().EnableFloating(FALSE);
m_ImageList.Create(IDB_IMAGELIST, 13, 1, RGB(0,255,0));
EnableDocking(CBRS_ALIGN_ANY);
//create workspace
{
if(!m_wndWorkspace.Create(this))
{
TRACE0("Failed to create dialog bar m_wndWorkspace\n");
return -1; // fail to create
}
m_pTVUsers = m_wndWorkspace.m_pTVUsers;
m_pTVHistory = m_wndWorkspace.m_pTVHistory;
// allow bar to be resized when floating
m_wndWorkspace.SetBarStyle(m_wndWorkspace.GetBarStyle() |
CBRS_TOOLTIPS | CBRS_FLYBY | CBRS_SIZE_DYNAMIC);
m_wndWorkspace.EnableDocking(CBRS_ALIGN_ANY);
DockControlBar(&m_wndWorkspace, AFX_IDW_DOCKBAR_LEFT);
}
//create output bar
{
if(!m_wndResult.Create(this))
{
TRACE0("Failed to create dialog bar m_wndResult\n");
return -1; // fail to create
}
m_wndResult.EnableDocking(CBRS_ALIGN_ANY);
DockControlBar(&m_wndResult,AFX_IDW_DOCKBAR_BOTTOM);
m_bReadlyWndResult = TRUE;
}
SetWindowText("Workwin Server");
//tary icon
AddTrayIcon(1);
m_wndResult.RedrawWindow();
return 0;
}
|
|
|
|

|
Hello,
I use the Office 2003 skin in a mdi exe. The background of the toolbar (dockable area) of the main frame is blue, but the dockable area of the mdi child windows are grey. I use toolbars in the CMDIChildWnd.
Is there a way to change this?
Another problem is that toolbar buttons that are not enabled but checked in the ui handler look like they are accessible (Office XP and Office 2003 Skin).
I tried the SkinsDemo that uses SetHotImageList but without success.
This is the ON_UPDATE_COMMAND_UI function
void CMainFrame::OnUpdateChecked(CCmdUI* pCmdUI)
{
pCmdUI->Enable(false);
pCmdUI->SetCheck(true);
}
Used Compiler: MSVC 6
Windows XP SP2
Greetings from Germany
modified on Tuesday, November 4, 2008 4:03 AM
|
|
|
|

|
When you apply titles to the controls COXTabViewContainer and COX3DTabViewContainer, they look good just when they are docked in a vertical position, but if you dock them in horizontal position the titles of the controls were showed in the bottom of the control and it doesn't look good (is hidden). This happens inthe Office XP and Office 2003 styles.
Also when you change the skins in run time, the tabs don't repaint correctly. you have to move them to get the proper size.
Can anyone fix this??
Mauricio
Mauricio Alfaro
modified on Friday, May 30, 2008 4:32 PM
|
|
|
|

|
I am porting an application to use Ultimate Toolbox Skins. This application has several toolbars.
All toolbars located in the main project for the application are rendered correctly. But a toolbar
which is located in a seperate dll is not rendered. It still has the old look&feel.
Can anybody give me a hint how to handle such a scenario?
Thanks,
Wunni
|
|
|
|

|
Has anyone compiled in VS 2008?
There are number of issues for compiling in VS 2008.
|
|
|
|

|
hi
COXSkinnedApp's UI styles are supported for MFC Dialog based apps?
thx much
caner abalı
|
|
|
|

|
ModifyMenu function with MF_BYPOSITION | MF_STRING parameter works fine in Office XP and Office 2003 modes, but not in Office Classic mode. Is there any other way to change the top level menu text?
Shah
|
|
|
|

|
Hi
This application is really good. It works fine in CView. What changes to be made to implement it in SDI CFormView application? Simply changing CView to CFormView didn't work.
Thank you.
Shah
|
|
|
|

|
Is there a way to get Office 2007 look n feel? Thanks.
Shah
|
|
|
|

|
First thanks for this great classes.
If i run the skin demo on XP with Win classic design (like Win2000) the Office2003 skin is not blue, its gray.
|
|
|
|
 |
|
|
General News Suggestion Question Bug Answer Joke Rant Admin
|
The Ultimate Toolbox supports Office XP, Office 2003, and Classic application skins
| Type | Article |
| Licence | CPOL |
| First Posted | 24 Aug 2007 |
| Views | 88,220 |
| Downloads | 3,151 |
| Bookmarked | 47 times |
|
|