Forum
Please
Log In
to post a new message or reply to an existing one. If you are not registered, please
register.
NOTE: Some forums may be read-only if you are not currently subscribed to
our technical support services.
Subject |
Author |
Date |
|
Offer Har
|
Jan 7, 2008 - 8:59 AM
|
Dear Support,
Is there a method like in explorer that when right-clicking on the column header of a grid, the user is presented with a list of available columns and can select what columns to show and hide.
If this method exists, is it serialized so that the selected columns will only be displayed next time the application starts?
Thanks, Ron.
|
|
Offer Har
|
Jan 23, 2008 - 8:21 AM
|
Dear Support,
Any answer?
Ron.
|
|
Offer Har
|
Jan 8, 2008 - 3:35 PM
|
Any chance to see this feature in a regular grid?
|
|
Technical Support
|
Jan 8, 2008 - 12:43 PM
|
This feature is currently implemented for the CExtReportGridWnd control only.
|
|
Paul Cowan
|
Jan 7, 2008 - 7:39 AM
|
I would be nice if the install would prompt for which versions of Visual Studio are being used and only install the files for that version. We only use 2005, so all the other VS support files are not needed.
|
|
Technical Support
|
Jan 8, 2008 - 12:45 PM
|
Thank you for your suggestion. The Integration Wizard and Application Wizard files are located in the ../Prof-UIS/Support folder. The help files are located in ../Prof-UIS/Help. The total size of all these files are not too large and the Integration Wizard allows you to integrate both Application Wizard and Help files to any currently installed version of Visual Studio and compile required library configurations too. All the projects have project/workspace/solution files for all the supported Visual Studio versions. These files are very small and you many need them if you switch to some particular Visual Studio version, Win32, x64 or IA64 platform. Any other folders and files are not related to any particular Visual Studio versions. You can install Visual Studio 2005, then install Prof-UIS and then switch your development to new Visual Studio 2008. In this case you don’t need to re-install Prof-UIS. You should simply run Integration Wizard and do required tasks with it.
|
|
Pierre MEDART
|
Jan 7, 2008 - 4:41 AM
|
We are facing an issue with the resizing of the application (with ProfUI2.70).
the case is :
1) maximize / restore the application
2) press win + D
3) click on the minimized in the windows bar
result the application on screeb is in the state previous to operation 1)
Any clue ? The MainFrame is CExtNCW < CMDIFrameWnd >.
|
|
Technical Support
|
Jan 8, 2008 - 12:46 PM
|
This bug was fixed in 2.81.
|
|
tera t
|
Jan 7, 2008 - 2:22 AM
|
Hello.
On this bulletin board, I cannot use CharCode_7e for an address of a homepage Much CharCode_7e is used for a Japanese homepage address. I want to use CharCode_7e.
ttp://profuis0.tripod.com/20070830/image01.jpg
|
|
Technical Support
|
Jan 10, 2008 - 4:35 AM
|
This is fixed. Please check it.
|
|
Technical Support
|
Jan 8, 2008 - 9:40 AM
|
We confirm that a tilde (~) is replaced with ˜. We are sorry for this inconvenience and will fix this as soon as possible.
|
|
Christophe Guibert
|
Jan 6, 2008 - 11:39 AM
|
Hello,
I would like to paint the CMainFrame background with the current paint manager theme, as you did in the views of the MDIDOCVIEW sample.
I added an OnPaint() method to the main frame in your sample, and naively thought it would do the trick :
void CMainFrame::OnPaint()
{
CPaintDC dcPaint( this );
CExtMemoryDC dc( &dcPaint );
CRect rcClient;
GetClientRect( &rcClient );
if( ! g_PaintManager->PaintDocumentClientAreaBkgnd( dc, this ) )
{
dc.FillSolidRect(
&rcClient,
g_PaintManager->GetColor( COLOR_WINDOW, this )
);
}
}
The PaintDocumentClientAreaBkgnd() method returns true, but nothing seems to be done.
Could you tell me what I am missing in your sample ?
Thank you and best regards,
Christophe Guibert
|
|
Suhai Gyorgy
|
Jan 7, 2008 - 3:00 AM
|
|
|
Christophe Guibert
|
Jan 7, 2008 - 2:14 PM
|
Hello Suhai,
Thank you very much : exactly what I needed, and it works fine.
Best Regards,
Christophe Guibert
|
|
Bangjun Lei
|
Jan 6, 2008 - 9:45 AM
|
Dear Sir./Madam.,
I just installed VS2005. And then I tried to install Prof-uis 2.82. The wizard failed. So I openned the project file in VS2005 and tried to compile Profuis lib. However I get the following strange errors, can you help to tell me what the problem might be? What should I do? Thanks!
1>------ Build started: Project: ProfUISLIB, Configuration: Static Unicode Debug Win32 ------ 1>Compiling... 1>ExtButton.cpp 1>c:\program files\foss software inc\prof-uis\include\exttempl.h(56) : fatal error C1083: Cannot open include file: ’../Src/occimpl.h’: No such file or directory 1>ExtCmdManager.cpp 1>c:\program files\foss software inc\prof-uis\src\extcmdmanager.cpp(45) : fatal error C1083: Cannot open include file: ’../src/AfxImpl.h’: No such file or directory 1>ExtColorDlg.cpp 1>c:\program files\foss software inc\prof-uis\include\exttempl.h(56) : fatal error C1083: Cannot open include file: ’../Src/occimpl.h’: No such file or directory 1>ExtComboBox.cpp 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxadv.h(125) : error C3861: ’ENSURE_ARG’: identifier not found 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(299) : error C2061: syntax error : identifier ’DrawTextW’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(300) : error C2091: function returns function 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(301) : error C2061: syntax error : identifier ’DrawTextExW’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(302) : error C2091: function returns function 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(302) : error C2556: ’int (__cdecl *CPreviewDC::_AFX_FUNCNAME(void))(LPTSTR,int,LPRECT,UINT,LPDRAWTEXTPARAMS)’ : overloaded function differs only by return type from ’int (__cdecl *CPreviewDC::_AFX_FUNCNAME(void))(LPCTSTR,int,LPRECT,UINT)’ 1> c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(299) : see declaration of ’CPreviewDC::_AFX_FUNCNAME’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(302) : error C2371: ’CPreviewDC::_AFX_FUNCNAME’ : redefinition; different basic types 1> c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(299) : see declaration of ’CPreviewDC::_AFX_FUNCNAME’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(310) : error C3867: ’CPreviewDC::DrawText’: function call missing argument list; use ’&CPreviewDC::DrawText’ to create a pointer to member 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(310) : error C2660: ’CPreviewDC::_AFX_FUNCNAME’ : function does not take 1 arguments 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(315) : error C3867: ’CPreviewDC::DrawTextEx’: function call missing argument list; use ’&CPreviewDC::DrawTextEx’ to create a pointer to member 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(315) : error C2660: ’CPreviewDC::_AFX_FUNCNAME’ : function does not take 1 arguments 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(757) : error C2039: ’m_pPushRoutingFrame’ : is not a member of ’_AFX_THREAD_STATE’ 1> c:\program files\microsoft platform sdk for windows server 2003 r2\include\mfc\afxstat_.h(347) : see declaration of ’_AFX_THREAD_STATE’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(760) : error C2039: ’m_pPushRoutingFrame’ : is not a member of ’_AFX_THREAD_STATE’ 1> c:\program files\microsoft platform sdk for windows server 2003 r2\include\mfc\afxstat_.h(347) : see declaration of ’_AFX_THREAD_STATE’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(766) : error C2039: ’m_pPushRoutingFrame’ : is not a member of ’_AFX_THREAD_STATE’ 1> c:\program files\microsoft platform sdk for windows server 2003 r2\include\mfc\afxstat_.h(347) : see declaration of ’_AFX_THREAD_STATE’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(768) : error C2039: ’m_pPushRoutingFrame’ : is not a member of ’_AFX_THREAD_STATE’ 1> c:\program files\microsoft platform sdk for windows server 2003 r2\include\mfc\afxstat_.h(347) : see declaration of ’_AFX_THREAD_STATE’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(773) : error C3861: ’ENSURE’: identifier not found 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(774) : error C2039: ’m_pPushRoutingFrame’ : is not a member of ’_AFX_THREAD_STATE’ 1> c:\program files\microsoft platform sdk for windows server 2003 r2\include\mfc\afxstat_.h(347) : see declaration of ’_AFX_THREAD_STATE’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(776) : error C2039: ’m_pPushRoutingFrame’ : is not a member of ’_AFX_THREAD_STATE’ 1> c:\program files\microsoft platform sdk for windows server 2003 r2\include\mfc\afxstat_.h(347) : see declaration of ’_AFX_THREAD_STATE’ 1>c:\program files\foss software inc\prof-uis\src\extcombobox.cpp(1606) : error C4867: ’CExtComboBoxBase::CtlColor’: function call missing argument list; use ’&CExtComboBoxBase::CtlColor’ to create a pointer to member 1>ExtControlBar.cpp 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxadv.h(125) : error C3861: ’ENSURE_ARG’: identifier not found 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(299) : error C2061: syntax error : identifier ’DrawTextW’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(300) : error C2091: function returns function 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(301) : error C2061: syntax error : identifier ’DrawTextExW’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(302) : error C2091: function returns function 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(302) : error C2556: ’int (__cdecl *CPreviewDC::_AFX_FUNCNAME(void))(LPTSTR,int,LPRECT,UINT,LPDRAWTEXTPARAMS)’ : overloaded function differs only by return type from ’int (__cdecl *CPreviewDC::_AFX_FUNCNAME(void))(LPCTSTR,int,LPRECT,UINT)’ 1> c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(299) : see declaration of ’CPreviewDC::_AFX_FUNCNAME’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(302) : error C2371: ’CPreviewDC::_AFX_FUNCNAME’ : redefinition; different basic types 1> c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(299) : see declaration of ’CPreviewDC::_AFX_FUNCNAME’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(310) : error C3867: ’CPreviewDC::DrawText’: function call missing argument list; use ’&CPreviewDC::DrawText’ to create a pointer to member 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(310) : error C2660: ’CPreviewDC::_AFX_FUNCNAME’ : function does not take 1 arguments 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(315) : error C3867: ’CPreviewDC::DrawTextEx’: function call missing argument list; use ’&CPreviewDC::DrawTextEx’ to create a pointer to member 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(315) : error C2660: ’CPreviewDC::_AFX_FUNCNAME’ : function does not take 1 arguments 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(757) : error C2039: ’m_pPushRoutingFrame’ : is not a member of ’_AFX_THREAD_STATE’ 1> c:\program files\microsoft platform sdk for windows server 2003 r2\include\mfc\afxstat_.h(347) : see declaration of ’_AFX_THREAD_STATE’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(760) : error C2039: ’m_pPushRoutingFrame’ : is not a member of ’_AFX_THREAD_STATE’ 1> c:\program files\microsoft platform sdk for windows server 2003 r2\include\mfc\afxstat_.h(347) : see declaration of ’_AFX_THREAD_STATE’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(766) : error C2039: ’m_pPushRoutingFrame’ : is not a member of ’_AFX_THREAD_STATE’ 1> c:\program files\microsoft platform sdk for windows server 2003 r2\include\mfc\afxstat_.h(347) : see declaration of ’_AFX_THREAD_STATE’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(768) : error C2039: ’m_pPushRoutingFrame’ : is not a member of ’_AFX_THREAD_STATE’ 1> c:\program files\microsoft platform sdk for windows server 2003 r2\include\mfc\afxstat_.h(347) : see declaration of ’_AFX_THREAD_STATE’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(773) : error C3861: ’ENSURE’: identifier not found 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(774) : error C2039: ’m_pPushRoutingFrame’ : is not a member of ’_AFX_THREAD_STATE’ 1> c:\program files\microsoft platform sdk for windows server 2003 r2\include\mfc\afxstat_.h(347) : see declaration of ’_AFX_THREAD_STATE’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(776) : error C2039: ’m_pPushRoutingFrame’ : is not a member of ’_AFX_THREAD_STATE’ 1> c:\program files\microsoft platform sdk for windows server 2003 r2\include\mfc\afxstat_.h(347) : see declaration of ’_AFX_THREAD_STATE’ 1>c:\program files\foss software inc\prof-uis\include\exttempl.h(56) : fatal error C1083: Cannot open include file: ’../Src/occimpl.h’: No such file or directory 1>ExtControlBarTabbedFeatures.cpp 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxadv.h(125) : error C3861: ’ENSURE_ARG’: identifier not found 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(299) : error C2061: syntax error : identifier ’DrawTextW’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(300) : error C2091: function returns function 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(301) : error C2061: syntax error : identifier ’DrawTextExW’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(302) : error C2091: function returns function 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(302) : error C2556: ’int (__cdecl *CPreviewDC::_AFX_FUNCNAME(void))(LPTSTR,int,LPRECT,UINT,LPDRAWTEXTPARAMS)’ : overloaded function differs only by return type from ’int (__cdecl *CPreviewDC::_AFX_FUNCNAME(void))(LPCTSTR,int,LPRECT,UINT)’ 1> c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(299) : see declaration of ’CPreviewDC::_AFX_FUNCNAME’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(302) : error C2371: ’CPreviewDC::_AFX_FUNCNAME’ : redefinition; different basic types 1> c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(299) : see declaration of ’CPreviewDC::_AFX_FUNCNAME’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(334) : error C2061: syntax error : identifier ’__in_z’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(310) : error C3867: ’CPreviewDC::DrawText’: function call missing argument list; use ’&CPreviewDC::DrawText’ to create a pointer to member 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(310) : error C2660: ’CPreviewDC::_AFX_FUNCNAME’ : function does not take 1 arguments 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(315) : error C3867: ’CPreviewDC::DrawTextEx’: function call missing argument list; use ’&CPreviewDC::DrawTextEx’ to create a pointer to member 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(315) : error C2660: ’CPreviewDC::_AFX_FUNCNAME’ : function does not take 1 arguments 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(757) : error C2039: ’m_pPushRoutingFrame’ : is not a member of ’_AFX_THREAD_STATE’ 1> c:\program files\microsoft platform sdk for windows server 2003 r2\include\mfc\afxstat_.h(347) : see declaration of ’_AFX_THREAD_STATE’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(760) : error C2039: ’m_pPushRoutingFrame’ : is not a member of ’_AFX_THREAD_STATE’ 1> c:\program files\microsoft platform sdk for windows server 2003 r2\include\mfc\afxstat_.h(347) : see declaration of ’_AFX_THREAD_STATE’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(766) : error C2039: ’m_pPushRoutingFrame’ : is not a member of ’_AFX_THREAD_STATE’ 1> c:\program files\microsoft platform sdk for windows server 2003 r2\include\mfc\afxstat_.h(347) : see declaration of ’_AFX_THREAD_STATE’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(768) : error C2039: ’m_pPushRoutingFrame’ : is not a member of ’_AFX_THREAD_STATE’ 1> c:\program files\microsoft platform sdk for windows server 2003 r2\include\mfc\afxstat_.h(347) : see declaration of ’_AFX_THREAD_STATE’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(773) : error C3861: ’ENSURE’: identifier not found 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(774) : error C2039: ’m_pPushRoutingFrame’ : is not a member of ’_AFX_THREAD_STATE’ 1> c:\program files\microsoft platform sdk for windows server 2003 r2\include\mfc\afxstat_.h(347) : see declaration of ’_AFX_THREAD_STATE’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(776) : error C2039: ’m_pPushRoutingFrame’ : is not a member of ’_AFX_THREAD_STATE’ 1> c:\program files\microsoft platform sdk for windows server 2003 r2\include\mfc\afxstat_.h(347) : see declaration of ’_AFX_THREAD_STATE’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(807) : error C2061: syntax error : identifier ’__out_ecount_part_z’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(807) : error C2059: syntax error : ’)’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(807) : error C2143: syntax error : missing ’)’ before ’;’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(808) : error C2061: syntax error : identifier ’__out_ecount_part_z’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(808) : error C2059: syntax error : ’)’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(808) : error C2143: syntax error : missing ’)’ before ’;’ 1>c:\program files\foss software inc\prof-uis\src\extcontrolbartabbedfeatures.cpp(31) : fatal error C1083: Cannot open include file: ’../src/AfxImpl.h’: No such file or directory 1>ExtCustomize.cpp 1>c:\program files\foss software inc\prof-uis\include\exttempl.h(56) : fatal error C1083: Cannot open include file: ’../Src/occimpl.h’: No such file or directory 1>ExtDockBar.cpp 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxadv.h(125) : error C3861: ’ENSURE_ARG’: identifier not found 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(299) : error C2061: syntax error : identifier ’DrawTextW’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(300) : error C2091: function returns function 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(301) : error C2061: syntax error : identifier ’DrawTextExW’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(302) : error C2091: function returns function 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(302) : error C2556: ’int (__cdecl *CPreviewDC::_AFX_FUNCNAME(void))(LPTSTR,int,LPRECT,UINT,LPDRAWTEXTPARAMS)’ : overloaded function differs only by return type from ’int (__cdecl *CPreviewDC::_AFX_FUNCNAME(void))(LPCTSTR,int,LPRECT,UINT)’ 1> c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(299) : see declaration of ’CPreviewDC::_AFX_FUNCNAME’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(302) : error C2371: ’CPreviewDC::_AFX_FUNCNAME’ : redefinition; different basic types 1> c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(299) : see declaration of ’CPreviewDC::_AFX_FUNCNAME’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(334) : error C2061: syntax error : identifier ’__in_z’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(310) : error C3867: ’CPreviewDC::DrawText’: function call missing argument list; use ’&CPreviewDC::DrawText’ to create a pointer to member 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(310) : error C2660: ’CPreviewDC::_AFX_FUNCNAME’ : function does not take 1 arguments 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(315) : error C3867: ’CPreviewDC::DrawTextEx’: function call missing argument list; use ’&CPreviewDC::DrawTextEx’ to create a pointer to member 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(315) : error C2660: ’CPreviewDC::_AFX_FUNCNAME’ : function does not take 1 arguments 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(757) : error C2039: ’m_pPushRoutingFrame’ : is not a member of ’_AFX_THREAD_STATE’ 1> c:\program files\microsoft platform sdk for windows server 2003 r2\include\mfc\afxstat_.h(347) : see declaration of ’_AFX_THREAD_STATE’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(760) : error C2039: ’m_pPushRoutingFrame’ : is not a member of ’_AFX_THREAD_STATE’ 1> c:\program files\microsoft platform sdk for windows server 2003 r2\include\mfc\afxstat_.h(347) : see declaration of ’_AFX_THREAD_STATE’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(766) : error C2039: ’m_pPushRoutingFrame’ : is not a member of ’_AFX_THREAD_STATE’ 1> c:\program files\microsoft platform sdk for windows server 2003 r2\include\mfc\afxstat_.h(347) : see declaration of ’_AFX_THREAD_STATE’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(768) : error C2039: ’m_pPushRoutingFrame’ : is not a member of ’_AFX_THREAD_STATE’ 1> c:\program files\microsoft platform sdk for windows server 2003 r2\include\mfc\afxstat_.h(347) : see declaration of ’_AFX_THREAD_STATE’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(773) : error C3861: ’ENSURE’: identifier not found 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(774) : error C2039: ’m_pPushRoutingFrame’ : is not a member of ’_AFX_THREAD_STATE’ 1> c:\program files\microsoft platform sdk for windows server 2003 r2\include\mfc\afxstat_.h(347) : see declaration of ’_AFX_THREAD_STATE’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(776) : error C2039: ’m_pPushRoutingFrame’ : is not a member of ’_AFX_THREAD_STATE’ 1> c:\program files\microsoft platform sdk for windows server 2003 r2\include\mfc\afxstat_.h(347) : see declaration of ’_AFX_THREAD_STATE’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(807) : error C2061: syntax error : identifier ’__out_ecount_part_z’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(807) : error C2059: syntax error : ’)’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(807) : error C2143: syntax error : missing ’)’ before ’;’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(808) : error C2061: syntax error : identifier ’__out_ecount_part_z’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(808) : error C2059: syntax error : ’)’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(808) : error C2143: syntax error : missing ’)’ before ’;’ 1>c:\program files\foss software inc\prof-uis\src\extdockbar.cpp(35) : fatal error C1083: Cannot open include file: ’../src/AfxImpl.h’: No such file or directory 1>ExtEdit.cpp 1>c:\program files\foss software inc\prof-uis\src\extedit.cpp(78) : error C4867: ’CExtEditBase::CtlColor’: function call missing argument list; use ’&CExtEditBase::CtlColor’ to create a pointer to member 1>ExtGridWnd.cpp 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxadv.h(125) : error C3861: ’ENSURE_ARG’: identifier not found 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(299) : error C2061: syntax error : identifier ’DrawTextW’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(300) : error C2091: function returns function 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(301) : error C2061: syntax error : identifier ’DrawTextExW’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(302) : error C2091: function returns function 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(302) : error C2556: ’int (__cdecl *CPreviewDC::_AFX_FUNCNAME(void))(LPTSTR,int,LPRECT,UINT,LPDRAWTEXTPARAMS)’ : overloaded function differs only by return type from ’int (__cdecl *CPreviewDC::_AFX_FUNCNAME(void))(LPCTSTR,int,LPRECT,UINT)’ 1> c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(299) : see declaration of ’CPreviewDC::_AFX_FUNCNAME’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(302) : error C2371: ’CPreviewDC::_AFX_FUNCNAME’ : redefinition; different basic types 1> c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(299) : see declaration of ’CPreviewDC::_AFX_FUNCNAME’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(310) : error C3867: ’CPreviewDC::DrawText’: function call missing argument list; use ’&CPreviewDC::DrawText’ to create a pointer to member 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(310) : error C2660: ’CPreviewDC::_AFX_FUNCNAME’ : function does not take 1 arguments 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(315) : error C3867: ’CPreviewDC::DrawTextEx’: function call missing argument list; use ’&CPreviewDC::DrawTextEx’ to create a pointer to member 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(315) : error C2660: ’CPreviewDC::_AFX_FUNCNAME’ : function does not take 1 arguments 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(757) : error C2039: ’m_pPushRoutingFrame’ : is not a member of ’_AFX_THREAD_STATE’ 1> c:\program files\microsoft platform sdk for windows server 2003 r2\include\mfc\afxstat_.h(347) : see declaration of ’_AFX_THREAD_STATE’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(760) : error C2039: ’m_pPushRoutingFrame’ : is not a member of ’_AFX_THREAD_STATE’ 1> c:\program files\microsoft platform sdk for windows server 2003 r2\include\mfc\afxstat_.h(347) : see declaration of ’_AFX_THREAD_STATE’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(766) : error C2039: ’m_pPushRoutingFrame’ : is not a member of ’_AFX_THREAD_STATE’ 1> c:\program files\microsoft platform sdk for windows server 2003 r2\include\mfc\afxstat_.h(347) : see declaration of ’_AFX_THREAD_STATE’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(768) : error C2039: ’m_pPushRoutingFrame’ : is not a member of ’_AFX_THREAD_STATE’ 1> c:\program files\microsoft platform sdk for windows server 2003 r2\include\mfc\afxstat_.h(347) : see declaration of ’_AFX_THREAD_STATE’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(773) : error C3861: ’ENSURE’: identifier not found 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(774) : error C2039: ’m_pPushRoutingFrame’ : is not a member of ’_AFX_THREAD_STATE’ 1> c:\program files\microsoft platform sdk for windows server 2003 r2\include\mfc\afxstat_.h(347) : see declaration of ’_AFX_THREAD_STATE’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(776) : error C2039: ’m_pPushRoutingFrame’ : is not a member of ’_AFX_THREAD_STATE’ 1> c:\program files\microsoft platform sdk for windows server 2003 r2\include\mfc\afxstat_.h(347) : see declaration of ’_AFX_THREAD_STATE’ 1>c:\program files\foss software inc\prof-uis\src\extgridwnd.cpp(55) : fatal error C1083: Cannot open include file: ’../src/AfxImpl.h’: No such file or directory 1>ExtGroupBox.cpp 1>c:\program files\foss software inc\prof-uis\include\exttempl.h(56) : fatal error C1083: Cannot open include file: ’../Src/occimpl.h’: No such file or directory 1>ExtIconEditDlg.cpp 1>c:\program files\foss software inc\prof-uis\include\exttempl.h(56) : fatal error C1083: Cannot open include file: ’../Src/occimpl.h’: No such file or directory 1>ExtMdiWindowsListDlg.cpp 1>c:\program files\foss software inc\prof-uis\include\exttempl.h(56) : fatal error C1083: Cannot open include file: ’../Src/occimpl.h’: No such file or directory 1>ExtMenuControlBar.cpp 1>c:\program files\foss software inc\prof-uis\src\extmenucontrolbar.cpp(25) : fatal error C1083: Cannot open include file: ’../src/AfxImpl.h’: No such file or directory 1>ExtMiniDockFrameWnd.cpp 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxadv.h(125) : error C3861: ’ENSURE_ARG’: identifier not found 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(299) : error C2061: syntax error : identifier ’DrawTextW’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(300) : error C2091: function returns function 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(301) : error C2061: syntax error : identifier ’DrawTextExW’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(302) : error C2091: function returns function 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(302) : error C2556: ’int (__cdecl *CPreviewDC::_AFX_FUNCNAME(void))(LPTSTR,int,LPRECT,UINT,LPDRAWTEXTPARAMS)’ : overloaded function differs only by return type from ’int (__cdecl *CPreviewDC::_AFX_FUNCNAME(void))(LPCTSTR,int,LPRECT,UINT)’ 1> c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(299) : see declaration of ’CPreviewDC::_AFX_FUNCNAME’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(302) : error C2371: ’CPreviewDC::_AFX_FUNCNAME’ : redefinition; different basic types 1> c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(299) : see declaration of ’CPreviewDC::_AFX_FUNCNAME’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(334) : error C2061: syntax error : identifier ’__in_z’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(310) : error C3867: ’CPreviewDC::DrawText’: function call missing argument list; use ’&CPreviewDC::DrawText’ to create a pointer to member 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(310) : error C2660: ’CPreviewDC::_AFX_FUNCNAME’ : function does not take 1 arguments 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(315) : error C3867: ’CPreviewDC::DrawTextEx’: function call missing argument list; use ’&CPreviewDC::DrawTextEx’ to create a pointer to member 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(315) : error C2660: ’CPreviewDC::_AFX_FUNCNAME’ : function does not take 1 arguments 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(757) : error C2039: ’m_pPushRoutingFrame’ : is not a member of ’_AFX_THREAD_STATE’ 1> c:\program files\microsoft platform sdk for windows server 2003 r2\include\mfc\afxstat_.h(347) : see declaration of ’_AFX_THREAD_STATE’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(760) : error C2039: ’m_pPushRoutingFrame’ : is not a member of ’_AFX_THREAD_STATE’ 1> c:\program files\microsoft platform sdk for windows server 2003 r2\include\mfc\afxstat_.h(347) : see declaration of ’_AFX_THREAD_STATE’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(766) : error C2039: ’m_pPushRoutingFrame’ : is not a member of ’_AFX_THREAD_STATE’ 1> c:\program files\microsoft platform sdk for windows server 2003 r2\include\mfc\afxstat_.h(347) : see declaration of ’_AFX_THREAD_STATE’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(768) : error C2039: ’m_pPushRoutingFrame’ : is not a member of ’_AFX_THREAD_STATE’ 1> c:\program files\microsoft platform sdk for windows server 2003 r2\include\mfc\afxstat_.h(347) : see declaration of ’_AFX_THREAD_STATE’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(773) : error C3861: ’ENSURE’: identifier not found 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(774) : error C2039: ’m_pPushRoutingFrame’ : is not a member of ’_AFX_THREAD_STATE’ 1> c:\program files\microsoft platform sdk for windows server 2003 r2\include\mfc\afxstat_.h(347) : see declaration of ’_AFX_THREAD_STATE’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(776) : error C2039: ’m_pPushRoutingFrame’ : is not a member of ’_AFX_THREAD_STATE’ 1> c:\program files\microsoft platform sdk for windows server 2003 r2\include\mfc\afxstat_.h(347) : see declaration of ’_AFX_THREAD_STATE’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(807) : error C2061: syntax error : identifier ’__out_ecount_part_z’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(807) : error C2059: syntax error : ’)’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(807) : error C2143: syntax error : missing ’)’ before ’;’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(808) : error C2061: syntax error : identifier ’__out_ecount_part_z’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(808) : error C2059: syntax error : ’)’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(808) : error C2143: syntax error : missing ’)’ before ’;’ 1>c:\program files\foss software inc\prof-uis\src\extminidockframewnd.cpp(43) : fatal error C1083: Cannot open include file: ’../src/AfxImpl.h’: No such file or directory 1>ExtNcFrame.cpp 1>c:\program files\foss software inc\prof-uis\include\exttempl.h(56) : fatal error C1083: Cannot open include file: ’../Src/occimpl.h’: No such file or directory 1>ExtPageContainerWnd.cpp 1>c:\program files\foss software inc\prof-uis\include\exttempl.h(56) : fatal error C1083: Cannot open include file: ’../Src/occimpl.h’: No such file or directory 1>ExtPageNavigatorWnd.cpp 1>c:\program files\foss software inc\prof-uis\include\exttempl.h(56) : fatal error C1083: Cannot open include file: ’../Src/occimpl.h’: No such file or directory 1>ExtPaintManager.cpp 1>c:\program files\foss software inc\prof-uis\src\extpaintmanager.cpp(25) : fatal error C1083: Cannot open include file: ’../src/AfxImpl.h’: No such file or directory 1>ExtPaintManager2.cpp 1>c:\program files\foss software inc\prof-uis\src\extpaintmanager2.cpp(37) : fatal error C1083: Cannot open include file: ’../src/AfxImpl.h’: No such file or directory 1>Generating Code... 1>Compiling... 1>ExtPopupCtrlMenu.cpp 1>c:\program files\foss software inc\prof-uis\include\exttempl.h(56) : fatal error C1083: Cannot open include file: ’../Src/occimpl.h’: No such file or directory 1>ExtPopupMenuWnd.cpp 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxadv.h(125) : error C3861: ’ENSURE_ARG’: identifier not found 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(299) : error C2061: syntax error : identifier ’DrawTextW’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(300) : error C2091: function returns function 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(301) : error C2061: syntax error : identifier ’DrawTextExW’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(302) : error C2091: function returns function 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(302) : error C2556: ’int (__cdecl *CPreviewDC::_AFX_FUNCNAME(void))(LPTSTR,int,LPRECT,UINT,LPDRAWTEXTPARAMS)’ : overloaded function differs only by return type from ’int (__cdecl *CPreviewDC::_AFX_FUNCNAME(void))(LPCTSTR,int,LPRECT,UINT)’ 1> c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(299) : see declaration of ’CPreviewDC::_AFX_FUNCNAME’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(302) : error C2371: ’CPreviewDC::_AFX_FUNCNAME’ : redefinition; different basic types 1> c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(299) : see declaration of ’CPreviewDC::_AFX_FUNCNAME’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(334) : error C2061: syntax error : identifier ’__in_z’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(310) : error C3867: ’CPreviewDC::DrawText’: function call missing argument list; use ’&CPreviewDC::DrawText’ to create a pointer to member 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(310) : error C2660: ’CPreviewDC::_AFX_FUNCNAME’ : function does not take 1 arguments 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(315) : error C3867: ’CPreviewDC::DrawTextEx’: function call missing argument list; use ’&CPreviewDC::DrawTextEx’ to create a pointer to member 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(315) : error C2660: ’CPreviewDC::_AFX_FUNCNAME’ : function does not take 1 arguments 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(757) : error C2039: ’m_pPushRoutingFrame’ : is not a member of ’_AFX_THREAD_STATE’ 1> c:\program files\microsoft platform sdk for windows server 2003 r2\include\mfc\afxstat_.h(347) : see declaration of ’_AFX_THREAD_STATE’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(760) : error C2039: ’m_pPushRoutingFrame’ : is not a member of ’_AFX_THREAD_STATE’ 1> c:\program files\microsoft platform sdk for windows server 2003 r2\include\mfc\afxstat_.h(347) : see declaration of ’_AFX_THREAD_STATE’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(766) : error C2039: ’m_pPushRoutingFrame’ : is not a member of ’_AFX_THREAD_STATE’ 1> c:\program files\microsoft platform sdk for windows server 2003 r2\include\mfc\afxstat_.h(347) : see declaration of ’_AFX_THREAD_STATE’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(768) : error C2039: ’m_pPushRoutingFrame’ : is not a member of ’_AFX_THREAD_STATE’ 1> c:\program files\microsoft platform sdk for windows server 2003 r2\include\mfc\afxstat_.h(347) : see declaration of ’_AFX_THREAD_STATE’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(773) : error C3861: ’ENSURE’: identifier not found 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(774) : error C2039: ’m_pPushRoutingFrame’ : is not a member of ’_AFX_THREAD_STATE’ 1> c:\program files\microsoft platform sdk for windows server 2003 r2\include\mfc\afxstat_.h(347) : see declaration of ’_AFX_THREAD_STATE’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(776) : error C2039: ’m_pPushRoutingFrame’ : is not a member of ’_AFX_THREAD_STATE’ 1> c:\program files\microsoft platform sdk for windows server 2003 r2\include\mfc\afxstat_.h(347) : see declaration of ’_AFX_THREAD_STATE’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(807) : error C2061: syntax error : identifier ’__out_ecount_part_z’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(807) : error C2059: syntax error : ’)’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(807) : error C2143: syntax error : missing ’)’ before ’;’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(808) : error C2061: syntax error : identifier ’__out_ecount_part_z’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(808) : error C2059: syntax error : ’)’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(808) : error C2143: syntax error : missing ’)’ before ’;’ 1>c:\program files\foss software inc\prof-uis\src\extpopupmenuwnd.cpp(31) : fatal error C1083: Cannot open include file: ’../src/AfxImpl.h’: No such file or directory 1>ExtPrint.cpp 1>c:\program files\foss software inc\prof-uis\include\exttempl.h(56) : fatal error C1083: Cannot open include file: ’../Src/occimpl.h’: No such file or directory 1>ExtProfUISAboutDialog.cpp 1>c:\program files\foss software inc\prof-uis\include\exttempl.h(56) : fatal error C1083: Cannot open include file: ’../Src/occimpl.h’: No such file or directory 1>ExtResizableDialog.cpp 1>c:\program files\foss software inc\prof-uis\include\exttempl.h(56) : fatal error C1083: Cannot open include file: ’../Src/occimpl.h’: No such file or directory 1>ExtRibbonBar.cpp 1>c:\program files\foss software inc\prof-uis\include\exttempl.h(56) : fatal error C1083: Cannot open include file: ’../Src/occimpl.h’: No such file or directory 1>ExtScrollWnd.cpp 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxadv.h(125) : error C3861: ’ENSURE_ARG’: identifier not found 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(299) : error C2061: syntax error : identifier ’DrawTextW’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(300) : error C2091: function returns function 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(301) : error C2061: syntax error : identifier ’DrawTextExW’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(302) : error C2091: function returns function 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(302) : error C2556: ’int (__cdecl *CPreviewDC::_AFX_FUNCNAME(void))(LPTSTR,int,LPRECT,UINT,LPDRAWTEXTPARAMS)’ : overloaded function differs only by return type from ’int (__cdecl *CPreviewDC::_AFX_FUNCNAME(void))(LPCTSTR,int,LPRECT,UINT)’ 1> c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(299) : see declaration of ’CPreviewDC::_AFX_FUNCNAME’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(302) : error C2371: ’CPreviewDC::_AFX_FUNCNAME’ : redefinition; different basic types 1> c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(299) : see declaration of ’CPreviewDC::_AFX_FUNCNAME’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(310) : error C3867: ’CPreviewDC::DrawText’: function call missing argument list; use ’&CPreviewDC::DrawText’ to create a pointer to member 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(310) : error C2660: ’CPreviewDC::_AFX_FUNCNAME’ : function does not take 1 arguments 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(315) : error C3867: ’CPreviewDC::DrawTextEx’: function call missing argument list; use ’&CPreviewDC::DrawTextEx’ to create a pointer to member 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(315) : error C2660: ’CPreviewDC::_AFX_FUNCNAME’ : function does not take 1 arguments 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(757) : error C2039: ’m_pPushRoutingFrame’ : is not a member of ’_AFX_THREAD_STATE’ 1> c:\program files\microsoft platform sdk for windows server 2003 r2\include\mfc\afxstat_.h(347) : see declaration of ’_AFX_THREAD_STATE’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(760) : error C2039: ’m_pPushRoutingFrame’ : is not a member of ’_AFX_THREAD_STATE’ 1> c:\program files\microsoft platform sdk for windows server 2003 r2\include\mfc\afxstat_.h(347) : see declaration of ’_AFX_THREAD_STATE’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(766) : error C2039: ’m_pPushRoutingFrame’ : is not a member of ’_AFX_THREAD_STATE’ 1> c:\program files\microsoft platform sdk for windows server 2003 r2\include\mfc\afxstat_.h(347) : see declaration of ’_AFX_THREAD_STATE’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(768) : error C2039: ’m_pPushRoutingFrame’ : is not a member of ’_AFX_THREAD_STATE’ 1> c:\program files\microsoft platform sdk for windows server 2003 r2\include\mfc\afxstat_.h(347) : see declaration of ’_AFX_THREAD_STATE’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(773) : error C3861: ’ENSURE’: identifier not found 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(774) : error C2039: ’m_pPushRoutingFrame’ : is not a member of ’_AFX_THREAD_STATE’ 1> c:\program files\microsoft platform sdk for windows server 2003 r2\include\mfc\afxstat_.h(347) : see declaration of ’_AFX_THREAD_STATE’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(776) : error C2039: ’m_pPushRoutingFrame’ : is not a member of ’_AFX_THREAD_STATE’ 1> c:\program files\microsoft platform sdk for windows server 2003 r2\include\mfc\afxstat_.h(347) : see declaration of ’_AFX_THREAD_STATE’ 1>c:\program files\foss software inc\prof-uis\src\extscrollwnd.cpp(49) : fatal error C1083: Cannot open include file: ’../src/AfxImpl.h’: No such file or directory 1>ExtSliderWnd.cpp 1>c:\program files\foss software inc\prof-uis\src\extsliderwnd.cpp(74) : error C4867: ’CExtSliderWnd::CtlColor’: function call missing argument list; use ’&CExtSliderWnd::CtlColor’ to create a pointer to member 1>ExtSplitterWnd.cpp 1>c:\program files\foss software inc\prof-uis\src\extsplitterwnd.cpp(39) : fatal error C1083: Cannot open include file: ’../src/AfxImpl.h’: No such file or directory 1>ExtStatusControlBar.cpp 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxadv.h(125) : error C3861: ’ENSURE_ARG’: identifier not found 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(299) : error C2061: syntax error : identifier ’DrawTextW’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(300) : error C2091: function returns function 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(301) : error C2061: syntax error : identifier ’DrawTextExW’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(302) : error C2091: function returns function 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(302) : error C2556: ’int (__cdecl *CPreviewDC::_AFX_FUNCNAME(void))(LPTSTR,int,LPRECT,UINT,LPDRAWTEXTPARAMS)’ : overloaded function differs only by return type from ’int (__cdecl *CPreviewDC::_AFX_FUNCNAME(void))(LPCTSTR,int,LPRECT,UINT)’ 1> c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(299) : see declaration of ’CPreviewDC::_AFX_FUNCNAME’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(302) : error C2371: ’CPreviewDC::_AFX_FUNCNAME’ : redefinition; different basic types 1> c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(299) : see declaration of ’CPreviewDC::_AFX_FUNCNAME’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(334) : error C2061: syntax error : identifier ’__in_z’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(310) : error C3867: ’CPreviewDC::DrawText’: function call missing argument list; use ’&CPreviewDC::DrawText’ to create a pointer to member 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(310) : error C2660: ’CPreviewDC::_AFX_FUNCNAME’ : function does not take 1 arguments 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(315) : error C3867: ’CPreviewDC::DrawTextEx’: function call missing argument list; use ’&CPreviewDC::DrawTextEx’ to create a pointer to member 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(315) : error C2660: ’CPreviewDC::_AFX_FUNCNAME’ : function does not take 1 arguments 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(757) : error C2039: ’m_pPushRoutingFrame’ : is not a member of ’_AFX_THREAD_STATE’ 1> c:\program files\microsoft platform sdk for windows server 2003 r2\include\mfc\afxstat_.h(347) : see declaration of ’_AFX_THREAD_STATE’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(760) : error C2039: ’m_pPushRoutingFrame’ : is not a member of ’_AFX_THREAD_STATE’ 1> c:\program files\microsoft platform sdk for windows server 2003 r2\include\mfc\afxstat_.h(347) : see declaration of ’_AFX_THREAD_STATE’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(766) : error C2039: ’m_pPushRoutingFrame’ : is not a member of ’_AFX_THREAD_STATE’ 1> c:\program files\microsoft platform sdk for windows server 2003 r2\include\mfc\afxstat_.h(347) : see declaration of ’_AFX_THREAD_STATE’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(768) : error C2039: ’m_pPushRoutingFrame’ : is not a member of ’_AFX_THREAD_STATE’ 1> c:\program files\microsoft platform sdk for windows server 2003 r2\include\mfc\afxstat_.h(347) : see declaration of ’_AFX_THREAD_STATE’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(773) : error C3861: ’ENSURE’: identifier not found 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(774) : error C2039: ’m_pPushRoutingFrame’ : is not a member of ’_AFX_THREAD_STATE’ 1> c:\program files\microsoft platform sdk for windows server 2003 r2\include\mfc\afxstat_.h(347) : see declaration of ’_AFX_THREAD_STATE’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(776) : error C2039: ’m_pPushRoutingFrame’ : is not a member of ’_AFX_THREAD_STATE’ 1> c:\program files\microsoft platform sdk for windows server 2003 r2\include\mfc\afxstat_.h(347) : see declaration of ’_AFX_THREAD_STATE’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(807) : error C2061: syntax error : identifier ’__out_ecount_part_z’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(807) : error C2059: syntax error : ’)’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(807) : error C2143: syntax error : missing ’)’ before ’;’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(808) : error C2061: syntax error : identifier ’__out_ecount_part_z’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(808) : error C2059: syntax error : ’)’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(808) : error C2143: syntax error : missing ’)’ before ’;’ 1>c:\program files\foss software inc\prof-uis\src\extstatuscontrolbar.cpp(39) : fatal error C1083: Cannot open include file: ’../src/AfxImpl.h’: No such file or directory 1>ExtTabWnd.cpp 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxadv.h(125) : error C3861: ’ENSURE_ARG’: identifier not found 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(299) : error C2061: syntax error : identifier ’DrawTextW’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(300) : error C2091: function returns function 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(301) : error C2061: syntax error : identifier ’DrawTextExW’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(302) : error C2091: function returns function 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(302) : error C2556: ’int (__cdecl *CPreviewDC::_AFX_FUNCNAME(void))(LPTSTR,int,LPRECT,UINT,LPDRAWTEXTPARAMS)’ : overloaded function differs only by return type from ’int (__cdecl *CPreviewDC::_AFX_FUNCNAME(void))(LPCTSTR,int,LPRECT,UINT)’ 1> c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(299) : see declaration of ’CPreviewDC::_AFX_FUNCNAME’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(302) : error C2371: ’CPreviewDC::_AFX_FUNCNAME’ : redefinition; different basic types 1> c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(299) : see declaration of ’CPreviewDC::_AFX_FUNCNAME’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(334) : error C2061: syntax error : identifier ’__in_z’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(310) : error C3867: ’CPreviewDC::DrawText’: function call missing argument list; use ’&CPreviewDC::DrawText’ to create a pointer to member 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(310) : error C2660: ’CPreviewDC::_AFX_FUNCNAME’ : function does not take 1 arguments 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(315) : error C3867: ’CPreviewDC::DrawTextEx’: function call missing argument list; use ’&CPreviewDC::DrawTextEx’ to create a pointer to member 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(315) : error C2660: ’CPreviewDC::_AFX_FUNCNAME’ : function does not take 1 arguments 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(757) : error C2039: ’m_pPushRoutingFrame’ : is not a member of ’_AFX_THREAD_STATE’ 1> c:\program files\microsoft platform sdk for windows server 2003 r2\include\mfc\afxstat_.h(347) : see declaration of ’_AFX_THREAD_STATE’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(760) : error C2039: ’m_pPushRoutingFrame’ : is not a member of ’_AFX_THREAD_STATE’ 1> c:\program files\microsoft platform sdk for windows server 2003 r2\include\mfc\afxstat_.h(347) : see declaration of ’_AFX_THREAD_STATE’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(766) : error C2039: ’m_pPushRoutingFrame’ : is not a member of ’_AFX_THREAD_STATE’ 1> c:\program files\microsoft platform sdk for windows server 2003 r2\include\mfc\afxstat_.h(347) : see declaration of ’_AFX_THREAD_STATE’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(768) : error C2039: ’m_pPushRoutingFrame’ : is not a member of ’_AFX_THREAD_STATE’ 1> c:\program files\microsoft platform sdk for windows server 2003 r2\include\mfc\afxstat_.h(347) : see declaration of ’_AFX_THREAD_STATE’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(773) : error C3861: ’ENSURE’: identifier not found 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(774) : error C2039: ’m_pPushRoutingFrame’ : is not a member of ’_AFX_THREAD_STATE’ 1> c:\program files\microsoft platform sdk for windows server 2003 r2\include\mfc\afxstat_.h(347) : see declaration of ’_AFX_THREAD_STATE’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(776) : error C2039: ’m_pPushRoutingFrame’ : is not a member of ’_AFX_THREAD_STATE’ 1> c:\program files\microsoft platform sdk for windows server 2003 r2\include\mfc\afxstat_.h(347) : see declaration of ’_AFX_THREAD_STATE’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(807) : error C2061: syntax error : identifier ’__out_ecount_part_z’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(807) : error C2059: syntax error : ’)’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(807) : error C2143: syntax error : missing ’)’ before ’;’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(808) : error C2061: syntax error : identifier ’__out_ecount_part_z’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(808) : error C2059: syntax error : ’)’ 1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(808) : error C2143: syntax error : missing ’)’ before ’;’ 1>c:\program files\foss software inc\prof-uis\src\exttabwnd.cpp(31) : fatal error C1083: Cannot open include file: ’../src/AfxImpl.h’: No such file or directory 1>ExtToolControlBar.cpp 1>c:\program files\foss software inc\prof-uis\src\exttoolcontrolbar.cpp(25) : fatal error C1083: Cannot open include file: ’../src/AfxImpl.h’: No such file or directory 1>Generating Code... 1>Build log was saved at "file://c:\Program Files\FOSS Software Inc\Prof-UIS\Bin_800\StaticUnicodeDebug\ProfUISLIB\BuildLog.htm" 1>ProfUISLIB - 254 error(s), 0 warning(s) ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
|
|
Technical Support
|
Jan 11, 2008 - 8:39 AM
|
It seems the compiler cannot find standard header files. Please check if a newer SDK and/or DDK is installed on your computer. Check the Include folder list in your Visual Studio settings. Make sure that the Platform SDK paths are at the bottom of the list and default Visual C++ folders are above them.
|
|
Bangjun Lei
|
Jan 8, 2008 - 2:43 AM
|
Can anyone help me please?
|
|
Suhai Gyorgy
|
Jan 8, 2008 - 6:12 AM
|
I’m not using VS2005 and I haven’t installed the latest, v2.82 ProfUIS yet, but similar errors were reported for an earlier version of ProfUIS. At that time, instead of appending the path of prof-uis libraries, executable etc.. in the VS2005 options, the integration wizard overwrote them. You might want to check if this happened in your case, as well. (Setting Paths and Compiling) If you see only the ProfUIS paths in VS2005 options, try this solution: The Wizard makes a copy of original settings (VCComponents.DAT) each time you use it (in the folder ../Program Files/Foss Software/Prof-UIS/Support/BACKUP). Look for the same filename in your VS2005 folder and overwrite it with the one found in ...Prof-UIS/Support/BACKUP.
|
|
Richard Chaney
|
Jan 6, 2008 - 7:41 AM
|
I have just tried the improved delayed hiding of sub-menus in version 282, but found a small bug. If you move onto another menu item which is a separator, the sub-menu disappears immediately. This is annoying if the sub-menu title lies between two separators.
You can observe the effect in the ProfStudio example. Try highlighing View -> Other Windows and move the mouse down to the separator.
Richard Chaney
|
|
Technical Support
|
Feb 11, 2008 - 12:05 PM
|
Thank you for reporting this issue. We have fixed it and sent a link to the update to you.
|
|
Chris Thomas
|
Jan 2, 2008 - 3:17 PM
|
Our application has a lengthy startup time, and sometimes we see a white client area before the app "catches up". I’ve tried handling OnEraseBkgGrnd but that doesn’t get called until after the first CFrameWnd::ActivateWindow() call is called. I tried to define a custom class for the frame window that would have a black brush instead of the default white brush, but I that didn’t work, but perhaps I did that incorrectly.
Is there a place in the prof-uis source, or somewhere in my app, where I can get a black background instead of white? We notice the white background because our CView displays a black background, so there is a flash of white.
Thanks
|
|
Technical Support
|
Jan 5, 2008 - 12:30 PM
|
As we said above, the background brush in the window class of the main frame window, WM_PAINT and WM_ERASEBKGND window message handlers of the main frame window are absolutely have no any effect on the background of the main frame because itās completely covered by child windows. So, the problem is hidden somewhere else or we have misunderstood you. Please send us two screen shots to the support mail box at this web site demonstrating what you can see and what you want to see.
|
|
Technical Support
|
Jan 3, 2008 - 5:37 AM
|
A frame window like any other window consists of two areas: client and non-client. You can always see the non-client area of the frame window: its border and caption. But you will never see the client area of any frame window because itās always completely covered by child windows which are control bars and main SDI view or MDI client area window. So, you should not try to re-paint frame windows or change their window class because this will not affect anything. Let us discuss the standard startup process of frame window based application step by step:
1) The InitInstance() virtual method of your CWinApp -derived class is invoked. This method should initialize some window-less parts of your application and finally create the main frame, show and activate it. This method can also display a splash screen.
2) The main frame is typically created in the CFrameWnd::LoadFrame() method which creates a frame window handle and, as a result, the CFrameWnd -derived object handles the WM_CREATE standard message. The frame window is completely invisible at this step. It will be displayed only after InitInstance() . So, all the things invoked in the OnCreate() handler method of the main frame window are performed when the frame is invisible. You should spend some time to ensure there are no pieces of code in your project which show the main frame window before the OnCreate() handler method is complete. Itās convenient to check this on the double monitor computer or wide single monitor computer where Visual Studio window is not intersected with the main frame window of your application running on the desktop. We suppose your project may have some components which affect the visibility of the main frame window and show it before it become completely created.
3) Itās often needed to perform additional initialization of the application after its main frame is created and displayed. Such application should support at least two states: when itās just loaded and main frame window is displayed and when itās completely initialized. Sometimes a database or any other component may be located on a remote server and itās not always possible to connect to it very quickly or at all. In this case some delayed initialization can be the option. The main frame window is already created and displayed, but most of commands in toolbars and menus are disabled until remote component becomes available. So you should establish a connection to the remote component in a standalone thread to make all the windows in the main UI thread re-painted correctly. We used the term remote component just for example. You may need to spend some time for loading large amount of data from local computer instead of accessing remote component. In this case delayed initialization in the parallel thread is also suggested.
We need to know more details about your project so we can give you some additional advice.
|
|
Chris Thomas
|
Jan 3, 2008 - 11:41 AM
|
I’m sorry that I forgot to provide some critical information. I see this problem only on Vista with Aero enabled, and only with prof-uis. I made two test projects, both SDI, one with straight MFC, and the other with prof-uis (via the respective appwizards). In both, I override mainframe’s ActivateFrame, and PreCreateWindow. I can put a breakpoint on each project’s ActivateFrame and single step over the base CFrameWnd::ActivateFrame() call, and see a white window. So that’s why I want to change the WNDCLASS to use a black brush instead of the default white.
So in PreCreateWindow() I make a new class that has a black brush. It works in the MFC app, but not in the prof-uis app. Using the ActivateFrame breakpoint, the MFC app now shows a black background, but the prof-uis app continues to show white.
Where in the prof-uis code can I modify the window class to use a black brush?
Thanks
|
|
Chris Thomas
|
Jan 3, 2008 - 11:42 AM
|
here is my PreCreateWindow()
BOOL CMainFrame::PreCreateWindow(CREATESTRUCT& cs) { CString csClass = ::AfxRegisterWndClass(CS_DBLCLKS, (HCURSOR)::LoadCursor(::AfxGetInstanceHandle(), IDC_ARROW), (HBRUSH)::GetStockObject(BLACK_BRUSH), (HICON)::LoadIcon(::AfxGetInstanceHandle(), MAKEINTRESOURCE(IDR_MAINFRAME)));
if( !CFrameWnd::PreCreateWindow(cs) ) return FALSE; // TODO: Modify the Window class or styles here by modifying // the CREATESTRUCT cs
return TRUE; }
|
|
Chris Thomas
|
Jan 3, 2008 - 12:14 PM
|
oops, I’m sorry, the class code wasn’t in PreCreateWindow, but rather in Create(). The code was on another computer and I should have checked it first.
This is what I do, which works with MFC but not with prof-uis. In this case I use a gray brush. I also override the CView’s OnPaint and draw a black rectangle. For MFC I call CFrameWnd, not CExtNCW<CFrameWnd>.
--------------------
BOOL CMainFrame::Create(LPCTSTR lpszClassName, LPCTSTR lpszWindowName, DWORD dwStyle , const RECT& rect , CWnd* pParentWnd , LPCTSTR lpszMenuName , DWORD dwExStyle , CCreateContext* pContext) { // TODO: Add your specialized code here and/or call the base class
LPCTSTR lpszMyClassName = AfxRegisterWndClass(CS_DBLCLKS, NULL, (HBRUSH)::GetStockObject(GRAY_BRUSH), //BLACK_BRUSH), ::LoadIcon(AfxGetInstanceHandle(), MAKEINTRESOURCE(IDR_MAINFRAME)) ); if (!CExtNCW<CFrameWnd>::Create(lpszMyClassName, lpszWindowName, dwStyle, rect, pParentWnd, lpszMenuName, dwExStyle, pContext)) return FALSE;
ShowWindow(SW_SHOW); return TRUE; }
|
|
Debabrata Mukherjee
|
Jan 2, 2008 - 9:40 AM
|
THe CExtTabPageContainerWnd does not repond to
OnTabWndClickedButton(LONG nItemIndex,bool bButtonPressed,INT nMouseButton,UINT nMouseEventFlags).
Please let me know what can be done. Please treat it urgently.
|
|
Technical Support
|
Jan 3, 2008 - 4:25 AM
|
The nItemIndex in OnTabWndClickedButton() is a zero-based index of the clicked tab item. The nMouseButton is set to VK_RBUTTON if the click was made with the right button. Please note OnTabWndClickedButton() is invoked twice: when you press a mouse button (bButtonPressed == true ) and when your release it (bButtonPressed == false ).
|
|
Suhai Gyorgy
|
Jan 3, 2008 - 4:43 AM
|
This doesn’t seem to be true. CExtTabPageContainerWnd::OnTabWndClickedButton() method is called when any of the tabstrip buttons are clicked on (Close, Help, Home button, etc.)
On the other hand, CExtTabWnd::OnTabWndClickedItem() method is called when any of the tab items are clicked on (as mentioned in Support’s answer).
But I couldn’t find any overridable method which is called when the user right-clicks on the empty area of the tabstrip (no item, no button). Actually, CExtTabWnd::OnTabWndMouseTrackingPushedStop() method seems to be called, but you can’t test which mouse button was clicked ( and this method doesn’t seem to be the right one to use in this case )
Probably CExtTabWnd::_ProcessMouseClick should be overriden and tested for the proper parameters.
|
|
Debabrata Mukherjee
|
Jan 3, 2008 - 9:19 AM
|
Hi,
But the tab pages in my CExtTabPageContainerWnd donot have a close,hide buttons etc. when I do a left click, it is well handled by the method ->OnTabWndSelectionChange(). However, I want to display a menu and do something with the right click as well. Can you please suggetst whats the workaround.
|
|
Debabrata Mukherjee
|
Jan 3, 2008 - 9:28 AM
|
One more thing is whether I left clcik the tab page or right click on it, the OnTabWndSelectionChnage() gets called.
|
|
Suhai Gyorgy
|
Jan 4, 2008 - 4:22 AM
|
Sorry, little mistake: class CMyTabPageContainerWndOneNote : public CExtTabPageContainerOneNoteWnd
{
class CMyTabWndOneNote : public CExtTabOneNoteWnd
{
virtual bool OnTabWndClickedItem(
LONG nItemIndex,
bool bButtonPressed,
INT nMouseButton, // MK_... values
UINT nMouseEventFlags
)
{
bool bRet = CExtTabOneNoteWnd::OnTabWndClickedItem(
nItemIndex,
bButtonPressed,
nMouseButton,
nMouseEventFlags
);
if ( bButtonPressed && nMouseButton == MK_RBUTTON )
{
// same as WM_RBUTTONDOWN
// show menu here
}
return bRet;
}
}; // class CMyTabWndOneNote
virtual CExtTabWnd * OnTabWndGetTabImpl()
{
return new CExtTWPC < CMyTabWndOneNote >;
}
}; // class CMyTabPageContainerWndOneNote
|
|
Suhai Gyorgy
|
Jan 4, 2008 - 4:19 AM
|
You can use this class ( it is derived from OneNote type of tab, you can substitute that to any other type ): class CMyTabPageContainerWndOneNote : public CExtTabPageContainerOneNoteWnd
{
class CMyTabWndOneNote : public CExtTabOneNoteWnd
{
virtual bool OnTabWndClickedItem(
LONG nItemIndex,
bool bButtonPressed,
INT nMouseButton, // MK_... values
UINT nMouseEventFlags
)
{
if ( bButtonPressed && nMouseButton == MK_RBUTTON )
{
// same as WM_RBUTTONDOWN
// show menu here
}
}
}; // class CMyTabWndOneNote
virtual CExtTabWnd * OnTabWndGetTabImpl()
{
return new CExtTWPC < CMyTabWndOneNote >;
}
}; // class CMyTabPageContainerWndOneNote
Please keep in mind that this work only if you right-click over any of the tab items.
|
|
Offer Har
|
Dec 30, 2007 - 5:37 AM
|
Dear Support,
Was this feature implemented, you mentioned it will be ready by later 2006. If it was implemented, can you please provide some information? If not when will it be implanted?
Regards, Ron.
|
|
Offer Har
|
Jan 23, 2008 - 8:22 AM
|
Dear Support,
3 weeks - no answer....
Please answer. Ron.
|
|
Sergey Romanov
|
Dec 28, 2007 - 5:10 AM
|
Hello,
Please, I probably purchased wrong. I need NET components and I purchased PROF-UIS with are as I understand now MFC. PLease, cancel my payment beforey ou created key and approved.
|
|
Technical Support
|
Dec 29, 2007 - 7:57 AM
|
|
|
Offer Har
|
Dec 27, 2007 - 7:04 PM
|
I was using CExtPopupMenuTipWnd and stumbled upon the flag m_bPassiveMode . I see that if it’s not set, which is the default, two timers are activated - ID_TIMER_DELAY_KILL and ID_TIMER_LIFE_STEP , which kill my tool-tip even when I want it to stay longer.
What is the purpose of this flag? Is there a way to force the tool-tip to stay displayed until Hide is called?
Thanks, Ron.
|
|
Offer Har
|
Dec 27, 2007 - 4:00 PM
|
Dear Support,
I have a grid in a window. the window has a timer, which removes rows from the grid when they are not needed anymore. The grid have cells that the user can edit.
If the timer decides to delete a row which is in the middle of user-editing, the process crashes.
My problem is that I could not find any way how to terminate the In-Place edit from the code - some kind of ForecEndEdit .
Please advise.
Thanks, Ron.
|
|
Technical Support
|
Dec 28, 2007 - 5:49 AM
|
If you want to delete a row regardless of if a cell is being edited or not, you can send WM_CANCELMODE message to the grid before deleting that row. This will close the cell editor.
|
|
Offer Har
|
Dec 28, 2007 - 6:04 AM
|
Thanks - no crashes...
However, I would to cancel the edit only if the row to delete is the row which contains the In-Place edit cell, so that the user will be able to continue edit while rows are removed.
Is there any grid function to get the current In-Place edit cell’s row & column?
|
|
tera t
|
Dec 27, 2007 - 1:12 AM
|
|
|
Technical Support
|
Jan 8, 2008 - 12:47 PM
|
We confirm this issue with color button in the ribbon bar. The color buttons are designed as text-less in the ribbons. We will fix it in the next release. Thank you.
|
|
tera t
|
Jan 7, 2008 - 2:15 AM
|
|
|
Offer Har
|
Dec 26, 2007 - 8:48 AM
|
Any progress? Any estimations?
Thanks, Ron.
|
|
Offer Har
|
Dec 27, 2007 - 4:09 PM
|
Dear Support,
Because the lack of support in this matter, I wrote this functionality myself, It is something like this:
void CMyGrid::OnMouseMove(UINT nFlags, CPoint point)
{
static int nLastCellCol=-1;
static int nLastCellRow=-1;
CExtGridHitTestInfo hti;
hti.m_ptClient = point;
HitTest(hti,true,true);
if (__EGBWA_INNER_CELLS&hti.m_dwAreaFlags)
{
if (hti.m_nRowNo!=-1 && hti.m_nColNo!=-1)
{
CExtGridCell* pCell = GridCellGet(hti.m_nColNo, hti.m_nRowNo);
if (pCell)
{
CString str;
pCell->TextGet(str);
if (nLastCellCol!=hti.m_nColNo || nLastCellRow!=hti.m_nRowNo)
{
CPoint ptToolTip(point);
ptToolTip.x = hti.m_rcItem.left;
ptToolTip.y = hti.m_rcItem.top;
ClientToScreen(&ptToolTip);
CString strTooltip;
strTooltip.Format("Row:%d - Col:%d : %s", hti.m_nRowNo, hti.m_nColNo, str.GetString());
CRect rc(hti.m_rcItem);
ClientToScreen(&rc);
int nHalfWidth = rc.Width()/2;
rc.left-=nHalfWidth;
rc.right-=nHalfWidth;
m_info.SetTipStyle(CExtPopupMenuTipWnd::__ETS_INV_RECTANGLE);
m_info.SetText(strTooltip);
m_info.Show(this,rc,true);
nLastCellCol=hti.m_nColNo;
nLastCellRow=hti.m_nRowNo;
CBaseGrid::OnMouseMove(nFlags, point);
return;
}
}
}
}
m_info.Hide();
nLastCellCol=-1;
nLastCellRow=-1;
CBaseGrid::OnMouseMove(nFlags, point);
}
In my base class I added: CExtPopupMenuTipWnd m_info And the OnMouseMove event handling. Please note that I need to change the base cell class to add a GetComment function, currently I am using GetString . If you could add this functionality to the next version it will be wonderful. Thanks, Ron.
|
|
Offer Har
|
Dec 24, 2007 - 9:43 AM
|
Dear Support,
I need to add a button to a numeric cell. The button should be a normal button with text label, and when pressed I should get a notification for changing some of the cell’s content.
Please advise as to how this can be implemented.
Regards, Ron.
|
|
Technical Support
|
Dec 25, 2007 - 12:26 PM
|
We are sorry about forgetting ellipsis dots painted as part of the button by the base class method .There is another solution: the CExtGridCellButton class that implements a cell button (see screenshot).The cell button is demonstrated in the ProfUIS_Controls sample (on the Grid page). But you should use it in a standalone grid column. If you do prefer a custom measured and painted ellipsis button, you should use the following method in your grid cell class void CYourGridCellClass::OnPaintButton(
const RECT & rcButton, INT nButtonType, bool bPressed, bool bHovered,
bool bFocused, bool bEnabled, const CExtGridWnd & wndGrid, CDC & dc,
LONG nVisibleColNo, LONG nVisibleRowNo, LONG nColNo, LONG nRowNo,
INT nColType, INT nRowType, const RECT & rcCellExtra, const RECT & rcCell,
const RECT & rcVisibleRange, DWORD dwAreaFlags, DWORD dwHelperPaintFlags
) const
{
ASSERT_VALID( this );
ASSERT_VALID( (&wndGrid) );
ASSERT( dc.GetSafeHdc() != NULL );
nVisibleColNo; nVisibleRowNo; nColNo; nRowNo; nColType; nRowType;
rcCellExtra; rcCell; rcVisibleRange; dwAreaFlags;
if( ! dc.RectVisible(&rcButton) )
return;
if( nButtonType == INT(__EBTT_ELLIPSIS) )
{
CExtPaintManager::PAINTPUSHBUTTONDATA _ppbd(
((CObject*)this), true, rcButton,
_T("Your button text here"),
NULL, false, bHovered, bPressed, false, bEnabled, true, false, false,
CExtPaintManager::__ALIGN_HORIZ_CENTER|CExtPaintManager::__ALIGN_VERT_CENTER,
NULL, false, 0, false
);
wndGrid.PmBridge_GetPM()->PaintPushButton( dc, _ppbd );
return;
}
C_BASE_OF_YourGridCellClass::OnPaintButton(
rcButton, nButtonType, bPressed, bHovered, bFocused, bEnabled, wndGrid, dc,
nVisibleColNo, nVisibleRowNo, nColNo, nRowNo, nColType, nRowType,
rcCellExtra, rcCell, rcVisibleRange, dwAreaFlags, dwHelperPaintFlags
);
}
|
|
Offer Har
|
Dec 26, 2007 - 8:47 AM
|
Thanks for the quick response. Works great.
|
|
Technical Support
|
Dec 24, 2007 - 10:46 AM
|
You should create and use a custom grid cell class which implements the following methods:
- CExtGridCell::OnCalcButtonExtent() - CExtGridCell::OnPaintButton() - CExtGridCell::OnButtonPressed()
Each grid cell supports 3 built-in buttons: up-down, drop-down and ellipsis. You can show any combination of these buttons in any grid cell by applying the __EGCS_BUTTON_UPDOWN , __EGCS_BUTTON_DROPDOWN and __EGCS_BUTTON_ELLIPSIS grid cell styles. Any of these buttons can be re-measured and re-painted. The CExtGridCell::OnCalcButtonExtent() virtual method allows you to measure the custom button width and should measure the width of the text you are going to display on the button. You can measure the text width using the CExtPaintManager::stat_CalcTextDimension() static method. The CExtGridCell::OnPaintButton() virtual method should paint a button with text. This method can simply invoke the parent class method and paint a centered piece of text over the already painted button image. The CExtGridCell::OnButtonPressed() virtual method is invoked when the button is clicked and released.
|
|
Offer Har
|
Dec 24, 2007 - 4:22 PM
|
Dear Support,
Thanks for the prompt answer. It works, and works well...
However there is one thing I had to tweak, and maybe there is a better solution - I used the __EGCS_BUTTON_ELLIPSIS style for my custom button, but I didn’t want the ... to be painted. What I did was that in OnPaintButton , before calling the base class implementation, I changed the nButtonType to some dummy value (100 to be exact) - this stopped the base class from drawing the ..., because it did not know what to draw, but the button face itself was painted well.
Is there a better way to prevent the base class from placing the ... on the button?
Thanks, Ron.
|
|
Mike Van Duzee
|
Dec 20, 2007 - 11:27 AM
|
When setting text on an CExtGridCellComboBox with the enum mode set to false, the current selection is not set. In the assign (CExtGridCellComboBox::Assign) the enum mode is ignored and the text/selection is reset via ResetContent.
Example:
-Create a CextGridCellComboBox. -SetEnumMode(false). -CextGridCellComboBox::AddString("An_Item"). -TextSet("An_Item").
When assign is called the text is lost. Should the current text be saved and restored in CExtGridCellComboBox::Assign, if no Selection was set.
Example:
void CExtGridCellComboBox::Assign( const CExtGridCell & other ) { ASSERT_VALID( this ); CExtGridCellString::Assign( other ); CExtGridCellComboBox * pCell = DYNAMIC_DOWNCAST( CExtGridCellComboBox, ( const_cast < CExtGridCell * > ( &other ) ) );
CExtSafeString currentText = ""; if( ! GetEnumMode() ) this->TextGet( currentText );
ResetContent(); if( pCell != NULL ) { // copy cell items ITEM_INFO * pItemCurSel = NULL; LONG nItem = 0; for( nItem = 0; nItem < pCell->m_arrItems.GetSize(); nItem++ ) { ITEM_INFO * pOtherItem = pCell->m_arrItems[ nItem ]; ITEM_INFO * pNewItem = new ITEM_INFO( *pOtherItem ); m_arrItems.Add( pNewItem ); if( pCell->m_pCurSel == pOtherItem ) pItemCurSel = pNewItem; } m_bEnumMode = pCell->m_bEnumMode; SetImageList( pCell->m_pImageList ); if( pItemCurSel != NULL ) { nItem = _GetIndexOf( pItemCurSel ); SetCurSel( nItem ); } else this->TextSet(currentText);
} // if( pCell != NULL ) }
|
|
Mike Van Duzee
|
Dec 21, 2007 - 12:27 PM
|
Thats great... thanks a lot.
|
|
Technical Support
|
Dec 21, 2007 - 12:19 PM
|
Actually we think it is enough to invoke the CExtGridCellString::Assign( other ) after ResetContent() but your way is also acceptable. Only one comment. The Assign method entirely assigns the content of the other cell. So you should not save own text value and copy text value from the other cell. Here is our modified code. Please check it. void CExtGridCellComboBox::Assign( const CExtGridCell & other )
{
ASSERT_VALID( this );
CExtGridCellString::Assign( other );
CExtGridCellComboBox * pCell =
DYNAMIC_DOWNCAST(
CExtGridCellComboBox,
( const_cast < CExtGridCell * > ( &other ) )
);
ResetContent();
if( pCell != NULL )
{
// copy cell items
ITEM_INFO * pItemCurSel = NULL;
LONG nItem = 0;
for( nItem = 0; nItem < pCell->m_arrItems.GetSize(); nItem++ )
{
ITEM_INFO * pOtherItem = pCell->m_arrItems[ nItem ];
ITEM_INFO * pNewItem = new ITEM_INFO( *pOtherItem );
m_arrItems.Add( pNewItem );
if( pCell->m_pCurSel == pOtherItem )
pItemCurSel = pNewItem;
}
m_bEnumMode = pCell->m_bEnumMode;
SetImageList( pCell->m_pImageList );
if( pItemCurSel != NULL )
{
nItem = _GetIndexOf( pItemCurSel );
SetCurSel( nItem );
}
else
pCell->TextGet( m_str );
} // if( pCell != NULL )
}
|
|
Suhai Gyorgy
|
Dec 20, 2007 - 4:24 AM
|
Dear Support,
I’m having trouble when I want to let the users resize the rows in a reportgrid. I could reproduce it in your ReportGrid sample, as well. I apply __EGBS_RESIZING_CELLS_INNER_V style with SiwModifyStyle method. With this style set, the cursor changes to the proper arrow when hovering over the inner horizontal lines, and I can drag the line ( I see the tracking line as expected). But when I release the mouse button, the row is not resized.
I’ve examined your code and I see that the row is resized with a CExtGridCell::ExtentSet call in CExtGridWnd::OnGbwResizingStateApply method. No surprise there. But the application doesn’t get to this call, a previous GridCellGet call returns NULL. I know, it’s because the outer header cell on the left is not initialized as a type of CExtGridCellHeader . No problem, I do that right after registering the report item. I put the same code in your sample, as well:
pCell = GridCellGet(0, nRow, -1, 0, RUNTIME_CLASS(CExtGridCellHeader)); ASSERT_VALID(pCell);
Checking your code again, I see that now pCell->ExtentSet is called in CExtGridWnd::OnGbwResizingStateApply , great. It doesn’t even return false. Even OnSwDoRedraw is called at the end of the same method. Still, the result is the same, the row is not resized after dragging the tracking line. Of course dynamic resizing doesn’t work either, of the same reason, I guess.
Could you please check this issue? I guess even the header cell initialization should be placed somewhere in your code. Thank you!
|
|
Technical Support
|
Dec 24, 2007 - 10:40 AM
|
We are sorry for the delay with this reply and thank you for reporting this issue. To fix it, please update the source code of the following method INT CExtTreeGridWnd::OnSiwQueryItemExtentV(
LONG nRowNo,
INT * p_nExtraSpaceBefore, // = NULL
INT * p_nExtraSpaceAfter // = NULL
) const
{
ASSERT_VALID( this );
ASSERT( nRowNo >= 0 );
if( p_nExtraSpaceBefore != NULL )
(*p_nExtraSpaceBefore) = 0;
if( p_nExtraSpaceAfter != NULL )
(*p_nExtraSpaceAfter) = 0;
if( FixedSizeRowsGet()
|| OuterColumnCountLeftGet() > 0
|| OuterColumnCountRightGet() > 0
)
return
CExtGridWnd::OnSiwQueryItemExtentV(
nRowNo,
p_nExtraSpaceBefore,
p_nExtraSpaceAfter
);
HTREEITEM hTreeItem = ItemGetByVisibleRowIndex( nRowNo );
if( hTreeItem == NULL )
return
CExtGridWnd::OnSiwQueryItemExtentV(
nRowNo,
p_nExtraSpaceBefore,
p_nExtraSpaceAfter
);
CExtTreeGridCellNode * pCell =
CExtTreeGridCellNode::FromHTREEITEM( hTreeItem );
ASSERT_VALID( pCell );
INT nItemExtent, nExtraSpaceAfter = 0, nExtraSpaceBefore = 0;
if( ! pCell->ExtentGet( nItemExtent, 0 ) )
return
CExtGridWnd::OnSiwQueryItemExtentV(
nRowNo,
p_nExtraSpaceBefore,
p_nExtraSpaceAfter
);
pCell->ExtraSpaceGet( nExtraSpaceAfter, true );
pCell->ExtraSpaceGet( nExtraSpaceBefore, false );
ASSERT( nItemExtent >= 0 );
ASSERT( nExtraSpaceAfter >= 0 );
ASSERT( nExtraSpaceBefore >= 0 );
if( p_nExtraSpaceBefore != NULL )
(*p_nExtraSpaceBefore) = nExtraSpaceBefore;
if( p_nExtraSpaceAfter != NULL )
(*p_nExtraSpaceAfter) = nExtraSpaceAfter;
return (nItemExtent+nExtraSpaceAfter+nExtraSpaceBefore);
}
|
|
howard liu
|
Dec 20, 2007 - 1:49 AM
|
Thanks for this reply on applying skins simultaneously on many dialog boxes. Actually we were not aware of ’SetAutoSubclassChildControls()’ method.
As a further point i would request another clarification
Like what you have explained for a dialog/dialog class, is there a similar procedure for the applying skins globally to a Mainframe. What i mean by mainframe is the main user interface that hosts titlebar, toolbars, dropdown menus, list controls and treeviews and the status bar. That is, by just invoking a method with the Mainframework, its items like toolbars, dropdown menus, and list controls should get skinned by prof UI skins. Is there a universal invoking method for this
Thanks Ranga
|
|
Technical Support
|
Dec 20, 2007 - 10:54 AM
|
Unfortunately we have no similar function for automatic subclassing all the windows which appear at your application’s run time. Besides, Prof-UIS does not contain extensions of some common controls like a tree view and a list view but provides its own tree grid, plain grid and report grid instead. So, generally, even if we provided some global subclassing feature like you requested, it would not replace absolutely all controls.
|
|
tera t
|
Dec 19, 2007 - 9:22 PM
|
|
|
Technical Support
|
Dec 21, 2007 - 12:18 PM
|
We failed to reproduce this problem. We inserted your code into the CMainFrame::_InitRibbonNode_Home_Clipboard() method in the RibbonBar sample but nothing wrong happened: CExtRibbonNode * CMainFrame::_InitRibbonNode_Home_Clipboard()
{
CExtRibbonNodeGroup * pRibbonGroup =
new CExtRibbonNodeGroup( ID_RIBBON_PAGE_CLIPBOARD );
pRibbonGroup->CmdKeyTipSet( new CExtCustomizeCmdKeyTip( __EXT_MFC_SAFE_LPCTSTR( _T("ZC") ) ), false );
VERIFY( pRibbonGroup->m_iconBig.m_bmpNormal.LoadBMP_Resource( MAKEINTRESOURCE(ID_EDIT_PASTE_BIG) ) );
pRibbonGroup->m_iconBig.m_bmpNormal.Make32();
pRibbonGroup->m_iconBig.m_bmpNormal.AlphaColor( RGB(255,0,255), RGB(0,0,0), 0 );
CExtCustomizeCmdScreenTip * pCmdScreenTip = new CExtCustomizeCmdScreenTip;
pCmdScreenTip->TextMainSet( _T("Clipboard") );
pRibbonGroup->CmdScreenTipAttach( pCmdScreenTip );
pRibbonGroup->SetTextInToolbar( _T("Clipboard") );
CExtRibbonNodeDialogLauncher * pRibbonDLB =
new CExtRibbonNodeDialogLauncher( ID_RIBBON_PAGE_CLIPBOARD );
pCmdScreenTip = new CExtCustomizeCmdScreenTip;
pCmdScreenTip->CaptionMainSet( _T("Clipboard") );
pCmdScreenTip->TextMainSet( _T("Show the Clipboard\nTask Pane.") );
pCmdScreenTip->BmpMainGet().LoadBMP_Resource( MAKEINTRESOURCE(ID_CLIPBOARD_DLB_TIP_IMAGE) );
pCmdScreenTip->BmpMainGet().Make32();
pCmdScreenTip->BmpMainGet().AlphaColor( RGB(255,0,255), RGB(0,0,0), 0 );
pRibbonDLB->CmdScreenTipAttach( pCmdScreenTip );
pRibbonDLB->CmdKeyTipSet( new CExtCustomizeCmdKeyTip( __EXT_MFC_SAFE_LPCTSTR( _T("FO") ) ), false );
pRibbonGroup->InsertNode( NULL, pRibbonDLB );
// pRibbonGroup->InsertNode( NULL, new CExtRibbonNodeDialogLauncher( ID_RIBBON_PAGE_CLIPBOARD ) );
// pRibbonGroup->InsertNode( NULL, new CExtRibbonNodeDialogLauncher( ID_RIBBON_PAGE_CLIPBOARD ) );
// pRibbonGroup->InsertNode( NULL, new CExtRibbonNodeDialogLauncher( ID_RIBBON_PAGE_CLIPBOARD ) );
CExtRibbonNode * pNodePaste =
new CExtRibbonNode( ID_EDIT_PASTE, 0, NULL, 0, _T("Paste") );
pNodePaste->CmdKeyTipSet( new CExtCustomizeCmdKeyTip( __EXT_MFC_SAFE_TCHAR( _T(’V’) ) ), false );
pNodePaste->RibbonILE_RuleArrayGet().RemoveAll();
VERIFY( pNodePaste->m_iconBig.m_bmpNormal.LoadBMP_Resource( MAKEINTRESOURCE(ID_EDIT_PASTE_BIG) ) );
pNodePaste->m_iconBig.m_bmpNormal.Make32();
pNodePaste->m_iconBig.m_bmpNormal.AlphaColor( RGB(255,0,255), RGB(0,0,0), 0 );
pCmdScreenTip = new CExtCustomizeCmdScreenTip;
pCmdScreenTip->CaptionMainSet( _T("Paste") );
pCmdScreenTip->TextMainSet( _T("Paste the contents\nof the Clipboard.") );
pCmdScreenTip->BmpMainGet().LoadBMP_Resource( MAKEINTRESOURCE(ID_EDIT_PASTE_BIG) );
pCmdScreenTip->BmpMainGet().Make32();
pCmdScreenTip->BmpMainGet().AlphaColor( RGB(255,0,255), RGB(0,0,0), 0 );
pCmdScreenTip->CaptionSecondarySet( _T("Press F1 for more help.") );
pCmdScreenTip->BmpSecondaryGet().LoadBMP_Resource( MAKEINTRESOURCE(ID_APP_ABOUT_16x16) );
pCmdScreenTip->BmpSecondaryGet().PreMultiplyRGBChannels( false );
pNodePaste->CmdScreenTipAttach( pCmdScreenTip );
pCmdScreenTip = new CExtCustomizeCmdScreenTip;
pCmdScreenTip->CaptionMainSet( _T("Paste") );
pCmdScreenTip->TextMainSet( _T("Click here for more options such as\npasting only the values or\nformatting.") );
pCmdScreenTip->BmpMainGet().LoadBMP_Resource( MAKEINTRESOURCE(ID_EDIT_PASTE_BIG) );
pCmdScreenTip->BmpMainGet().Make32();
pCmdScreenTip->BmpMainGet().AlphaColor( RGB(255,0,255), RGB(0,0,0), 0 );
pCmdScreenTip->CaptionSecondarySet( _T("Press F1 for more help.") );
pCmdScreenTip->BmpSecondaryGet().LoadBMP_Resource( MAKEINTRESOURCE(ID_APP_ABOUT_16x16) );
pCmdScreenTip->BmpSecondaryGet().PreMultiplyRGBChannels( false );
pNodePaste->CmdScreenTipAttach( pCmdScreenTip, false );
pRibbonGroup->InsertNode(
NULL,
pNodePaste
);
////////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////////
#define ID_FG_LINE 40000
#define ID_FG_LINES 40001
CExtRibbonNode * pNodeGrid = new CExtRibbonNode( 9999 );
pNodeGrid->CmdKeyTipSet( new CExtCustomizeCmdKeyTip( _T(’L’) ), false );
pNodeGrid->SetCmdID ( ID_FG_LINE , true );
pNodeGrid->RibbonILE_RuleRemoveLargeILV();
pNodeGrid->m_iconSmall.m_bmpNormal.Make32();
pNodeGrid->m_iconSmall.m_bmpNormal.AlphaColor( RGB(255,0,255), RGB(0,0,0), 0 );
pNodeGrid->ModifyFlags(
__ECTN_DISPLAY_TEXT_AND_IMAGE|
__ECTN_TBB_AUTOCHANGE_ID |
__ECTN_TBB_SEPARATED_DROPDOWN
);
pRibbonGroup->InsertNode(
NULL,
pNodeGrid
);
{
CExtCustomizeCmdTreeNode * pTempNode = NULL;
CExtCmdIcon cIconTmp;
// VERIFY( cIconTmp.m_bmpNormal.
// LoadBMP_Resource( MAKEINTRESOURCE(ID_FG_LINE_SMALL) ) );
cIconTmp.m_bmpNormal.Make32();
cIconTmp.m_bmpNormal.AlphaColor( RGB(255,0,255), RGB(0,0,0), 0 );
pTempNode = new CExtCustomizeCmdTreeNode(
ID_FG_LINE ,
ID_FG_LINE ,
NULL, 0,
_T("LINE"),
_T("LINE"),
_T("LINE"), 0L, &cIconTmp );
pTempNode->CmdKeyTipSet( new CExtCustomizeCmdKeyTip( _T(’N’) ), false );
pNodeGrid->InsertNode( NULL, pTempNode );
// VERIFY( cIconTmp.m_bmpNormal.
// LoadBMP_Resource( MAKEINTRESOURCE(ID_FG_LINES_SMALL) ) );
cIconTmp.m_bmpNormal.Make32();
cIconTmp.m_bmpNormal.AlphaColor( RGB(255,0,255), RGB(0,0,0), 0 );
pTempNode = new CExtCustomizeCmdTreeNode(
ID_FG_LINES ,
ID_FG_LINES ,
NULL, 0,
_T("LINES"),
_T("LINES"),
_T("LINES"), 0L, &cIconTmp );
pTempNode->CmdKeyTipSet( new CExtCustomizeCmdKeyTip( _T(’N’) ), false );
pNodeGrid->InsertNode( NULL, pTempNode );
}
////////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////////
// g_CmdManager->CmdAllocPtr(
// g_CmdManager->ProfileNameFromWnd( m_hWnd ),
// ID_EDIT_PASTE )->m_sMenuText = "12";
pNodePaste->ModifyFlags( __ECTN_TBB_SEPARATED_DROPDOWN );
CExtCustomizeCmdTreeNode * pNodePaste_Paste =
new CExtCustomizeCmdTreeNode( ID_EDIT_PASTE, ID_EDIT_PASTE, NULL, 0, _T("Paste"), _T("&Paste") );
pNodePaste_Paste->CmdKeyTipSet( new CExtCustomizeCmdKeyTip( __EXT_MFC_SAFE_TCHAR( _T(’P’) ) ), false );
pNodePaste->InsertNode(
NULL,
pNodePaste_Paste
);
CExtCustomizeCmdTreeNode * pNodePaste_Special =
new CExtCustomizeCmdTreeNode( ID_EDIT_PASTE_SPECIAL, ID_EDIT_PASTE_SPECIAL, NULL, 0, _T("Paste &Special...") );
pNodePaste_Special->CmdKeyTipSet( new CExtCustomizeCmdKeyTip( __EXT_MFC_SAFE_TCHAR( _T(’S’) ) ), false );
pNodePaste->InsertNode(
NULL,
pNodePaste_Special
);
CExtCustomizeCmdTreeNode * pNodePaste_Hyperlink =
new CExtCustomizeCmdTreeNode( ID_EDIT_PASTE_AS_HYPERLINK, ID_EDIT_PASTE_AS_HYPERLINK, NULL, 0, _T("Paste as &Hyperlink") );
pNodePaste_Hyperlink->CmdKeyTipSet( new CExtCustomizeCmdKeyTip( __EXT_MFC_SAFE_TCHAR( _T(’H’) ) ), false );
pNodePaste->InsertNode(
NULL,
pNodePaste_Hyperlink
);
// pRibbonGroup->InsertNode(
// NULL,
// new CExtRibbonNode // separator
// );
CExtRibbonNode * pNodeCopy =
new CExtRibbonNode( ID_EDIT_COPY, 0, NULL, 0, _T("Copy") );
pNodeCopy->CmdKeyTipSet( new CExtCustomizeCmdKeyTip( __EXT_MFC_SAFE_TCHAR( _T(’C’) ) ), false );
//pNodeCopy->ModifyFlags( __ECTN_TBB_UNDO_REDO|__ECTN_TBB_SEPARATED_DROPDOWN );
pNodeCopy->RibbonILE_RuleRemoveLargeILV();
VERIFY( pNodeCopy->m_iconSmall.m_bmpNormal.LoadBMP_Resource( MAKEINTRESOURCE(ID_EDIT_COPY_SMALL) ) );
pNodeCopy->m_iconSmall.m_bmpNormal.Make32();
pNodeCopy->m_iconSmall.m_bmpNormal.AlphaColor( RGB(255,0,255), RGB(0,0,0), 0 );
pCmdScreenTip = new CExtCustomizeCmdScreenTip;
pCmdScreenTip->CaptionMainSet( _T("Copy") );
pCmdScreenTip->TextMainSet( _T("Copy the selection and\nput it on the Clipboard.") );
pNodeCopy->CmdScreenTipAttach( pCmdScreenTip );
pRibbonGroup->InsertNode(
NULL,
pNodeCopy
);
CExtRibbonNode * pNodeCut =
new CExtRibbonNode( ID_EDIT_CUT, 0, NULL, 0, _T("Cut") );
pNodeCut->CmdKeyTipSet( new CExtCustomizeCmdKeyTip( __EXT_MFC_SAFE_TCHAR( _T(’X’) ) ), false );
pNodeCut->RibbonILE_RuleRemoveLargeILV();
VERIFY( pNodeCut->m_iconSmall.m_bmpNormal.LoadBMP_Resource( MAKEINTRESOURCE(ID_EDIT_CUT_SMALL) ) );
pNodeCut->m_iconSmall.m_bmpNormal.Make32();
pNodeCut->m_iconSmall.m_bmpNormal.AlphaColor( RGB(255,0,255), RGB(0,0,0), 0 );
pCmdScreenTip = new CExtCustomizeCmdScreenTip;
pCmdScreenTip->CaptionMainSet( _T("Cut") );
pCmdScreenTip->TextMainSet( _T("Cut the selection from the document\nand put it on the Clipboard.") );
pNodeCut->CmdScreenTipAttach( pCmdScreenTip );
pRibbonGroup->InsertNode(
NULL,
pNodeCut
);
CExtRibbonNode * pNodeClearFormatting =
new CExtRibbonNode( ID_EDIT_CLEAR, 0, NULL, 0, _T("Clear Formatting") );
pNodeClearFormatting->CmdKeyTipSet( new CExtCustomizeCmdKeyTip( __EXT_MFC_SAFE_LPCTSTR( _T("FP") ) ), false );
pNodeClearFormatting->RibbonILE_RuleRemoveLargeILV();
VERIFY( pNodeClearFormatting->m_iconSmall.m_bmpNormal.LoadBMP_Resource( MAKEINTRESOURCE(ID_EDIT_CLEAR_SMALL) ) );
pNodeClearFormatting->m_iconSmall.m_bmpNormal.Make32();
pNodeClearFormatting->m_iconSmall.m_bmpNormal.AlphaColor( RGB(255,0,255), RGB(0,0,0), 0 );
pCmdScreenTip = new CExtCustomizeCmdScreenTip;
pCmdScreenTip->CaptionMainSet( _T("Clear Formatting") );
pCmdScreenTip->TextMainSet( _T("Copy the formatting from one place\nand apply it to an other.\n\nUse this button to apply\nthe same formatting to multiple\nplaces in the document.") );
pCmdScreenTip->CaptionSecondarySet( _T("Press F1 for more help.") );
pCmdScreenTip->BmpSecondaryGet().LoadBMP_Resource( MAKEINTRESOURCE(ID_APP_ABOUT_16x16) );
pCmdScreenTip->BmpSecondaryGet().PreMultiplyRGBChannels( false );
pNodeClearFormatting->CmdScreenTipAttach( pCmdScreenTip );
pRibbonGroup->InsertNode(
NULL,
pNodeClearFormatting
);
return pRibbonGroup;
}
|
|
Technical Support
|
Dec 20, 2007 - 11:09 AM
|
Could you tell us how do you initialize and handle the split button in the ribbon bar demonstrated on these 2 screenshots or how to reproduce this problem in our sample applications?
|
|
tera t
|
Dec 20, 2007 - 5:17 PM
|
Hello.
Is a sample code necessary? Or must not I do such how to use?
----------------------------------------------------------------------- CExtRibbonNode * pNodeGrid = new CExtRibbonNode( 9999 );
pNodeGrid->CmdKeyTipSet( new CExtCustomizeCmdKeyTip( _T(’L’) ), false );
pNodeGrid->SetCmdID ( ID_FG_LINE , true ); pNodeGrid->RibbonILE_RuleRemoveLargeILV();
pNodeGrid->m_iconSmall.m_bmpNormal.Make32(); pNodeGrid->m_iconSmall.m_bmpNormal.AlphaColor( RGB(255,0,255), RGB(0,0,0), 0 );
pNodeGrid->ModifyFlags( __ECTN_DISPLAY_TEXT_AND_IMAGE| __ECTN_TBB_AUTOCHANGE_ID | __ECTN_TBB_SEPARATED_DROPDOWN );
pRibbonGroup->InsertNode( NULL, pNodeGrid );
{ CExtCustomizeCmdTreeNode * pTempNode = NULL; CExtCmdIcon cIconTmp;
VERIFY( cIconTmp.m_bmpNormal. LoadBMP_Resource( MAKEINTRESOURCE(ID_FG_LINE_SMALL) ) ); cIconTmp.m_bmpNormal.Make32(); cIconTmp.m_bmpNormal.AlphaColor( RGB(255,0,255), RGB(0,0,0), 0 ); pTempNode = new CExtCustomizeCmdTreeNode( ID_FG_LINE , ID_FG_LINE , NULL, 0, _T("LINE"), _T("LINE"), _T("LINE"), 0L, &cIconTmp ); pTempNode->CmdKeyTipSet( new CExtCustomizeCmdKeyTip( _T(’N’) ), false ); pNodeGrid->InsertNode( NULL, pTempNode );
VERIFY( cIconTmp.m_bmpNormal. LoadBMP_Resource( MAKEINTRESOURCE(ID_FG_LINES_SMALL) ) ); cIconTmp.m_bmpNormal.Make32(); cIconTmp.m_bmpNormal.AlphaColor( RGB(255,0,255), RGB(0,0,0), 0 ); pTempNode = new CExtCustomizeCmdTreeNode( ID_FG_LINES , ID_FG_LINES , NULL, 0, _T("LINES"), _T("LINES"), _T("LINES"), 0L, &cIconTmp ); pTempNode->CmdKeyTipSet( new CExtCustomizeCmdKeyTip( _T(’N’) ), false ); pNodeGrid->InsertNode( NULL, pTempNode );
} -----------------------------------------------------------------------
|
|