Professional UI Solutions
Site Map   /  Register
 
 

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.

Forums » Prof-UIS Tech Support » About CExtPropertyCtrl 2 Collapse All
Subject Author Date
tera t Mar 18, 2008 - 7:54 PM

Hello.

With indirect cell pCellNumber, I want to change only the following item to 100.
http://www.yukai.jp/~ifreeta/20080319/image20.jpg

    CExtPropertyItem * pShitenX = new CExtPropertyValue( _T( m_csName_ShitenX ) );
    pCellNumber = STATIC_DOWNCAST( CExtGridCellNumber,
        pShitenX->ValueDefaultGetByRTC( RUNTIME_CLASS(CExtGridCellNumber) ));
    pCellNumber->_VariantAssign( 0.00 );
    pCellNumber->SetAutoNumDigits( true );

Please teach it.

Technical Support Mar 19, 2008 - 6:51 AM

You have modified the default grid cell stored in the CExtPropertyValue object. The default grid cells are never displayed in the tree grid windows inside the property grid controls. They are used for value resetting command which is available from the context menu over property values. This reset command assigns an active grid cell of the CExtPropertyValue object from the default grid cell.