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 |
|
Roongrit Charoensupkul
|
Dec 16, 2007 - 1:23 AM
|
I have a question about property category. When I create the control in this sequence:
Create CExtPropertyItem name "Symbol" Create CExtPropertyItem name "Model" Create CExtPropertyCategory name "A?" and add one item in it
I got the result in this sequence <Property Category A?> <Child property item of the category> <Property item "Symbol"> <Property item "Model">
But when I change the name of the category to be "a?" (the lower case of "A"), I got this result <Property item "Symbol"> <Property item "Model"> <Property Category a?> <Child property item of the category>
Shouldn’t the category item be the last item no matter what the name it is? Or if I want the control to be in that way, what should I do?
|
|
Suhai Gyorgy
|
Dec 17, 2007 - 1:30 AM
|
Even in CExtPropertyGridWndCategorized window, the categories and/or values can be sorted alphabetically. To turn these off, you should use this code: CExtPropertyGridWndCategorized * pGrid =
STATIC_DOWNCAST(
CExtPropertyGridWndCategorized,
m_wndPropertyGridCtrl.GetChildByRTC(
RUNTIME_CLASS(CExtPropertyGridWndCategorized)
)
);
if( pGrid != NULL ) {
pGrid->m_bSortedCategories = false;
pGrid->m_bSortedValues = false;
}
|
|