|
|
|
|
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 |
|
Rajneesh
|
Jun 22, 2003 - 11:42 PM
|
Hi, I have created CExtControlBar Window. Whenvere i resize it slowly ...it paints my control window so slowly it shows flickring inside as well as outside window. How can in resolve this problem. This problem also persist on the samples given with prof UIS .
I am using ProfUis2.22 version.
Regards, Rajneesh
|
|
Technical Support
|
Jun 24, 2003 - 10:09 AM
|
Dear Rajneesh,
We have modified the docking algorithm including the code responsible for resizing floating bars. Resizing seems to work much faster ;-). Please let us know if you need the updated code right now.
|
|
rajneesh
|
Jun 25, 2003 - 1:32 AM
|
Also send me the updated help file. The help file that i have is of version 2.21 I have seen some parameter change in version 2.22. So please send me the updated help file along with updated code
|
|
Technical Support
|
Jun 26, 2003 - 8:44 AM
|
Dear Rajneesh,
The help file for version 2.22 is not assembled yet, we are working on it now and it will be available very soon.
|
|
rajneesh
|
Jun 24, 2003 - 11:28 PM
|
Ok, I need that updated code.
Regards, Rajneesh
|
|
Technical Support
|
Jun 26, 2003 - 8:45 AM
|
Dear Rajneesh,
The updated code will be sent to you today.
|
|
rajneesh
|
Jun 26, 2003 - 11:36 PM
|
The updated code that you have sent is not compiling. I have replaced Include files as well as Source files with your files. During compilation it gives me error.Below is the build log.
****************************************************
Deleting intermediate files and output files for project ’profuisdll - Win32 Unicode Debug’. --------------------Configuration: profuisdll - Win32 Unicode Debug-------------------- Compiling resources... Compiling... StdAfx.cpp Automatically linking with WinMM library (Windows Multimedia System) Multiply monitor support: build-in Compiling... exdlgbase.cpp ExtBtnOnFlat.cpp ExtButton.cpp ExtCmdIcon.cpp ExtCmdManager.cpp ExtColorCtrl.cpp Automatically linking with version.lib (Version info support) ExtColorDlg.cpp ExtColorPaletteWnd.cpp ExtComboBox.cpp ExtContentExpandWnd.cpp ExtControlBar.cpp ExtControlBarTabbedFeatures.cpp ExtDockBar.cpp C:\ProfUIS2.22\Src\ExtDockBar.cpp(232) : error C2065: ’ID_EXT_ADD_REMOVE_BUTTONS’ : undeclared identifier C:\ProfUIS2.22\Src\ExtDockBar.cpp(251) : error C2065: ’ID_EXT_CUSTOMIZE’ : undeclared identifier ExtEdit.cpp ExtHook.cpp ExtIconEditDlg.cpp ExtImageEditWnd.cpp ExtMenuControlBar.cpp ExtMiniDockFrameWnd.cpp ExtMouseCaptureSink.cpp Generating Code... Compiling... ExtPageContainerWnd.cpp ExtPaintManager.cpp C:\ProfUIS2.22\Src\ExtPaintManager.cpp(306) : error C2664: ’GetProcAddress’ : cannot convert parameter 2 from ’const unsigned short *’ to ’const char *’ Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast ExtPopupMenuWnd.cpp ExtResizableDialog.cpp ExtScrollWnd.cpp ExtShortcutListWnd.cpp ExtTabWnd.cpp ExtToolBoxWnd.cpp ExtToolControlBar.cpp profuisdll.cpp Generating Code... Error executing cl.exe.
ProfUIS222ud.dll - 3 error(s), 0 warning(s)
|
|
Technical Support
|
Jun 27, 2003 - 10:12 AM
|
Hi,
1) Please find this line in the Prof-UIS.h file and uncomment it:
//#define __EXT_MFC_NO_CUSTOMIZE
2) In the ExtPaintManager.cpp file before line 306 you can find the a big table which begins with:
struct { FARPROC * m_pFarProc; LPCTSTR m_strProcName; } arrUserExApi[] = { { (FARPROC*)&m_pUxApi_OpenThemeData, _T("OpenThemeData") }, { (FARPROC*)&m_pUxApi_CloseThemeData, _T("CloseThemeData") }, { (FARPROC*)&m_pUxApi_DrawThemeBackground, _T("DrawThemeBackground") }, ...
The function-name strings in this table should be always ANSI strings. Please remove the _T(...) macroses. Just select all table in the editor and perform two text replacements:
a) replace _T(" with "
b) replace ") with "
Also, please replace LPCTSTR m_strProcName with LPCSTR m_strProcName
|
|