Dialog CATDlgPushButton
Usage: you must use this class as is. You should never derive it.
public class CATDlgPushButton
Base class for simple push buttons.
Role:Like any control, assign CATDlgPushButton to any container or window.
Constructor and Destructor Index
- o
CATDlgPushButton(CATDialog*,CATString&,CATDlgStyle)
- Constructor.
- o
~CATDlgPushButton()
- Destructor.
Method Index
- o
GetPushBActivateNotification()
- Returns the event notification sent whenever the pushed button is pressed.
- o
GetPushBRepetitiveNotification()
- Returns the event notification repeatedly sent as long as the pushed
button is kept pressed.
Constructor and Destructor
o CATDlgPushButton
public CATDlgPushButton( | | iParent, |
| const | iObjectName, |
| | iStyle | =NULL) |
-
Constructor.
- Parameters:
-
- iParent
- The parent widget.
- iObjectName
- The internal name of the push button.
- iStyle
- The style of the push button.
Legal values:
- CATDlgPusRepetitive
- Creates a button which will trigger a specific event when maintained pressed.
- CATDlgPusNoShadow
- Button without 3D look. This style is effective only if an icon is defined for the button.
- CATDlgBtnIconAndText
- When they are defined, both its icon and its title will be displayed on the button face.
This style is ignored if CATDlgPusNoShadow is specified.
o ~CATDlgPushButton
public virtual ~CATDlgPushButton( | ) |
-
Destructor.
Methods
o GetPushBActivateNotification
public GetPushBActivateNotification( | ) |
-
Returns the event notification sent whenever the pushed button is pressed.
o GetPushBRepetitiveNotification
public GetPushBRepetitiveNotification( | ) |
-
Returns the event notification repeatedly sent as long as the pushed
button is kept pressed.
This object is included in the file: CATDlgPushButton.h
If needed, your Imakefile.mk should include the module: DI0PANV2
Copyright © 1999-2014, Dassault Systèmes. All rights reserved.