CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Protected Attributes | List of all members
CFxUIEvent Class Reference

#include <FxUIEvent.h>

Inheritance diagram for CFxUIEvent:
CFxUIFocusEvent CFxUIHideEvent CFxUIPaintEvent CFxUIResizeEvent CFxUIShowEvent

Public Types

enum  Type {
  None = 0 , FocusIn = 8 , FocusOut = 9 , Paint = 12 ,
  Resize = 14 , Show = 17 , Hide = 18
}
 

Public Member Functions

 CFxUIEvent (Type type)
 
virtual ~CFxUIEvent ()
 
Type type () const
 

Protected Attributes

ushort t
 

Detailed Description

Class CFxUIEvent is the base class for all event classes.

Definition at line 27 of file FxUIEvent.h.

Member Enumeration Documentation

◆ Type

This enum type defines all event types which can be trapped in a widget.

Enumerator
None 

invalid event

FocusIn 

keyboard focus received

FocusOut 

keyboard focus lost

Paint 

paint widget

Resize 

resize widget

Show 

widget is shown

Hide 

widget is hidden

Definition at line 34 of file FxUIEvent.h.

Constructor & Destructor Documentation

◆ CFxUIEvent()

CFxUIEvent::CFxUIEvent ( Type  type)
explicit

Constructor.

Parameters
TypeInput.

◆ ~CFxUIEvent()

virtual CFxUIEvent::~CFxUIEvent ( )
virtual

Destructor

Member Function Documentation

◆ type()

Type CFxUIEvent::type ( ) const
inline

Returns event type.

Returns
The type of an event.

Definition at line 61 of file FxUIEvent.h.

Member Data Documentation

◆ t

ushort CFxUIEvent::t
protected

Definition at line 64 of file FxUIEvent.h.


The documentation for this class was generated from the following file: