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 dblVal Collapse All
Subject Author Date
tera t Mar 21, 2008 - 8:08 PM

Hello.


I want to acquire double type.

I do such how to use.

Does not how to use have any problem?


double CPKD_PropertyNunoKisoInp1Dlg::_Henshin()

{

 CExtGridCellNumber * pCellNumber =

  (CExtGridCellNumber *)m_pActPGC->PropertyBodyGridCell( m_pPI_Offset );


 return pCellNumber->dblVal;  ?

}

Technical Support Mar 26, 2008 - 9:56 AM

Note it is better to access a pCellNumber->dblVal value using the following code:

V_R8( pCellNumber );



Technical Support Mar 22, 2008 - 3:04 PM

Here is the declaration of the CExtGridCellNumber class:

class __PROF_UIS_API CExtGridCellNumber : public CExtGridCellNumberBase
{
. . .
Here is the declaration of the CExtGridCellNumberBase class:
class __PROF_UIS_API CExtGridCellNumberBase : public CExtGridCellVariant
{
. . .
Here is the declaration of the CExtGridCellVariant class:
class __PROF_UIS_API CExtGridCellVariant
      : public CExtGridCellEx
      , public VARIANT
{
. . .
So, you can use the following code:
CExtGridCellNumber * pCell = . . .
double lfValue = pCell->dblVal;