Dear all,

i dont know whether the question title suite my requirement. I want write a function to set different properties of a control which take values or'd.

Like that we use in windows API's to set different properties of a window. Something like

Code:
CreateWindow( ....., ..., ..., WS_SYSTEMMENU | WS_SHOW | WS_CHILD, ...):
i know the values like WS_SHOW and all are predefined values. I want to know how can i implement this method in my control. Hope my question is clear for all. can any one help me in this.