#define EasyRegisterControl( name, extra ) static CONTROL_REGISTRATION LinePaste2(ControlType,SYMVAL(__LINE__))= { name, { 32, 32, extra, BORDER_THINNER } }; PRELOAD( SimpleRegisterControl ){ DoRegisterControl( &LinePaste2(ControlType,SYMVAL(__LINE__)) ); } static P_32 _MyControlID = &LinePaste2(ControlType,SYMVAL(__LINE__)).TypeID;
This is macro sack::PSI::EasyRegisterControl.
Copyright (c) 2000+. All rights reserved.
|
What do you think about this topic? Send feedback!
|