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 |
|
tera tera
|
Jul 1, 2009 - 3:13 AM
|
Hello. I want to display BMP and text 1 in a cell
Is not there the good part? 
|
|
Technical Support
|
Jul 2, 2009 - 11:58 AM
|
You should apply the __EGCS_TA_HORZ_CENTER grid cell style to make its text centered horizontally.
|
|
tera tera
|
Jul 2, 2009 - 6:24 PM
|
With __EGCS_ICA_HORZ_CENTER and __EGCS_TA_HORZ_CENTER
ICON is not displayed midmost.....
|
|
Technical Support
|
Jul 3, 2009 - 10:07 AM
|
The __EGCS_ICA_HORZ_CENTER style makes icon centered only if the text is empty. This style is for text-less grid cells.
|
|
tera tera
|
Jul 5, 2009 - 6:25 PM
|
Do not two parameters become effective? .......
|
|
Technical Support
|
Jul 6, 2009 - 2:18 AM
|
There are two sets of grid cell styles. The __EGCS_ICA_*** styles for icon alignment and the __EGCS_TA_*** styles for text alignment. They may conflict like we discussed in this forum thread. But the vertical alignment styles do not conflict. That’s why we support two independent sets of styles.
Additionally, it’s not reasonable to place an icon near cell’s text if both icon and text are center aligned. The column of such grid cells will display a lot of icons placed at different offset from the left borders of grid cells.
|
|
tera tera
|
Jul 2, 2009 - 12:56 AM
|

It was able to come true in CellString
However, it is not displayed midmost
Is not there the good method?
|
|
Technical Support
|
Jul 1, 2009 - 7:43 AM
|
Most the Prof-UIS grid cells support icons as it is demonstrated on your screenshot. You can register icons in the grid window using the CExtGridWnd::GridIconInsert() method and then assign icon indices to grid cells using the CExtGridCell::IconIndexSet() method.
|
|