Subject |
Author |
Date |
|
Eddie Judson
|
Nov 20, 2006 - 11:49 PM
|
Hi, I have a class derived from CExtTreeGridWnd and am trying to implement drag and drop functionality. My problem is that OnGbwDataDndDo is never fired in my class. Here is the implementation could you tell me what I am doing wrong?
CDrawFieldsGrid::CDrawFieldsGrid(void) { HoverEventsSet( true, false ); HoverHighlightSet( true, false, false, false, true, true ); BseModifyStyle( 0, __EGWS_BSE_EDIT_CELLS_INNER , false ); }
CDrawFieldsGrid::~CDrawFieldsGrid(void) { } bool CDrawFieldsGrid::OnGbwDataDndIsAllowed() const { ASSERT_VALID( this ); return true; } void CDrawFieldsGrid::OnGbwDataDndDo( const CExtGridHitTestInfo & htInfo ) { ASSERT_VALID( this ); htInfo; TRACE2( "CExtGridBaseWnd::OnGbwDataDndDo(%d,%d)\n", htInfo.m_nColNo, htInfo.m_nRowNo ); }
Regards, Eddie
|
|
Technical Support
|
Nov 21, 2006 - 11:26 AM
|
It seems you may have forgotten to override the CExtGridWnd::OnGbwDataDndIsAllowed() virtual method and simply return true in it. This turns on data drag-and-drop start events in the grid window and CExtGridWnd::OnGbwDataDndDo() will be invoked. Here is the related FAQ:
How to implement drag-and-drop for inner cells in my grid?.
|
|
Eddie Judson
|
Nov 21, 2006 - 11:41 PM
|
Ummmm.... if you look at the class implementation you will see I have overridden OnGbwDataDndIsAllowed
This is it---> bool CDrawFieldsGrid::OnGbwDataDndIsAllowed() const { ASSERT_VALID( this ); return true; }
|
|
Technical Support
|
Nov 23, 2006 - 9:49 AM
|
The OnGbwDataDndIsAllowed() virtual method will not be invoked if you have not enabled any cell selection type in the grid window. You can specify the selection type using the SiwModifyStyle() method. The following selection types are defined in the ExtScrollWnd.h file: // basic selection/focus type
#define __EGBS_SFB_NONE 0x00000000L
#define __EGBS_SFB_CELLS 0x00001000L
#define __EGBS_SFB_FULL_ROWS 0x00002000L
#define __EGBS_SFB_FULL_COLUMNS 0x00003000L
#define __EGBS_SFB_MASK 0x00003000L
// allow multiple row/column/cell selection
#define __EGBS_SFM_ROWS 0x00000800L
#define __EGBS_SFM_COLUMNS 0x00008000L
#define __EGBS_SFM_MASK (__EGBS_SFM_ROWS|__EGBS_SFM_COLUMNS)
// enabled multiple selection types
#define __EGBS_SFM_CELLS_H (__EGBS_SFB_CELLS|__EGBS_SFM_COLUMNS)
#define __EGBS_SFM_CELLS_V (__EGBS_SFB_CELLS|__EGBS_SFM_ROWS)
#define __EGBS_SFM_CELLS_HV (__EGBS_SFB_CELLS|__EGBS_SFM_COLUMNS|__EGBS_SFM_ROWS)
#define __EGBS_SFM_FULL_ROWS (__EGBS_SFB_FULL_ROWS|__EGBS_SFM_ROWS)
#define __EGBS_SFM_FULL_COLUMNS (__EGBS_SFB_FULL_COLUMNS|__EGBS_SFM_COLUMNS)
// any selection mask
#define __EGBS_SF_MASK (__EGBS_SFB_MASK|__EGBS_SFM_MASK) The first four __EGBS_SFB_*** styles define general selection types and other styles are based on them. The __EGBS_SFB_NONE style is used in the grid by default and it does not allow you to start any drag-and-drop. We will add this detail to the FAQ about drag-and-dropping cells.
|
|
Eddie Judson
|
Nov 24, 2006 - 4:03 AM
|
Hi I have added the basic selection and am still not getting the OnGbwDataDndDo event firing, following is my implementation: Can you help me out?
#include "StdAfx.h" #include ".\drawfieldsgrid.h"
CDrawFieldsGrid::CDrawFieldsGrid(void) { HoverEventsSet( true, false ); HoverHighlightSet( true, false, false, false, true, true ); SiwModifyStyle(__EGBS_SFB_CELLS,0,false); BseModifyStyle( 0, __EGWS_BSE_EDIT_CELLS_INNER , false ); }
CDrawFieldsGrid::~CDrawFieldsGrid(void) { }
bool CDrawFieldsGrid::OnGbwDataDndIsAllowed() const { ASSERT_VALID( this ); return true; }
void CDrawFieldsGrid::OnGbwDataDndDo( const CExtGridHitTestInfo & htInfo ) { ASSERT_VALID( this ); htInfo; TRACE2( "CExtGridBaseWnd::OnGbwDataDndDo(%d,%d)\n", htInfo.m_nColNo, htInfo.m_nRowNo ); }
|
|
Technical Support
|
Nov 24, 2006 - 12:59 PM
|
You are invoking a set of CExtGridWnd class methods in the CDrawFieldsGrid::CDrawFieldsGrid() constructor. But the CDrawFieldsGrid object at that time is only in the memory and it is not connected to any HWND window handle. So you should invoke these methods in the CDrawFieldsGrid::OnCreate() method instead. Here is a very simple sample you can download from our site:
test_grid_start_drag_and_drop
|
|
Eddie Judson
|
Nov 24, 2006 - 4:51 PM
|
Thank you for your prompt reply, worked nicely.
|
|
Offer Har
|
Nov 20, 2006 - 3:39 PM
|
Hi,
This class does not paint its background correct. If you use it with themed process, the background color is not painted correctly, both in ES_PROFUIS or ES_SYSTEM style. If the transparent flag of the control is false in the properties, the result are event worse, when grading the slider, there is a left-over shadow.
Please fix for next version.
|
|
Technical Support
|
Nov 21, 2006 - 4:34 AM
|
The only way to fix this bug is to code a new slider from scratch. As you know CExtSliderWnd is derived from the MFC’s CSliderWnd and the background painting in the latter is based on the WM_CTLCOLOR message. This message is not sent when the background needs to be repainted. To workaroubd this, you can use the CExtSliderWnd::UpdateSliderWnd() method to invalidate the background manually: void CChildView::OnSize(UINT nType, int cx, int cy)
{
CFormView::OnSize(nType, cx, cy);
if( m_wndSlider.GetSafeHwnd() != NULL )
m_wndSlider.UpdateSliderWnd();
}
|
|
Offer Har
|
Nov 21, 2006 - 4:44 AM
|
The problem is not only in the sizing.
I use the 2007 themes, they have a gradient background depending on the dialog’s location. When i grad the dialog to the right, the slider’s color does not change, bur the dialog’s background color does - which looks very bad.
How to solve this problem?
|
|
Technical Support
|
Nov 21, 2006 - 11:38 AM
|
We can only recommend you using a slider painted from the scratch like that specially coded for the AdoRecordsetView sample: class CInplaceSliderWnd : public CSliderCtrl
{
protected:
virtual LRESULT WindowProc(
UINT message,
WPARAM wParam,
LPARAM lParam
)
{
ASSERT_VALID( this );
if( message == WM_ERASEBKGND )
return TRUE;
if( message == WM_NCCALCSIZE )
return 0L;
if( message == WM_PAINT )
{
CPaintDC dcPaint( this );
CExtPaintManager::
stat_ExcludeChildAreas(
dcPaint.GetSafeHdc(),
GetSafeHwnd()
);
CRect rcClient;
GetClientRect(
&rcClient
);
CExtMemoryDC dc(
&dcPaint,
&rcClient
);
if( g_PaintManager ->
GetCb2DbTransparentMode(this)
)
g_PaintManager->PaintDockerBkgnd(
true,
dc,
this
);
else
dc.FillSolidRect(
&rcClient,
g_PaintManager->GetColor(
CExtPaintManager::
CLR_3DFACE_OUT,
this
)
);
DWORD dwWndStyle =
GetStyle();
bool bHorz =
( (dwWndStyle&TBS_VERT) != 0 )
? false : true;
COLORREF clrFace =
g_PaintManager->GetColor(
COLOR_3DFACE,
this
);
COLORREF clrHilight =
g_PaintManager->GetColor(
COLOR_3DHILIGHT,
this
);
COLORREF clrShadow =
g_PaintManager->GetColor(
COLOR_3DSHADOW,
this
);
CRect rcChannel;
rcChannel = rcClient;
CRect rcThumb;
CSliderCtrl::GetThumbRect(
&rcThumb
);
if( bHorz )
{
rcChannel.top =
rcThumb.top;
rcChannel.bottom =
rcThumb.bottom;
rcChannel.DeflateRect(
rcThumb.Width(),
( rcChannel.Height()
- rcThumb.Width()
) / 2
);
} // if( bHorz )
else
{
rcChannel.left =
rcThumb.left;
rcChannel.right =
rcThumb.right;
rcChannel.DeflateRect(
( rcChannel.Width()
- rcThumb.Height()
) / 2,
rcThumb.Height()
);
} // else from if( bHorz )
dc.FillSolidRect(
&rcChannel,
clrFace
);
dc.Draw3dRect(
&rcChannel,
clrShadow,
clrHilight
);
dc.FillSolidRect(
&rcThumb,
clrFace
);
dc.Draw3dRect(
&rcThumb,
clrHilight,
clrShadow
);
return TRUE;
} // if( message == WM_PAINT )
LRESULT lResult =
CSliderCtrl::WindowProc(
message,
wParam,
lParam
);
return lResult;
}
}; // class CInplaceSliderWnd
|
|
Offer Har
|
Nov 21, 2006 - 12:46 PM
|
I think that part of the library should be a fully working slider control. Currently, all my controls, including my custom controls support the themes of ProfUI, and your own controls do not.
This does not seems right, especially when the only problem of the control is the background painting.
|
|
Technical Support
|
Nov 22, 2006 - 11:03 AM
|
This is a problem of the standard slider control and its "custom drawn" mechanism. A slider painted from the scratch is in our TO-DO list.
|
|
Matthew Claus
|
Nov 20, 2006 - 2:35 PM
|
Hi!
I am confused about how to resize a CExtControlBar object programmatically. Did try the trick from your source code: --------------------------------------------------------------------------------------------------------- pDockFrame->SendMessage( CExtPopupMenuWnd::g_nMsgCustomFloatPos, WPARAM(pDockFrame->m_hWnd), LPARAM(&rcCustomFloatPos) );
pDockFrame->SetWindowPos( pWndAfter, posX, posY, lengthX, lengthY, SWP_NOMOVE ); --------------------------------------------------------------------------------------------------------- but it failed. Is it because of I did something else wrong or the approach is not good? What is the proper way to do that?
George Seryakov (gseryakov@espeed.com), in behalf of Matt Claus
|
|
Matthew Claus
|
Nov 22, 2006 - 8:44 AM
|
Works great! It is a little confusing that the position is being set for the frame window and the size - for the CExtControlBar.
|
|
Technical Support
|
Nov 23, 2006 - 9:39 AM
|
The dockable control bars in MFC are designed to work with the frame window (which is called "dock site"). That is why you should always use the API specific for control bars instead of the standard window management API.
|
|
Technical Support
|
Nov 21, 2006 - 11:19 AM
|
Please download the following sample, which shows how to resize control bars programmatically:
ChangeFloatingSize.zip
|
|
Offer Har
|
Nov 20, 2006 - 10:09 AM
|
Hi,
Why is the scroll-bar of the CExtComboBox not skinned? how can i make it skinned?
Thanks.
|
|
Technical Support
|
Nov 20, 2006 - 12:09 PM
|
This feature in our to-do list. The main problem is that such a scroll bar in a standard control is not a separate window but part of the control’s non-client area. So the HWND -based CExtScrollBar cannot be used here. There is an article at CodeProject that demonstrates an approach to using scroll bar common controls with other common controls instead of built-in scroll bars. You can also download our test project that implements the approach given in the article.
|
|
Offer Har
|
Nov 20, 2006 - 12:36 PM
|
|
|
Offer Har
|
Nov 20, 2006 - 9:11 AM
|
Hi,
When using CExtPaintManagerOffice2007_R3_Silver, the CExtButton’s focus rect appears very far from the buttons border, and obscures the text. How can move it closer to the border, or remove it at all?
Thanks.
|
|
Technical Support
|
Nov 20, 2006 - 12:40 PM
|
There is a method CExtButton::SetDrawFocusRect() that allows you to specify if the focus rectangle should be displayed when the button gets focus. But actually we have just checked this issue and cannot say that there is something wrong with the focus rect. Would you send a screenshot to us?
|
|
Offer Har
|
Nov 20, 2006 - 12:48 PM
|
Sent you two samples by mail.
|
|
Offer Har
|
Nov 20, 2006 - 9:05 AM
|
Hi,
I have application completely skinned, with one exception - the message boxes... Is there any place to replace the default AfxMessageBox with a better one?
Is theer anybody out there that has already done such a thing?
Thanks!
|
|
Technical Support
|
Nov 21, 2006 - 2:48 AM
|
This feature (skinned system dialogs) is not supported in Prof-UIS (by the way in MS Office applications either). We plan to implement this in one of the next versions.
|
|
Offer Har
|
Nov 20, 2006 - 8:39 AM
|
1) Create a dialog based project. 2) But a check-box, and a button. 3) Derive the button from CExtButton 4) Override the OnClick of the check box. 5) In the OnClick alternate the eneble state of the button (if checked, then button enabled, un-checked, button disabled)
The test: press the check-box very fast, and stop with check-box unchecked, sometimes the button is still enabled.
Please fix for the next version.
|
|
Technical Support
|
Nov 23, 2006 - 10:57 AM
|
Actually we cannot confirm this bug. In the ProfUIS Controls, there is an Enable check box on the Buttons page, which enables/disables buttons on this page. So we used it for testing. Please try to reproduce this with this sample and let us know the result. Please note that if the check box is unchecked, it should be clicked an even number of times so the buttons remain disabled.
|
|
Offer Har
|
Nov 23, 2006 - 12:17 PM
|
The bug is in M$’s CCheckListBox - if you click too fast, you don’t get all the events... it get messed up. I will consider replacing this class with a grid class... Thanks anyhow.
|
|
Offer Har
|
Nov 20, 2006 - 8:41 AM
|
2) first word is Put, not But...
|
|
Offer Har
|
Nov 20, 2006 - 8:09 AM
|
Hi,
I am using CExtDateTimeWnd in my dialog next to other controls. All the other CExtEdit do not have frame by default, and when hovering over them, they have a frame. The CExtDateTimeWnd have a black frame, which does not conform with the rest of the controls.
The style I apply to the custom controls are: 0x56030000, which do not enforce any frame.
Please change it for the next version.
Thanks.
|
|
Offer Har
|
Jan 1, 2007 - 12:50 AM
|
Dears Support,
Any idea as to in which version this will be fixed?
Regards, Ron.
|
|
Technical Support
|
Jan 4, 2007 - 4:58 AM
|
We will make CExtDateTimeWnd more consistent with CExtEdit approximately in two weeks.
|
|
Offer Har
|
Dec 18, 2006 - 8:19 PM
|
Dear Support,
Any estimation when this bug will be fixed?
Regards, Ron.
|
|
Technical Support
|
Nov 20, 2006 - 12:15 PM
|
We confirm this and will fix it in one of the next versions. Thank you reporting this problem.
|
|
Offer Har
|
Nov 29, 2006 - 10:27 PM
|
Was this fixed in the 2.62 version?
|
|
Technical Support
|
Dec 1, 2006 - 8:48 AM
|
|
|
Offer Har
|
Nov 20, 2006 - 6:14 AM
|
Hi,
I have a CWnd custom control that paints its own. My problem is that it does not ’blend’ with the background of the skinned dialogs. What is the way to make such a control transparent?
Thanks.
|
|
Technical Support
|
Nov 20, 2006 - 11:54 AM
|
You can use the following code in your WM_PAINT message handler to make your control’s background consistent with the current theme: bool bTransparent = false;
if( (! bTransparent )
&& PmBridge_GetPM()->GetCb2DbTransparentMode(this)
)
{
CExtPaintManager::stat_ExcludeChildAreas(
dc,
GetSafeHwnd(),
CExtPaintManager::stat_DefExcludeChildAreaCallback
);
if( PmBridge_GetPM()->PaintDockerBkgnd( true, dc, this ) )
bTransparent = true;
}
if( ! bTransparent )
dc.FillSolidRect(
&rcClient,
PmBridge_GetPM()->GetColor( CExtPaintManager::CLR_3DFACE_OUT, this )
);
|
|
Offer Har
|
Nov 20, 2006 - 12:25 PM
|
1. Your code has extra line between every row - please check. 2. My control is CWnd base - how do i make it know PmBridge_GetPM? Thanks.
|
|
Offer Har
|
Nov 20, 2006 - 12:42 PM
|
Thanks... I managed myself ;-) And it works.
|
|
David Fox
|
Nov 20, 2006 - 5:44 AM
|
Hi!
I am trying to add tooltips for grid cells, but they are not working. So, what I do: 1. I am using derived cell type(my own), and then overload OnGetToolTipText, and return the tooltip text. 2. I am modifying style of the grid: m_GListGrid.SiwModifyStyle( (__ESIS_STV_ITEM | __EGBS_EX_CELL_TOOLTIPS), 0, true ); 3. I set m_GListGrid.HoverEventsSet( true, true );
Unfortunately there is no any tooltip when I am hovering my mouse over the cell. What I have to do?
|
|
Fabien Masson
|
Dec 22, 2006 - 1:10 AM
|
Thanks for your answer.
By the way, you have already almost all code for doing it. We simply derivated one CExtGridCell, add the string tooltip & methods, plus override OnGetToolTipText virtual method and it works like a charm.
Is it by design (memory constraint) that you didn’t want to store this additionnal string directly in CExtGridCell ? Or is it because there so many differents needs that my solution is not as "a general" one ?
Regards, Fabien.
|
|
Fabien Masson
|
Dec 20, 2006 - 4:05 AM
|
Dear Support,
Have you already released this feature ? I was about to implemente it by myself but I always prefer your implementation.
Best regards, Fabien.
|
|
Technical Support
|
Dec 21, 2006 - 12:41 PM
|
This is not supported in the current version. We will add it in one of the next versions.
|
|
Technical Support
|
Nov 20, 2006 - 12:21 PM
|
Please note you should disable the contents pop-up window for grid cells first. Such a tooltip-like window shows the cell contents for any cell that is partially visible: m_wndGrid.EnableTooltips(
true,
true,
true,
true,
true
);
m_wndGrid.EnableExpanding(
false,
false,
false,
false,
false
); Following requests from our customers, we are going to implement a method ( TooltipTextSet() ) which can be used for setting a custom tooltip. We will notify you when it is ready.
|
|
Juri Tsjornoi
|
Nov 18, 2006 - 11:20 AM
|
I had Prof-UIS v.2.30 (free version) and now I’d like to use Prof-UIS v.2.61 (full version) in my application. I’ve compiled a necessary library files (Prof-UIS261m.dll Prof-UIS261m.lib), have set up the required paths to the library, but when I execute a program, it writes to me "Unable to locate DLL - The dynamic link library Prof-UIS230m.dll could not be found in the specified path ... ". So, the application wants to use the old Prof-UIS dll instead of the new one, however there’s a new new dll (v.2.61) in the directory for library files and there’s not the old (v.2.30) one. Can you tell me please, how to "tell" the application to use new version of Prof-UIS?
|
|
Technical Support
|
Nov 18, 2006 - 2:23 PM
|
There should be no problems with linking Prof-UIS with your projects if you deleted paths to the folders of an older version (include and lib folders). So check this first. Of course, do not forgot to specify paths to the folders with Prof-UIS 2.61 in the VS settings.
|
|
Juri Tsjornoi
|
Nov 18, 2006 - 3:18 PM
|
I forgot to recompile dll files, that my application uses, and which use prof-uis library. Now that’s ok with execution.
|
|
Brett Cook
|
Nov 17, 2006 - 3:55 PM
|
Dear Tech Support,
I have a dialog that is a child of a CExtControlBar. Is there a way to make sure that the CExtControlBar does not go into AutoHide when the child dialog is active?
I have tried calling the AutoHideModeSet of the CExtControlBar and setting the autohide to false, however the bar still hides but a ghost copy is shown untill I set it to true again.
Thanks, -Brett
|
|
Technical Support
|
Nov 18, 2006 - 2:31 PM
|
As you know, you make the control bar auto hidden in these two ways: 1) By clicking the pin button. 2) Programmatically. Please let us know more details about the problem. What you mean exactly by the word "active"?
|
|
Brett Cook
|
Nov 20, 2006 - 11:53 AM
|
Yes, sorry for not being more descriptive.
So here is the scenario:
1) User turns on auto-hide by clicking the pin button. 2) User then presses a button in the control bar that activates a separate dialog that is centered in the middle of the screen. 3) When the user moves the mouse over to the center of the screen (and off of the control bar) to manipulate the new separate dialog, the control bar will auto-hide.
Is there a way to ensure the control bar will not auto-hide while that dialog is up and the mouse is outside of the control bar?
Thanks
|
|
Technical Support
|
Nov 21, 2006 - 11:06 AM
|
Thank you for your suggestion. The auto-hide slider window currently stays visible only if the mouse pointer is in inside its area or if it contains a focused window. It is not currently possible to change this behavior because it is implemented in Prof-UIS internally. We can implement this in one of the next versions.
|
|
Andreas Werner
|
Nov 17, 2006 - 8:04 AM
|
Dear support Team,
I created a MDI application with the Prof-UIS application wizard in Visual Studio. I chose static linking with MFC. I left all the other settings at its default. I can compile the generated code, but when I start the aplication it fails in the Create method of the CExtResDlg class. The following assert fails: ASSERT( hInst != NULL );
It seems, that some poeple in the forums had similar problems, but I could not find postings, that answer my problem.
Here is the code where the debugger stops:
BOOL CExtResDlg::Create( __EXT_MFC_SAFE_LPCTSTR lpszTemplateName, CWnd * pParentWnd // = NULL ) { __PROF_UIS_MANAGE_STATE; ASSERT( HIWORD(lpszTemplateName) == 0 || AfxIsValidString( lpszTemplateName ) );
m_lpszTemplateName = lpszTemplateName; // used for help if( HIWORD(m_lpszTemplateName) == 0 && m_nIDHelp == 0 ) m_nIDHelp = LOWORD((DWORD)m_lpszTemplateName); m_lpszTemplateName_SAVED = m_lpszTemplateName; HRSRC hResource = NULL; HINSTANCE hInst = g_ResourceManager->FindResourceHandle( RT_DIALOG, UINT(LPCTSTR(lpszTemplateName)), NULL, &hResource ); ASSERT( hInst != NULL ); <== THE DEBUGGER STOPS HERE ASSERT( hResource != NULL ); if( hInst == NULL ) return FALSE; HGLOBAL hTemplate = LoadResource( hInst, hResource ); ASSERT( hTemplate != NULL ); BOOL bResult = CreateIndirect( hTemplate, pParentWnd, hInst ); FreeResource( hTemplate ); return bResult; }
With best regards Andreas Werner
|
|
Suhai Gyorgy
|
Nov 17, 2006 - 8:15 AM
|
|
|
Andreas Werner
|
Nov 20, 2006 - 3:56 AM
|
Hallo,
I am using Prof-UIS version 2.6.0. The HOWTO seems to refer to older versions:
I changed the following settings in my project: I added __STATPROFUIS_WITH_DLLMFC__ to the Preprocessor Definitions field in the C/C++ and Resources categories and recompiled the source code.
The line is prensent in the Prof-UIS.h file: #define __EXT_PROFUIS_STATIC_LINK_WITH_RESOURCES
I can only compile the libary projects if the line is present. If I take it away the compilation fails.
This code is also allready present in the *.rc2 file: ///////////////////////////////////////////////////////////////////////////// // Add manually edited resources here... #if ( !(defined _AFXDLL && !defined __STATPROFUIS_WITH_DLLMFC__) ) #include <Resources/Resource.rc> #endif
I still can’t start the application it crashes with the same error as before.
With best regards Andreas Werner
|
|
Technical Support
|
Nov 20, 2006 - 12:47 PM
|
The FAQ is applicable to any version of Prof-UIS. Please try rebuilding your application completely.
|
|
Andreas Werner
|
Nov 20, 2006 - 1:27 AM
|
Hello,
Now I have created a new project with the application wizard. In the wizard I chose dynamic linking with MFC. In Visual Studio I chose the āWin 32 Debugā configuration. I can compile the program. I copied the ProfUIS260md.dll to the output directory āDebugā. When I start the application the debugger stops again in the Create method of the CExtResDlg class.
With best regards Andreas Werner
|
|
Offer Har
|
Nov 16, 2006 - 10:52 AM
|
Hi,
I have downloaded the latest version (Nov-15) from the ftp of 2.62, and when compiling my process I get all these error below. I unzipped the files into a clean directory and did a rebuild to my project.
Compiling... stdafx.cpp Prof-UIS multiple monitor support: built-in Automatically linking with Prof-UIS library: ProfUIS262md.lib (Professional User Interface Suite) z:\3rdParty\Prof-UIS\Include\vsstyle.h(53) : error C2011: ’BUTTONPARTS’ : ’enum’ type redefinition z:\3rdParty\Prof-UIS\Include\Tmschema.h(550) : see declaration of ’BUTTONPARTS’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(65) : error C2011: ’PUSHBUTTONSTATES’ : ’enum’ type redefinition z:\3rdParty\Prof-UIS\Include\Tmschema.h(558) : see declaration of ’PUSHBUTTONSTATES’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(74) : error C2011: ’RADIOBUTTONSTATES’ : ’enum’ type redefinition z:\3rdParty\Prof-UIS\Include\Tmschema.h(566) : see declaration of ’RADIOBUTTONSTATES’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(85) : error C2011: ’CHECKBOXSTATES’ : ’enum’ type redefinition z:\3rdParty\Prof-UIS\Include\Tmschema.h(577) : see declaration of ’CHECKBOXSTATES’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(108) : error C2011: ’GROUPBOXSTATES’ : ’enum’ type redefinition z:\3rdParty\Prof-UIS\Include\Tmschema.h(592) : see declaration of ’GROUPBOXSTATES’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(137) : error C2011: ’COMBOBOXPARTS’ : ’enum’ type redefinition z:\3rdParty\Prof-UIS\Include\Tmschema.h(1060) : see declaration of ’COMBOBOXPARTS’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(151) : error C2365: ’CBXS_NORMAL’ : redefinition; previous definition was a ’enumerator’ z:\3rdParty\Prof-UIS\Include\Tmschema.h(1065) : see declaration of ’CBXS_NORMAL’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(152) : error C2365: ’CBXS_HOT’ : redefinition; previous definition was a ’enumerator’ z:\3rdParty\Prof-UIS\Include\Tmschema.h(1066) : see declaration of ’CBXS_HOT’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(153) : error C2365: ’CBXS_PRESSED’ : redefinition; previous definition was a ’enumerator’ z:\3rdParty\Prof-UIS\Include\Tmschema.h(1067) : see declaration of ’CBXS_PRESSED’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(154) : error C2365: ’CBXS_DISABLED’ : redefinition; previous definition was a ’enumerator’ z:\3rdParty\Prof-UIS\Include\Tmschema.h(1068) : see declaration of ’CBXS_DISABLED’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(368) : error C2011: ’EDITPARTS’ : ’enum’ type redefinition z:\3rdParty\Prof-UIS\Include\Tmschema.h(1042) : see declaration of ’EDITPARTS’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(382) : error C2011: ’EDITTEXTSTATES’ : ’enum’ type redefinition z:\3rdParty\Prof-UIS\Include\Tmschema.h(1047) : see declaration of ’EDITTEXTSTATES’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(444) : error C2011: ’EXPLORERBARPARTS’ : ’enum’ type redefinition z:\3rdParty\Prof-UIS\Include\Tmschema.h(1145) : see declaration of ’EXPLORERBARPARTS’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(461) : error C2011: ’HEADERCLOSESTATES’ : ’enum’ type redefinition z:\3rdParty\Prof-UIS\Include\Tmschema.h(1160) : see declaration of ’HEADERCLOSESTATES’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(467) : error C2011: ’HEADERPINSTATES’ : ’enum’ type redefinition z:\3rdParty\Prof-UIS\Include\Tmschema.h(1166) : see declaration of ’HEADERPINSTATES’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(476) : error C2011: ’IEBARMENUSTATES’ : ’enum’ type redefinition z:\3rdParty\Prof-UIS\Include\Tmschema.h(1175) : see declaration of ’IEBARMENUSTATES’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(482) : error C2011: ’NORMALGROUPCOLLAPSESTATES’ : ’enum’ type redefinition z:\3rdParty\Prof-UIS\Include\Tmschema.h(1181) : see declaration of ’NORMALGROUPCOLLAPSESTATES’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(488) : error C2011: ’NORMALGROUPEXPANDSTATES’ : ’enum’ type redefinition z:\3rdParty\Prof-UIS\Include\Tmschema.h(1187) : see declaration of ’NORMALGROUPEXPANDSTATES’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(494) : error C2011: ’SPECIALGROUPCOLLAPSESTATES’ : ’enum’ type redefinition z:\3rdParty\Prof-UIS\Include\Tmschema.h(1193) : see declaration of ’SPECIALGROUPCOLLAPSESTATES’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(500) : error C2011: ’SPECIALGROUPEXPANDSTATES’ : ’enum’ type redefinition z:\3rdParty\Prof-UIS\Include\Tmschema.h(1199) : see declaration of ’SPECIALGROUPEXPANDSTATES’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(555) : error C2011: ’HEADERPARTS’ : ’enum’ type redefinition z:\3rdParty\Prof-UIS\Include\Tmschema.h(684) : see declaration of ’HEADERPARTS’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(572) : error C2011: ’HEADERITEMSTATES’ : ’enum’ type redefinition z:\3rdParty\Prof-UIS\Include\Tmschema.h(691) : see declaration of ’HEADERITEMSTATES’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(587) : error C2011: ’HEADERITEMLEFTSTATES’ : ’enum’ type redefinition z:\3rdParty\Prof-UIS\Include\Tmschema.h(697) : see declaration of ’HEADERITEMLEFTSTATES’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(593) : error C2011: ’HEADERITEMRIGHTSTATES’ : ’enum’ type redefinition z:\3rdParty\Prof-UIS\Include\Tmschema.h(703) : see declaration of ’HEADERITEMRIGHTSTATES’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(599) : error C2011: ’HEADERSORTARROWSTATES’ : ’enum’ type redefinition z:\3rdParty\Prof-UIS\Include\Tmschema.h(709) : see declaration of ’HEADERSORTARROWSTATES’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(680) : error C2011: ’LISTVIEWPARTS’ : ’enum’ type redefinition z:\3rdParty\Prof-UIS\Include\Tmschema.h(665) : see declaration of ’LISTVIEWPARTS’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(695) : error C2011: ’LISTITEMSTATES’ : ’enum’ type redefinition z:\3rdParty\Prof-UIS\Include\Tmschema.h(673) : see declaration of ’LISTITEMSTATES’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(761) : error C2011: ’MENUPARTS’ : ’enum’ type redefinition z:\3rdParty\Prof-UIS\Include\Tmschema.h(647) : see declaration of ’MENUPARTS’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(885) : error C2011: ’PROGRESSPARTS’ : ’enum’ type redefinition z:\3rdParty\Prof-UIS\Include\Tmschema.h(716) : see declaration of ’PROGRESSPARTS’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(933) : error C2011: ’REBARPARTS’ : ’enum’ type redefinition z:\3rdParty\Prof-UIS\Include\Tmschema.h(600) : see declaration of ’REBARPARTS’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(946) : error C2011: ’CHEVRONSTATES’ : ’enum’ type redefinition z:\3rdParty\Prof-UIS\Include\Tmschema.h(608) : see declaration of ’CHEVRONSTATES’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(977) : error C2011: ’SCROLLBARPARTS’ : ’enum’ type redefinition z:\3rdParty\Prof-UIS\Include\Tmschema.h(989) : see declaration of ’SCROLLBARPARTS’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(992) : error C2011: ’ARROWBTNSTATES’ : ’enum’ type redefinition z:\3rdParty\Prof-UIS\Include\Tmschema.h(1004) : see declaration of ’ARROWBTNSTATES’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1016) : error C2365: ’SCRBS_NORMAL’ : redefinition; previous definition was a ’enumerator’ z:\3rdParty\Prof-UIS\Include\Tmschema.h(1028) : see declaration of ’SCRBS_NORMAL’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1017) : error C2365: ’SCRBS_HOT’ : redefinition; previous definition was a ’enumerator’ z:\3rdParty\Prof-UIS\Include\Tmschema.h(1029) : see declaration of ’SCRBS_HOT’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1018) : error C2365: ’SCRBS_PRESSED’ : redefinition; previous definition was a ’enumerator’ z:\3rdParty\Prof-UIS\Include\Tmschema.h(1030) : see declaration of ’SCRBS_PRESSED’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1019) : error C2365: ’SCRBS_DISABLED’ : redefinition; previous definition was a ’enumerator’ z:\3rdParty\Prof-UIS\Include\Tmschema.h(1031) : see declaration of ’SCRBS_DISABLED’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1023) : error C2011: ’SIZEBOXSTATES’ : ’enum’ type redefinition z:\3rdParty\Prof-UIS\Include\Tmschema.h(1034) : see declaration of ’SIZEBOXSTATES’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1041) : error C2011: ’SPINPARTS’ : ’enum’ type redefinition z:\3rdParty\Prof-UIS\Include\Tmschema.h(939) : see declaration of ’SPINPARTS’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1050) : error C2011: ’UPSTATES’ : ’enum’ type redefinition z:\3rdParty\Prof-UIS\Include\Tmschema.h(946) : see declaration of ’UPSTATES’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1057) : error C2011: ’DOWNSTATES’ : ’enum’ type redefinition z:\3rdParty\Prof-UIS\Include\Tmschema.h(953) : see declaration of ’DOWNSTATES’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1064) : error C2011: ’UPHORZSTATES’ : ’enum’ type redefinition z:\3rdParty\Prof-UIS\Include\Tmschema.h(960) : see declaration of ’UPHORZSTATES’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1071) : error C2011: ’DOWNHORZSTATES’ : ’enum’ type redefinition z:\3rdParty\Prof-UIS\Include\Tmschema.h(967) : see declaration of ’DOWNHORZSTATES’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1085) : error C2011: ’STATUSPARTS’ : ’enum’ type redefinition z:\3rdParty\Prof-UIS\Include\Tmschema.h(638) : see declaration of ’STATUSPARTS’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1100) : error C2011: ’TABPARTS’ : ’enum’ type redefinition z:\3rdParty\Prof-UIS\Include\Tmschema.h(726) : see declaration of ’TABPARTS’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1116) : error C2011: ’TABITEMSTATES’ : ’enum’ type redefinition z:\3rdParty\Prof-UIS\Include\Tmschema.h(739) : see declaration of ’TABITEMSTATES’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1124) : error C2011: ’TABITEMLEFTEDGESTATES’ : ’enum’ type redefinition z:\3rdParty\Prof-UIS\Include\Tmschema.h(747) : see declaration of ’TABITEMLEFTEDGESTATES’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1132) : error C2011: ’TABITEMRIGHTEDGESTATES’ : ’enum’ type redefinition z:\3rdParty\Prof-UIS\Include\Tmschema.h(755) : see declaration of ’TABITEMRIGHTEDGESTATES’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1141) : error C2365: ’TIBES_NORMAL’ : redefinition; previous definition was a ’enumerator’ z:\3rdParty\Prof-UIS\Include\Tmschema.h(764) : see declaration of ’TIBES_NORMAL’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1142) : error C2365: ’TIBES_HOT’ : redefinition; previous definition was a ’enumerator’ z:\3rdParty\Prof-UIS\Include\Tmschema.h(765) : see declaration of ’TIBES_HOT’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1143) : error C2365: ’TIBES_SELECTED’ : redefinition; previous definition was a ’enumerator’ z:\3rdParty\Prof-UIS\Include\Tmschema.h(766) : see declaration of ’TIBES_SELECTED’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1144) : error C2365: ’TIBES_DISABLED’ : redefinition; previous definition was a ’enumerator’ z:\3rdParty\Prof-UIS\Include\Tmschema.h(767) : see declaration of ’TIBES_DISABLED’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1145) : error C2365: ’TIBES_FOCUSED’ : redefinition; previous definition was a ’enumerator’ z:\3rdParty\Prof-UIS\Include\Tmschema.h(768) : see declaration of ’TIBES_FOCUSED’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1148) : error C2011: ’TOPTABITEMSTATES’ : ’enum’ type redefinition z:\3rdParty\Prof-UIS\Include\Tmschema.h(771) : see declaration of ’TOPTABITEMSTATES’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1156) : error C2011: ’TOPTABITEMLEFTEDGESTATES’ : ’enum’ type redefinition z:\3rdParty\Prof-UIS\Include\Tmschema.h(779) : see declaration of ’TOPTABITEMLEFTEDGESTATES’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1164) : error C2011: ’TOPTABITEMRIGHTEDGESTATES’ : ’enum’ type redefinition z:\3rdParty\Prof-UIS\Include\Tmschema.h(787) : see declaration of ’TOPTABITEMRIGHTEDGESTATES’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1173) : error C2365: ’TTIBES_NORMAL’ : redefinition; previous definition was a ’enumerator’ z:\3rdParty\Prof-UIS\Include\Tmschema.h(796) : see declaration of ’TTIBES_NORMAL’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1174) : error C2365: ’TTIBES_HOT’ : redefinition; previous definition was a ’enumerator’ z:\3rdParty\Prof-UIS\Include\Tmschema.h(797) : see declaration of ’TTIBES_HOT’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1175) : error C2365: ’TTIBES_SELECTED’ : redefinition; previous definition was a ’enumerator’ z:\3rdParty\Prof-UIS\Include\Tmschema.h(798) : see declaration of ’TTIBES_SELECTED’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1176) : error C2365: ’TTIBES_DISABLED’ : redefinition; previous definition was a ’enumerator’ z:\3rdParty\Prof-UIS\Include\Tmschema.h(799) : see declaration of ’TTIBES_DISABLED’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1177) : error C2365: ’TTIBES_FOCUSED’ : redefinition; previous definition was a ’enumerator’ z:\3rdParty\Prof-UIS\Include\Tmschema.h(800) : see declaration of ’TTIBES_FOCUSED’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1263) : error C2011: ’TOOLBARPARTS’ : ’enum’ type redefinition z:\3rdParty\Prof-UIS\Include\Tmschema.h(617) : see declaration of ’TOOLBARPARTS’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1275) : error C2365: ’TS_NORMAL’ : redefinition; previous definition was a ’enumerator’ z:\3rdParty\Prof-UIS\Include\Tmschema.h(627) : see declaration of ’TS_NORMAL’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1276) : error C2365: ’TS_HOT’ : redefinition; previous definition was a ’enumerator’ z:\3rdParty\Prof-UIS\Include\Tmschema.h(628) : see declaration of ’TS_HOT’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1277) : error C2365: ’TS_PRESSED’ : redefinition; previous definition was a ’enumerator’ z:\3rdParty\Prof-UIS\Include\Tmschema.h(629) : see declaration of ’TS_PRESSED’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1278) : error C2365: ’TS_DISABLED’ : redefinition; previous definition was a ’enumerator’ z:\3rdParty\Prof-UIS\Include\Tmschema.h(630) : see declaration of ’TS_DISABLED’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1279) : error C2365: ’TS_CHECKED’ : redefinition; previous definition was a ’enumerator’ z:\3rdParty\Prof-UIS\Include\Tmschema.h(631) : see declaration of ’TS_CHECKED’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1280) : error C2365: ’TS_HOTCHECKED’ : redefinition; previous definition was a ’enumerator’ z:\3rdParty\Prof-UIS\Include\Tmschema.h(632) : see declaration of ’TS_HOTCHECKED’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1292) : error C2011: ’TOOLTIPPARTS’ : ’enum’ type redefinition z:\3rdParty\Prof-UIS\Include\Tmschema.h(890) : see declaration of ’TOOLTIPPARTS’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1303) : error C2011: ’CLOSESTATES’ : ’enum’ type redefinition z:\3rdParty\Prof-UIS\Include\Tmschema.h(898) : see declaration of ’CLOSESTATES’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1309) : error C2011: ’STANDARDSTATES’ : ’enum’ type redefinition z:\3rdParty\Prof-UIS\Include\Tmschema.h(904) : see declaration of ’STANDARDSTATES’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1314) : error C2011: ’BALLOONSTATES’ : ’enum’ type redefinition z:\3rdParty\Prof-UIS\Include\Tmschema.h(909) : see declaration of ’BALLOONSTATES’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1335) : error C2011: ’TRACKBARPARTS’ : ’enum’ type redefinition z:\3rdParty\Prof-UIS\Include\Tmschema.h(806) : see declaration of ’TRACKBARPARTS’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1351) : error C2365: ’TKS_NORMAL’ : redefinition; previous definition was a ’enumerator’ z:\3rdParty\Prof-UIS\Include\Tmschema.h(820) : see declaration of ’TKS_NORMAL’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1354) : error C2011: ’TRACKSTATES’ : ’enum’ type redefinition z:\3rdParty\Prof-UIS\Include\Tmschema.h(823) : see declaration of ’TRACKSTATES’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1358) : error C2011: ’TRACKVERTSTATES’ : ’enum’ type redefinition z:\3rdParty\Prof-UIS\Include\Tmschema.h(827) : see declaration of ’TRACKVERTSTATES’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1362) : error C2011: ’THUMBSTATES’ : ’enum’ type redefinition z:\3rdParty\Prof-UIS\Include\Tmschema.h(831) : see declaration of ’THUMBSTATES’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1370) : error C2011: ’THUMBBOTTOMSTATES’ : ’enum’ type redefinition z:\3rdParty\Prof-UIS\Include\Tmschema.h(839) : see declaration of ’THUMBBOTTOMSTATES’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1378) : error C2011: ’THUMBTOPSTATES’ : ’enum’ type redefinition z:\3rdParty\Prof-UIS\Include\Tmschema.h(847) : see declaration of ’THUMBTOPSTATES’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1386) : error C2011: ’THUMBVERTSTATES’ : ’enum’ type redefinition z:\3rdParty\Prof-UIS\Include\Tmschema.h(855) : see declaration of ’THUMBVERTSTATES’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1394) : error C2011: ’THUMBLEFTSTATES’ : ’enum’ type redefinition z:\3rdParty\Prof-UIS\Include\Tmschema.h(863) : see declaration of ’THUMBLEFTSTATES’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1402) : error C2011: ’THUMBRIGHTSTATES’ : ’enum’ type redefinition z:\3rdParty\Prof-UIS\Include\Tmschema.h(871) : see declaration of ’THUMBRIGHTSTATES’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1410) : error C2011: ’TICSSTATES’ : ’enum’ type redefinition z:\3rdParty\Prof-UIS\Include\Tmschema.h(879) : see declaration of ’TICSSTATES’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1414) : error C2011: ’TICSVERTSTATES’ : ’enum’ type redefinition z:\3rdParty\Prof-UIS\Include\Tmschema.h(883) : see declaration of ’TICSVERTSTATES’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1425) : error C2011: ’TREEVIEWPARTS’ : ’enum’ type redefinition z:\3rdParty\Prof-UIS\Include\Tmschema.h(917) : see declaration of ’TREEVIEWPARTS’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1434) : error C2011: ’TREEITEMSTATES’ : ’enum’ type redefinition z:\3rdParty\Prof-UIS\Include\Tmschema.h(923) : see declaration of ’TREEITEMSTATES’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1443) : error C2011: ’GLYPHSTATES’ : ’enum’ type redefinition z:\3rdParty\Prof-UIS\Include\Tmschema.h(931) : see declaration of ’GLYPHSTATES’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1460) : error C2011: ’WINDOWPARTS’ : ’enum’ type redefinition z:\3rdParty\Prof-UIS\Include\Tmschema.h(410) : see declaration of ’WINDOWPARTS’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1503) : error C2011: ’FRAMESTATES’ : ’enum’ type redefinition z:\3rdParty\Prof-UIS\Include\Tmschema.h(454) : see declaration of ’FRAMESTATES’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1508) : error C2011: ’CAPTIONSTATES’ : ’enum’ type redefinition z:\3rdParty\Prof-UIS\Include\Tmschema.h(459) : see declaration of ’CAPTIONSTATES’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1514) : error C2011: ’MAXCAPTIONSTATES’ : ’enum’ type redefinition z:\3rdParty\Prof-UIS\Include\Tmschema.h(465) : see declaration of ’MAXCAPTIONSTATES’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1520) : error C2011: ’MINCAPTIONSTATES’ : ’enum’ type redefinition z:\3rdParty\Prof-UIS\Include\Tmschema.h(471) : see declaration of ’MINCAPTIONSTATES’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1526) : error C2011: ’HORZSCROLLSTATES’ : ’enum’ type redefinition z:\3rdParty\Prof-UIS\Include\Tmschema.h(477) : see declaration of ’HORZSCROLLSTATES’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1533) : error C2011: ’HORZTHUMBSTATES’ : ’enum’ type redefinition z:\3rdParty\Prof-UIS\Include\Tmschema.h(484) : see declaration of ’HORZTHUMBSTATES’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1540) : error C2011: ’VERTSCROLLSTATES’ : ’enum’ type redefinition z:\3rdParty\Prof-UIS\Include\Tmschema.h(491) : see declaration of ’VERTSCROLLSTATES’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1547) : error C2011: ’VERTTHUMBSTATES’ : ’enum’ type redefinition z:\3rdParty\Prof-UIS\Include\Tmschema.h(498) : see declaration of ’VERTTHUMBSTATES’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1554) : error C2011: ’SYSBUTTONSTATES’ : ’enum’ type redefinition z:\3rdParty\Prof-UIS\Include\Tmschema.h(505) : see declaration of ’SYSBUTTONSTATES’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1561) : error C2011: ’MINBUTTONSTATES’ : ’enum’ type redefinition z:\3rdParty\Prof-UIS\Include\Tmschema.h(512) : see declaration of ’MINBUTTONSTATES’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1568) : error C2011: ’MAXBUTTONSTATES’ : ’enum’ type redefinition z:\3rdParty\Prof-UIS\Include\Tmschema.h(519) : see declaration of ’MAXBUTTONSTATES’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1575) : error C2011: ’RESTOREBUTTONSTATES’ : ’enum’ type redefinition z:\3rdParty\Prof-UIS\Include\Tmschema.h(526) : see declaration of ’RESTOREBUTTONSTATES’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1582) : error C2011: ’HELPBUTTONSTATES’ : ’enum’ type redefinition z:\3rdParty\Prof-UIS\Include\Tmschema.h(533) : see declaration of ’HELPBUTTONSTATES’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1582) : fatal error C1003: error count exceeds 100; stopping compilation
|
|
Offer Har
|
Nov 16, 2006 - 10:55 AM
|
If i remove Tmschema.h from Prof-UIS\Include, i get these errors:
Compiling... stdafx.cpp Prof-UIS multiple monitor support: built-in Automatically linking with Prof-UIS library: ProfUIS262md.lib (Professional User Interface Suite) z:\3rdParty\Prof-UIS\Include\vsstyle.h(53) : error C2011: ’BUTTONPARTS’ : ’enum’ type redefinition c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\Tmschema.h(550) : see declaration of ’BUTTONPARTS’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(65) : error C2011: ’PUSHBUTTONSTATES’ : ’enum’ type redefinition c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\Tmschema.h(558) : see declaration of ’PUSHBUTTONSTATES’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(74) : error C2011: ’RADIOBUTTONSTATES’ : ’enum’ type redefinition c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\Tmschema.h(566) : see declaration of ’RADIOBUTTONSTATES’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(85) : error C2011: ’CHECKBOXSTATES’ : ’enum’ type redefinition c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\Tmschema.h(577) : see declaration of ’CHECKBOXSTATES’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(108) : error C2011: ’GROUPBOXSTATES’ : ’enum’ type redefinition c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\Tmschema.h(592) : see declaration of ’GROUPBOXSTATES’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(137) : error C2011: ’COMBOBOXPARTS’ : ’enum’ type redefinition c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\Tmschema.h(1056) : see declaration of ’COMBOBOXPARTS’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(151) : error C2365: ’CBXS_NORMAL’ : redefinition; previous definition was a ’enumerator’ c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\Tmschema.h(1061) : see declaration of ’CBXS_NORMAL’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(152) : error C2365: ’CBXS_HOT’ : redefinition; previous definition was a ’enumerator’ c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\Tmschema.h(1062) : see declaration of ’CBXS_HOT’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(153) : error C2365: ’CBXS_PRESSED’ : redefinition; previous definition was a ’enumerator’ c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\Tmschema.h(1063) : see declaration of ’CBXS_PRESSED’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(154) : error C2365: ’CBXS_DISABLED’ : redefinition; previous definition was a ’enumerator’ c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\Tmschema.h(1064) : see declaration of ’CBXS_DISABLED’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(368) : error C2011: ’EDITPARTS’ : ’enum’ type redefinition c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\Tmschema.h(1038) : see declaration of ’EDITPARTS’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(382) : error C2011: ’EDITTEXTSTATES’ : ’enum’ type redefinition c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\Tmschema.h(1043) : see declaration of ’EDITTEXTSTATES’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(444) : error C2011: ’EXPLORERBARPARTS’ : ’enum’ type redefinition c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\Tmschema.h(1141) : see declaration of ’EXPLORERBARPARTS’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(461) : error C2011: ’HEADERCLOSESTATES’ : ’enum’ type redefinition c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\Tmschema.h(1156) : see declaration of ’HEADERCLOSESTATES’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(467) : error C2011: ’HEADERPINSTATES’ : ’enum’ type redefinition c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\Tmschema.h(1162) : see declaration of ’HEADERPINSTATES’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(476) : error C2011: ’IEBARMENUSTATES’ : ’enum’ type redefinition c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\Tmschema.h(1171) : see declaration of ’IEBARMENUSTATES’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(482) : error C2011: ’NORMALGROUPCOLLAPSESTATES’ : ’enum’ type redefinition c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\Tmschema.h(1177) : see declaration of ’NORMALGROUPCOLLAPSESTATES’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(488) : error C2011: ’NORMALGROUPEXPANDSTATES’ : ’enum’ type redefinition c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\Tmschema.h(1183) : see declaration of ’NORMALGROUPEXPANDSTATES’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(494) : error C2011: ’SPECIALGROUPCOLLAPSESTATES’ : ’enum’ type redefinition c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\Tmschema.h(1189) : see declaration of ’SPECIALGROUPCOLLAPSESTATES’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(500) : error C2011: ’SPECIALGROUPEXPANDSTATES’ : ’enum’ type redefinition c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\Tmschema.h(1195) : see declaration of ’SPECIALGROUPEXPANDSTATES’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(555) : error C2011: ’HEADERPARTS’ : ’enum’ type redefinition c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\Tmschema.h(684) : see declaration of ’HEADERPARTS’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(572) : error C2011: ’HEADERITEMSTATES’ : ’enum’ type redefinition c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\Tmschema.h(691) : see declaration of ’HEADERITEMSTATES’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(587) : error C2011: ’HEADERITEMLEFTSTATES’ : ’enum’ type redefinition c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\Tmschema.h(697) : see declaration of ’HEADERITEMLEFTSTATES’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(593) : error C2011: ’HEADERITEMRIGHTSTATES’ : ’enum’ type redefinition c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\Tmschema.h(703) : see declaration of ’HEADERITEMRIGHTSTATES’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(599) : error C2011: ’HEADERSORTARROWSTATES’ : ’enum’ type redefinition c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\Tmschema.h(709) : see declaration of ’HEADERSORTARROWSTATES’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(680) : error C2011: ’LISTVIEWPARTS’ : ’enum’ type redefinition c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\Tmschema.h(665) : see declaration of ’LISTVIEWPARTS’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(695) : error C2011: ’LISTITEMSTATES’ : ’enum’ type redefinition c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\Tmschema.h(673) : see declaration of ’LISTITEMSTATES’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(761) : error C2011: ’MENUPARTS’ : ’enum’ type redefinition c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\Tmschema.h(647) : see declaration of ’MENUPARTS’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(885) : error C2011: ’PROGRESSPARTS’ : ’enum’ type redefinition c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\Tmschema.h(716) : see declaration of ’PROGRESSPARTS’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(933) : error C2011: ’REBARPARTS’ : ’enum’ type redefinition c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\Tmschema.h(600) : see declaration of ’REBARPARTS’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(946) : error C2011: ’CHEVRONSTATES’ : ’enum’ type redefinition c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\Tmschema.h(608) : see declaration of ’CHEVRONSTATES’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(977) : error C2011: ’SCROLLBARPARTS’ : ’enum’ type redefinition c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\Tmschema.h(989) : see declaration of ’SCROLLBARPARTS’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(992) : error C2011: ’ARROWBTNSTATES’ : ’enum’ type redefinition c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\Tmschema.h(1004) : see declaration of ’ARROWBTNSTATES’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1016) : error C2365: ’SCRBS_NORMAL’ : redefinition; previous definition was a ’enumerator’ c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\Tmschema.h(1024) : see declaration of ’SCRBS_NORMAL’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1017) : error C2365: ’SCRBS_HOT’ : redefinition; previous definition was a ’enumerator’ c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\Tmschema.h(1025) : see declaration of ’SCRBS_HOT’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1018) : error C2365: ’SCRBS_PRESSED’ : redefinition; previous definition was a ’enumerator’ c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\Tmschema.h(1026) : see declaration of ’SCRBS_PRESSED’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1019) : error C2365: ’SCRBS_DISABLED’ : redefinition; previous definition was a ’enumerator’ c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\Tmschema.h(1027) : see declaration of ’SCRBS_DISABLED’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1023) : error C2011: ’SIZEBOXSTATES’ : ’enum’ type redefinition c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\Tmschema.h(1030) : see declaration of ’SIZEBOXSTATES’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1041) : error C2011: ’SPINPARTS’ : ’enum’ type redefinition c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\Tmschema.h(939) : see declaration of ’SPINPARTS’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1050) : error C2011: ’UPSTATES’ : ’enum’ type redefinition c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\Tmschema.h(946) : see declaration of ’UPSTATES’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1057) : error C2011: ’DOWNSTATES’ : ’enum’ type redefinition c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\Tmschema.h(953) : see declaration of ’DOWNSTATES’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1064) : error C2011: ’UPHORZSTATES’ : ’enum’ type redefinition c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\Tmschema.h(960) : see declaration of ’UPHORZSTATES’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1071) : error C2011: ’DOWNHORZSTATES’ : ’enum’ type redefinition c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\Tmschema.h(967) : see declaration of ’DOWNHORZSTATES’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1085) : error C2011: ’STATUSPARTS’ : ’enum’ type redefinition c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\Tmschema.h(638) : see declaration of ’STATUSPARTS’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1100) : error C2011: ’TABPARTS’ : ’enum’ type redefinition c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\Tmschema.h(726) : see declaration of ’TABPARTS’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1116) : error C2011: ’TABITEMSTATES’ : ’enum’ type redefinition c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\Tmschema.h(739) : see declaration of ’TABITEMSTATES’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1124) : error C2011: ’TABITEMLEFTEDGESTATES’ : ’enum’ type redefinition c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\Tmschema.h(747) : see declaration of ’TABITEMLEFTEDGESTATES’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1132) : error C2011: ’TABITEMRIGHTEDGESTATES’ : ’enum’ type redefinition c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\Tmschema.h(755) : see declaration of ’TABITEMRIGHTEDGESTATES’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1141) : error C2365: ’TIBES_NORMAL’ : redefinition; previous definition was a ’enumerator’ c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\Tmschema.h(764) : see declaration of ’TIBES_NORMAL’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1142) : error C2365: ’TIBES_HOT’ : redefinition; previous definition was a ’enumerator’ c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\Tmschema.h(765) : see declaration of ’TIBES_HOT’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1143) : error C2365: ’TIBES_SELECTED’ : redefinition; previous definition was a ’enumerator’ c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\Tmschema.h(766) : see declaration of ’TIBES_SELECTED’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1144) : error C2365: ’TIBES_DISABLED’ : redefinition; previous definition was a ’enumerator’ c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\Tmschema.h(767) : see declaration of ’TIBES_DISABLED’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1145) : error C2365: ’TIBES_FOCUSED’ : redefinition; previous definition was a ’enumerator’ c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\Tmschema.h(768) : see declaration of ’TIBES_FOCUSED’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1148) : error C2011: ’TOPTABITEMSTATES’ : ’enum’ type redefinition c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\Tmschema.h(771) : see declaration of ’TOPTABITEMSTATES’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1156) : error C2011: ’TOPTABITEMLEFTEDGESTATES’ : ’enum’ type redefinition c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\Tmschema.h(779) : see declaration of ’TOPTABITEMLEFTEDGESTATES’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1164) : error C2011: ’TOPTABITEMRIGHTEDGESTATES’ : ’enum’ type redefinition c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\Tmschema.h(787) : see declaration of ’TOPTABITEMRIGHTEDGESTATES’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1173) : error C2365: ’TTIBES_NORMAL’ : redefinition; previous definition was a ’enumerator’ c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\Tmschema.h(796) : see declaration of ’TTIBES_NORMAL’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1174) : error C2365: ’TTIBES_HOT’ : redefinition; previous definition was a ’enumerator’ c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\Tmschema.h(797) : see declaration of ’TTIBES_HOT’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1175) : error C2365: ’TTIBES_SELECTED’ : redefinition; previous definition was a ’enumerator’ c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\Tmschema.h(798) : see declaration of ’TTIBES_SELECTED’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1176) : error C2365: ’TTIBES_DISABLED’ : redefinition; previous definition was a ’enumerator’ c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\Tmschema.h(799) : see declaration of ’TTIBES_DISABLED’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1177) : error C2365: ’TTIBES_FOCUSED’ : redefinition; previous definition was a ’enumerator’ c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\Tmschema.h(800) : see declaration of ’TTIBES_FOCUSED’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1263) : error C2011: ’TOOLBARPARTS’ : ’enum’ type redefinition c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\Tmschema.h(617) : see declaration of ’TOOLBARPARTS’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1275) : error C2365: ’TS_NORMAL’ : redefinition; previous definition was a ’enumerator’ c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\Tmschema.h(627) : see declaration of ’TS_NORMAL’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1276) : error C2365: ’TS_HOT’ : redefinition; previous definition was a ’enumerator’ c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\Tmschema.h(628) : see declaration of ’TS_HOT’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1277) : error C2365: ’TS_PRESSED’ : redefinition; previous definition was a ’enumerator’ c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\Tmschema.h(629) : see declaration of ’TS_PRESSED’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1278) : error C2365: ’TS_DISABLED’ : redefinition; previous definition was a ’enumerator’ c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\Tmschema.h(630) : see declaration of ’TS_DISABLED’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1279) : error C2365: ’TS_CHECKED’ : redefinition; previous definition was a ’enumerator’ c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\Tmschema.h(631) : see declaration of ’TS_CHECKED’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1280) : error C2365: ’TS_HOTCHECKED’ : redefinition; previous definition was a ’enumerator’ c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\Tmschema.h(632) : see declaration of ’TS_HOTCHECKED’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1292) : error C2011: ’TOOLTIPPARTS’ : ’enum’ type redefinition c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\Tmschema.h(890) : see declaration of ’TOOLTIPPARTS’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1303) : error C2011: ’CLOSESTATES’ : ’enum’ type redefinition c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\Tmschema.h(898) : see declaration of ’CLOSESTATES’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1309) : error C2011: ’STANDARDSTATES’ : ’enum’ type redefinition c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\Tmschema.h(904) : see declaration of ’STANDARDSTATES’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1314) : error C2011: ’BALLOONSTATES’ : ’enum’ type redefinition c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\Tmschema.h(909) : see declaration of ’BALLOONSTATES’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1335) : error C2011: ’TRACKBARPARTS’ : ’enum’ type redefinition c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\Tmschema.h(806) : see declaration of ’TRACKBARPARTS’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1351) : error C2365: ’TKS_NORMAL’ : redefinition; previous definition was a ’enumerator’ c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\Tmschema.h(820) : see declaration of ’TKS_NORMAL’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1354) : error C2011: ’TRACKSTATES’ : ’enum’ type redefinition c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\Tmschema.h(823) : see declaration of ’TRACKSTATES’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1358) : error C2011: ’TRACKVERTSTATES’ : ’enum’ type redefinition c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\Tmschema.h(827) : see declaration of ’TRACKVERTSTATES’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1362) : error C2011: ’THUMBSTATES’ : ’enum’ type redefinition c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\Tmschema.h(831) : see declaration of ’THUMBSTATES’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1370) : error C2011: ’THUMBBOTTOMSTATES’ : ’enum’ type redefinition c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\Tmschema.h(839) : see declaration of ’THUMBBOTTOMSTATES’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1378) : error C2011: ’THUMBTOPSTATES’ : ’enum’ type redefinition c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\Tmschema.h(847) : see declaration of ’THUMBTOPSTATES’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1386) : error C2011: ’THUMBVERTSTATES’ : ’enum’ type redefinition c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\Tmschema.h(855) : see declaration of ’THUMBVERTSTATES’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1394) : error C2011: ’THUMBLEFTSTATES’ : ’enum’ type redefinition c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\Tmschema.h(863) : see declaration of ’THUMBLEFTSTATES’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1402) : error C2011: ’THUMBRIGHTSTATES’ : ’enum’ type redefinition c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\Tmschema.h(871) : see declaration of ’THUMBRIGHTSTATES’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1410) : error C2011: ’TICSSTATES’ : ’enum’ type redefinition c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\Tmschema.h(879) : see declaration of ’TICSSTATES’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1414) : error C2011: ’TICSVERTSTATES’ : ’enum’ type redefinition c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\Tmschema.h(883) : see declaration of ’TICSVERTSTATES’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1425) : error C2011: ’TREEVIEWPARTS’ : ’enum’ type redefinition c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\Tmschema.h(917) : see declaration of ’TREEVIEWPARTS’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1434) : error C2011: ’TREEITEMSTATES’ : ’enum’ type redefinition c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\Tmschema.h(923) : see declaration of ’TREEITEMSTATES’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1443) : error C2011: ’GLYPHSTATES’ : ’enum’ type redefinition c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\Tmschema.h(931) : see declaration of ’GLYPHSTATES’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1460) : error C2011: ’WINDOWPARTS’ : ’enum’ type redefinition c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\Tmschema.h(410) : see declaration of ’WINDOWPARTS’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1503) : error C2011: ’FRAMESTATES’ : ’enum’ type redefinition c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\Tmschema.h(454) : see declaration of ’FRAMESTATES’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1508) : error C2011: ’CAPTIONSTATES’ : ’enum’ type redefinition c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\Tmschema.h(459) : see declaration of ’CAPTIONSTATES’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1514) : error C2011: ’MAXCAPTIONSTATES’ : ’enum’ type redefinition c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\Tmschema.h(465) : see declaration of ’MAXCAPTIONSTATES’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1520) : error C2011: ’MINCAPTIONSTATES’ : ’enum’ type redefinition c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\Tmschema.h(471) : see declaration of ’MINCAPTIONSTATES’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1526) : error C2011: ’HORZSCROLLSTATES’ : ’enum’ type redefinition c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\Tmschema.h(477) : see declaration of ’HORZSCROLLSTATES’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1533) : error C2011: ’HORZTHUMBSTATES’ : ’enum’ type redefinition c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\Tmschema.h(484) : see declaration of ’HORZTHUMBSTATES’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1540) : error C2011: ’VERTSCROLLSTATES’ : ’enum’ type redefinition c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\Tmschema.h(491) : see declaration of ’VERTSCROLLSTATES’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1547) : error C2011: ’VERTTHUMBSTATES’ : ’enum’ type redefinition c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\Tmschema.h(498) : see declaration of ’VERTTHUMBSTATES’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1554) : error C2011: ’SYSBUTTONSTATES’ : ’enum’ type redefinition c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\Tmschema.h(505) : see declaration of ’SYSBUTTONSTATES’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1561) : error C2011: ’MINBUTTONSTATES’ : ’enum’ type redefinition c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\Tmschema.h(512) : see declaration of ’MINBUTTONSTATES’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1568) : error C2011: ’MAXBUTTONSTATES’ : ’enum’ type redefinition c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\Tmschema.h(519) : see declaration of ’MAXBUTTONSTATES’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1575) : error C2011: ’RESTOREBUTTONSTATES’ : ’enum’ type redefinition c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\Tmschema.h(526) : see declaration of ’RESTOREBUTTONSTATES’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1582) : error C2011: ’HELPBUTTONSTATES’ : ’enum’ type redefinition c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\Tmschema.h(533) : see declaration of ’HELPBUTTONSTATES’ z:\3rdParty\Prof-UIS\Include\vsstyle.h(1582) : fatal error C1003: error count exceeds 100; stopping compilation
|
|
Technical Support
|
Nov 16, 2006 - 12:05 PM
|
Please download the latest source code (Nov 16, size 12,269,659 b). There should be a new subfolder vssym32 with two header files in the ../Prof-UIS/Include folder.
|
|
Offer Har
|
Nov 16, 2006 - 12:30 PM
|
|
|
Andreas Werner
|
Nov 16, 2006 - 9:16 AM
|
Hello,
I am using a CExtGridWnd and a CExtPropertyGridCtrl in the same application. The scrollbars of the CExtPropertyGridCtrl are themed but the scrollbars of the CExtGridWnd are not. I thought both widgets shouled support themed scrollbars as both dirive from the CExtScrollWnd class.
How can I make the scrollbars of both widgets look the same?
With best regard Andreas
|
|
Technical Support
|
Nov 16, 2006 - 1:35 PM
|
|
|
Andreas Werner
|
Nov 17, 2006 - 1:03 AM
|
Dear support team,
thank you for your answer. That is what I was looking for.
With best regards Andreas Werner
|
|
Suhai Gyorgy
|
Nov 16, 2006 - 5:10 AM
|
Dear Support, I’m using CExtPropertyCtrl that I integrated into your FormEditor sample. One of my property stores have a property value that uses CExtGridCellFileImage cell. When I press the "..." button in the cell to open an icon file, and after that I return from the OpenFileDialog pressing OK, I get an assertion. Call stack (using ProfUIS v2.55): > FormEditor.exe!CSimpleException::GetErrorMessage(wchar_t * lpszError=0x01827ba8, unsigned int nMaxError=0, unsigned int * pnHelpContext=0x0012e874) Line 196 + 0x2a C++ FormEditor.exe!CExtGridCellFile::OnButtonPressed(CExtGridWnd & wndGrid={...}, int nButtonType=0, const tagRECT & rcCellExtra={...}, const tagRECT & rcCell={...}, long nVisibleColNo=1, long nVisibleRowNo=2, long nColNo=1, long nRowNo=2, int nColType=0, int nRowType=0) Line 30528 + 0x43 C++ Your OnButtonPressed method (partial): if( dlgFileDialog.DoModal() == IDOK )
{
TextSet( LPCTSTR(dlgFileDialog.GetPathName()) ); // <--- from here into GetErrorMessage
...
}
When I was debugging and stopped in your code just before the assertion, I saw that I get into this GetErrorMessage method right after returning from LPCTSTR() but before getting into TextSet. My main question: What could be the reason here to get into this GetErrorMessage method? Since my code grew to be quite big, I tried to put as little as neccesary into your original FormEditor sample to reproduce the bug, but (developer’s worst nightmare) that version worked flowlessly. I might try to strip down my code, but it’d be a big job, and you might know the solution to my problem without me having to go through that hassle (espacially that I’m afraid I end up with a working version again). Thank you, Chris
|
|
Technical Support
|
Nov 16, 2006 - 11:53 AM
|
We failed to reproduce the problem by adding the following code at the end of the CStarButton::GetPropertyStore() method in the PropertyGrid sample: CExtPropertyValue * pValFileImage = new CExtPropertyValue( _T("FileImage") );
pValFileImage->NameSet( _T("FileImage.") );
pValFileImage->DescriptionSet( _T("FileImage.") );
CExtGridCellFileImage * pCellFileImage =
STATIC_DOWNCAST(
CExtGridCellFileImage,
pValFileImage->ValueDefaultGetByRTC(
RUNTIME_CLASS( CExtGridCellFileImage )
)
);
pCellFileImage;
pValFileImage->ValueActiveFromDefault();
pCategoryMisc->ItemInsert(
pValFileImage
); If the problem occurs on one computer only, please try finding out what’s special with this computer. If the problem persists on more than one computer, would you send a test project to us?
|
|
Suhai Gyorgy
|
Nov 17, 2006 - 2:26 AM
|
The problem persists on another computer as well. Making a test-project that has the same problem might take me a while, though. In the meanwhile I would like to ask something different that may not to do anything with the above problem, but could solve another of my problems: As I mentioned above, I heavily modified your FormEditor sample for my own needs. But a struct named DOC_ITEM_DATA is still used, and I even added a CExtPropertyStore *m_pPS tag to it, as you suggested in your PropertyGrid-Walkthrough. Since my Document-based class has a CArray < DOC_ITEM_DATA, DOC_ITEM_DATA & > member and CArray needs an operator = for the DOC_ITEM_DATA, you wrote this operator = method already. Now I need to add the copying of this new m_pPS member to this method, as well. What’s the proper way to do this copying? //.h
struct AFX_NOVTABLE DOC_ITEM_DATA
{
DWORD m_dwItemID;
CRect m_rcItem;
CExtPropertyStore *m_pPS;
DOC_ITEM_DATA();
...
~DOC_ITEM_DATA();
DOC_ITEM_DATA & operator=( const DOC_ITEM_DATA & other );
...
}
// .cpp
CFormEditorDoc::DOC_ITEM_DATA::DOC_ITEM_DATA()
: m_dwItemID( ID_CONTROL_POINTER )
, m_rcItem( 0, 0, 0, 0 )
, m_pPS(NULL)
{
}
CFormEditorDoc::DOC_ITEM_DATA::~DOC_ITEM_DATA()
{
if( m_pPS != NULL ) {
// Is this the right code here?
CMainFrame *pFrame = reinterpret_cast<CMainFrame *>(AfxGetMainWnd());
ASSERT_VALID(pFrame);
if (pFrame->m_wndPropertyGrid.PropertyStoreGet() == m_pPS)
pFrame->m_wndPropertyGrid.PropertyStoreSet(NULL);
m_pPS->Delete();
}
}
CFormEditorDoc::DOC_ITEM_DATA & CFormEditorDoc::DOC_ITEM_DATA::operator = (
const CFormEditorDoc::DOC_ITEM_DATA & other
)
{
m_dwItemID = other.m_dwItemID;
m_rcItem = other.m_rcItem;
m_rcItem.NormalizeRect();
if (m_pPS != NULL) {
// What shall I put here?
}
return *this;
}
|
|
Technical Support
|
Nov 17, 2006 - 12:46 PM
|
We think the CFormEditorDoc::DOC_ITEM_DATA::operator=() method should look like: CFormEditorDoc::DOC_ITEM_DATA & CFormEditorDoc::DOC_ITEM_DATA::operator = (
const CFormEditorDoc::DOC_ITEM_DATA & other
)
{
m_dwItemID = other.m_dwItemID;
m_rcItem = other.m_rcItem;
m_rcItem.NormalizeRect();
bool bSetupOwnPropertyStore = false;
CMainFrame * pFrame = (CMainFrame*)( ::AfxGetMainWnd() );
ASSERT_VALID( pFrame );
if( m_pPS != NULL )
{
if( pFrame->m_wndPropertyGrid.PropertyStoreGet() == m_pPS )
{
pFrame->m_wndPropertyGrid.PropertyStoreSet( NULL );
bSetupOwnPropertyStore = true;
}
m_pPS->Delete();
m_pPS = NULL;
}
if( other.m_pPS != NULL )
{
m_pPS = new CExtPropertyStore;
CMemFile _file;
{ BLOCK BEGIN: saving
CArchive ar( &_file, CArchive::store );
other.m_pPS->Serialize( ar );
ar.Flush();
ar.Close();
} BLOCK END: saving
_file.Seek( 0, CFile::begin );
{ BLOCK BEGIN: loading
CArchive ar( &_file, CArchive::load );
m_pPS->Serialize( ar );
} BLOCK END: loading
if( bSetupOwnPropertyStore )
pFrame->m_wndPropertyGrid.PropertyStoreSet( m_pPS );
}
return *this;
} The better and faster solution should be not based on copied CExtPropertyStore objects. You can keep all the CExtPropertyStore objects somewhere outside DOC_ITEM_DATA objects. This would allow you to assign pointers only and not to reset the property store in the property grid control.
|
|
Suhai Gyorgy
|
Nov 20, 2006 - 4:36 AM
|
I don’t exactly understand what you mean by keeping all the CExtPropertyStore objects somewhere outside DOC_ITEM_DATA objects. The problem with assigning pointers only is this: (as walkthrough suggests) in the CExtPropertyValues of the CExtPropertyStore I keep a pointer to the DOC_ITEM_DATA object to which this propertyvalue is assigned to. If in the operator = method I only assign the pointer of the propertystore to the new DOC_ITEM_DATA object, the pointers inside the propertyValues won’t point to the right DOC_ITEM_DATA. Actually this is also problem with the operator = method you showed above.
|
|
Technical Support
|
Nov 20, 2006 - 1:05 PM
|
You have N controls on the form. You should use an array of N pointers to the CExtPropertyStore objects in the view class or in the document class. This will allow you to keep the pointers inside the document item classes in a simpler way and assign only pointer values without re-creating/cloning property stores and without refreshing the property grid control on assignment.
|
|
Suhai Gyorgy
|
Nov 22, 2006 - 4:38 AM
|
I could successfully strip down my code to present the original problem I mentioned in the first message of this thread (the one with the GetErrorMessage). I’m sending it to you by e-mail.
|
|
Emmanuel Verguet
|
Nov 16, 2006 - 1:54 AM
|
Hi,
Which control can I use to add a transparent bitmap in a dialog box ?
Thanks.
|
|
Suhai Gyorgy
|
Nov 16, 2006 - 6:45 AM
|
CExtLabel is derived from CStatic which can be used to display transparent bitmap.
CExtLabel myLabel; myLabel.SetBitmap( ::LoadImage(AfxGetApp()->m_hInstance, MAKEINTRESOURCE(IDB_MYBMP), IMAGE_BITMAP, iBmpWidth, iBmpHeight, LR_LOADTRANSPARENT));
Check out MSDN on CStatic::SetBitmap and LoadImage functions.
|
|
Technical Support
|
Nov 16, 2006 - 8:54 AM
|
Alternatevely you could also use the CExtImageEditWnd control in the read-only mode.
|
|
tera t
|
Nov 16, 2006 - 1:25 AM
|
|
|
Technical Support
|
Nov 16, 2006 - 10:16 AM
|
Or you can download all these samples put into one archive file (2.36Mb).
|
|
Technical Support
|
Nov 16, 2006 - 9:49 AM
|
|
|
David Fox
|
Nov 16, 2006 - 12:26 AM
|
Hi!
We have to release the project but found issue with Win98 when using your GUI lib. I saw something similar in main forum, but there was just samples fixed link.
What do we have to fix to prevent from crashes in Win98?
Thanks!
|
|
Technical Support
|
Nov 16, 2006 - 8:30 AM
|
We recently fixed all known problems with Windows 98. Please download the latest source code from our ftp site.
|
|
Offer Har
|
Nov 15, 2006 - 7:45 PM
|
Hi,
I have a bar that in case of a fatal error in it should not be switched to another tab. How can i disable to tab switching from the code?
Thanks.
|
|
Technical Support
|
Nov 16, 2006 - 10:25 AM
|
You can override the following internal virtual methods of the CExtControlBar class to prevent one control bar from being docked to another one: virtual bool _CanDockToTabbedContainers(
CExtControlBar * pDestBar
) const;
virtual bool _CanDockLTRB(
CExtControlBar * pDestBar
) const;
|
|
Offer Har
|
Nov 16, 2006 - 10:31 AM
|
That’s not what i meant. This is the scenario:
1) I have Bar1 & Bar2 2) Bar1 & Bar2 are tabbed. 3) Bar1 is the topmost one. 4) User presses a check-box in Bar1 5) As long as this check-box is checked, Bar1 should be on top, and moving to Bar2 (by pressing its bar) should be disabled. 6) If the user un-check the check-box in Bar1, he can move freely to Bar2
Hope it is clear now...
|
|
Technical Support
|
Nov 23, 2006 - 11:59 AM
|
The disabled window state of control bars is not supported in Prof-UIS (nor in MFC). So it is not possible to prevent selection of a control bar unless it is destroyed or hidden.
|
|
Offer Har
|
Nov 23, 2006 - 12:05 PM
|
Dear Support, When i have a tabbed control, i can prevent the tab switching from happening. This is what i seek. If you cannot disable the control, at least give me a method to prevent the tab-switching to another dialog, like i can do in a tab control.
|
|
Offer Har
|
Nov 29, 2006 - 10:29 PM
|
Any idea how to solve this problem?
|
|
Technical Support
|
Nov 30, 2006 - 11:15 AM
|
This feature is not supported in Prof-UIS and it is not too easy to implement it. Besides you would have to think over some cases like a supposedly disabled control bar should be somehow disabled when the uses simply closes (hides) up all the other enabled control bars. We would put this feature in the category "custom software development".
|