PrevNextUpHome SophiaFramework UNIVERSE 5.3
SFBDialog
Wrapper Class for the IDialog interface.
#include <SFBDialog.h.hpp>
class SFBDialog : public SFBBase;
SFMTYPEDEFWRAPPER(SFBDialog)

Inheritance diagram

 Inheritance diagram of SFBDialogClass

Version

BREW 2.0 BREW 2.1 BREW 3.1 BREW 4.0
O O O O

Reference

BREW API IDialog

Member

Public Functions
SFBControlSmp GetControl( SInt16 id )
Get the control associated with the specified identifier.
UInt16 GetID( Void )
Return the resource ID of the dialog.
UInt32 GetProperties( Void )
Returns the current properties of the dialog.
Void Redraw( Void )
This method redraws the specified dialog and all of its controls.
Void SetEventHandler( PFNAEEEVENT callback , VoidPtr data = null )
Set or resets the event handler for a dialog.
SInt16 SetFocus( SInt16 id )
Set the active control focus to the control associated with the specified identifier.
Void SetProperties( UInt32 properties )
Set the properties of the dialog.
Protected Functions
static
SFBBaseSmp
FactoryByCreate( AEECLSID id , SFCErrorPtr exception = null ) (inherits from SFBBase)
Create the instance for the specified ClassID's interface.
static
SFBBaseSmp
FactoryByQuery( SFBQuerySmpConstRef query , AEECLSID id , SFCErrorPtr exception = null ) (inherits from SFBBase)
Create the instance for the specified ClassID's interface using the SFBQuery instance.

SFBDialog::GetControl
Get the control associated with the specified identifier.
[ public ]
SFBControlSmp GetControl(
    SInt16 id   // id of the control
);

Reference

BREW API IDIALOG_GetControl | SFBShell::CreateDialog | SFBDialog::SetFocus


SFBDialog::GetID
Return the resource ID of the dialog.
[ public ]
UInt16 GetID(Void);

Reference

BREW API IDIALOG_GetID


SFBDialog::GetProperties
Returns the current properties of the dialog.
[ public ]
UInt32 GetProperties(Void);

Reference

BREW API IDIALOG_GetProperties


SFBDialog::Redraw
This method redraws the specified dialog and all of its controls.
[ public ]
Void Redraw(Void);

Reference

BREW API IDIALOG_Redraw


SFBDialog::SetEventHandler
Set or resets the event handler for a dialog.
[ public ]
Void SetEventHandler(
    PFNAEEEVENT callback   // pointer to event callback
    VoidPtr data = null    // user data pointer sent as first argument to even handler
);

Reference

BREW API IDIALOG_SetEventHandler | PFNAEEEVENT | SFBShell::CreateDialog | SFBDialog::SetFocus


SFBDialog::SetFocus
Set the active control focus to the control associated with the specified identifier.
[ public ]
SInt16 SetFocus(
    SInt16 id   // id of the control
);

Reference

BREW API IDIALOG_SetFocus | SFBShell::CreateDialog


SFBDialog::SetProperties
Set the properties of the dialog.
[ public ]
Void SetProperties(
    UInt32 properties   // properties of the dialog
);

Reference

BREW API IDIALOG_SetProperties | SFBDialog::GetProperties | SFBDialog::SetEventHandler | SFBShell::CreateDialog