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 » Please teach about Version Macro Collapse All
Subject Author Date
tera t Apr 11, 2008 - 1:58 AM

Hello.


By __PROF_UIS_VERSION, I want to change a build source.


Thanks,


 

tera t Apr 14, 2008 - 10:58 PM

Hello.


For example.

I do such how to use.

Hope don’t mind.


#if __PROF_UIS_VERSION < 0x02080200

   PmBridge_GetPM()->PaintIcon(

       dc,

       true,

       sItemText,

       pIcon,

       rcItemForIcon,

       rcTmpText,

       false,

       true,

       false,

       0

       );

#else

 PmBridge_GetPM()->PaintIcon(

  dc,

  true,

  pIcon,

  rcItemForIcon,

  false,

  bEnabled,

  false,

  CExtPaintManager::__ALIGN_HORIZ_LEFT | CExtPaintManager::__ALIGN_VERT_TOP

  );

#endif

Technical Support Apr 16, 2008 - 5:01 AM

Your code is OK. You can use version macro in such way. Please give us more details on any unresolved issues you have.

Technical Support Apr 12, 2008 - 3:46 AM

Please let us know what you mean by a build source?