Retrieves the current value of the specified bit field in the control's style property.
protected final boolean getStyle( int flag )
flag
The bit field within the style property value that you want to check.
Returns true if the bit field specified by the flag parameter is set in the control's style property; otherwise, returns false.
This method retrieves values from the control's style property; it does not retrieve information from the windows styles or extended styles associated with the control's window handle.
See Also setStyle