Overview | Methods | Fields | This Package | All Packages
Retrieves the information used to create the handle for this control.
Syntax
protected CreateParams getCreateParams()
Return Value
Returns a CreateParams object that supplied information about the initial state of a control when the control handle was created. Derived classes can override this method to include additional information in the CreateParams object. When overriding this method, call super.getCreateParams. The following example shows how a derived class might override the getCreateParams method:
protected CreateParams getCreateParams() {
CreateParams cp = super.getCreateParams();
// modify cp here...
cp.style |= win.WS_BORDER;
return cp;
}