how to Apply Custom Control Class in Dialog Controls

  • Thread starter Thread starter Amrit.shr
  • Start date Start date
A

Amrit.shr

Guest
Dear All

i have made one Custom Button class

CButtonX : public CButton

{

// some functions for UI change

}

it work fine when i create variable in dialog class with CButtonX

CButtonX m_BtnHome;

supposed if i add 20 button i have to create 20 variable.

is there any way to use or automatic that class when i add Button in dialog.. with out creating 20 variable.


Thanks in Advance

Continue reading...
 
Back
Top