![]() ![]() ![]()
|
BREW C++ ライブラリ & GUI フレームワーク & XML ミドルウェア : SophiaFramework UNIVERSE 5.0 |

| BREW 2.0 | BREW 2.1 | BREW 3.1 | BREW 4.0 |
|---|---|---|---|
| ○ | ○ | ○ | ○ |
| パブリック関数 | |
|---|---|
| Void |
EnableCommand(
Bool enable
, UInt16 id
)
日付コントロールがユーザー定義コマンドをアクティブなアプレットに送るかどうかを指定します。
|
| Bool |
GetDate(
SInt32Ptr year
, SInt32Ptr month
, SInt32Ptr day
)
日付コントロールから日付を取得します。
|
| Bool |
GetDateString(
WCharPtr buffer
, SInt32 buffSize
, SInt32Ptr countChars
, UInt32 dateFormat
) GetDateString( SFXWideStringPtr string , UInt32 dateFormat )
指定したフォーマットで日付文字列を取得します。
|
| UInt16 |
GetDayOfWeek( Void )
日付コントロールから曜日を取得します。
|
| WCharPtr |
GetDayString(
WCharPtr buffer
, SInt32 buffSize
, SInt32Ptr countChars
)
日付コントロールに現在設定されている日付に対応する日の名前を取得します。
|
| Bool |
GetDayString(
SFXWideStringPtr string
)
日付コントロールに現在設定されている日付に対応する日の名前を取得します。
|
| Bool |
GetFont(
AEEFont* text
, AEEFont* title
)
タイトルとテキストのフォントを取得します。
|
| SInt32 |
GetJulianDay( Void )
指定した日付コントロールのユリウス日付値を取得します。
|
| WCharPtr |
GetMonthString(
WCharPtr buffer
, SInt32 buffSize
, SInt32Ptr countChars
)
日付コントロールに現在設定されている日付に対応する月の名前を取得します。
|
| Bool |
GetMonthString(
SFXWideStringPtr string
)
日付コントロールに現在設定されている日付に対応する月の名前を取得します。
|
| static SFBDateCtlSmp |
NewInstance(
AEECLSID clsid
)
SFBDateCtl クラスのインスタンスを生成します。
|
| Void |
SetActiveDayMask(
UInt32 mask
)
新しいアクティブ日付マスクを設定します。
|
| Bool |
SetDate(
SInt32 year
, SInt32 month
, SInt32 day
)
日付コントロールに指定した日付を設定します。
|
| Void |
SetFont(
AEEFont text
, AEEFont title
)
タイトルとテキストのフォントをで設定します。
|
| Bool |
SetJulianDay(
SInt32 day
)
日付コントロールにユリウス日付を設定します。
|
| Bool |
SetTitle(
ACharConstPtr resourceFile
, UInt16 resourceId
) SetTitle( SFXWideStringConstRef text ) SetTitle( SFXAnsiStringConstRef resourceFile , UInt16 resourceId ) SetTitle( WCharPtr text )
日付コントロールのタイトルを設定します。
|
| Void |
SizeToFit(
SFXRectanglePtr rect
)
日付コントロールのサイズを日付テキストに合わせます。
|
| UInt32 |
GetProperties( Void )
(SFBControl から継承)
コントロール固有のプロパティまたはフラグを取得します。
|
| Void |
GetRect(
SFXRectanglePtr rect
)
(SFBControl から継承)
コントロールの矩形を取得します。
|
| SFXRectangle |
GetRect( Void )
(SFBControl から継承)
コントロールの矩形を取得します。
|
| Bool |
HandleEvent(
AEEEvent event
, UInt16 wParam
, UInt32 dwParam
)
(SFBControl から継承)
HandleEvent( SFXEventConstRef event ) (SFBControl から継承)
コントロールのイベント処理機能を提供します。
この関数はすべてのコントロールで実装する必要があります。
|
| Bool |
IsActive( Void )
(SFBControl から継承)
コントロールがアクティブであるかを判定します。
|
| Bool |
Redraw( Void )
(SFBControl から継承)
コントロールの内容を再描画します。
|
| Void |
Reset( Void )
(SFBControl から継承)
コントロールの内容をリセットし、アクティブ状態をすぐに解除します。
|
| Void |
SetActive(
Bool active = true
)
(SFBControl から継承)
コントロールのアクティブ状態を設定します。
|
| Void |
SetProperties(
UInt32 properties
)
(SFBControl から継承)
コントロール固有のプロパティまたはフラグを設定します。
|
| Void |
SetRect(
SFXRectangleConstRef rect
)
(SFBControl から継承)
コントロールの矩形を設定します。
|
[ public ] Bool GetDateString( WCharPtr buffer // 日付文字列を格納するプレースホルダー SInt32 buffSize // バッファに読み込む最大文字数 SInt32Ptr countChars // バッファに書き込まれた文字数を格納するプレースホルダー UInt32 dateFormat // 日付文字列のフォーマット // 以下のいずれかの日付文字列フォーマットを使う // DFMT_DD_MONTH_YYYY : 18 July 2000 // DFMT_DD_MON_YYYY : 18 Jul 2000 // DFMT_DD_MON_YY : 18 Jul ‘00 // DFMT_MONTH_DD_YYYY : July 18, 2000 // DFMT_MON_DD_YYYY : Jul. 18, 2000 // DFMT_MON_DD_YY : Jul 18, ‘00 // DFMT_MM_DD_YYYY : 10/15/2000 // DFMT_DD_MM_YYYY : 15/10/2001 // DFMT_YYYY_MM_DD : 2001/6/1 // DFMT_INT_YYYY_MM_DD : 2001.06.01 );
[ public ] Bool GetDateString( SFXWideStringPtr string UInt32 dateFormat );
[ public ] UInt16 GetDayOfWeek(Void);
[ public ] WCharPtr GetDayString( WCharPtr buffer // 日の名前を格納するプレースホルダー SInt32 buffSize // バッファのサイズ SInt32Ptr countChars // バッファ に書き込まれた文字数を格納するプレースホルダー );
[ public ] Bool GetDayString( SFXWideStringPtr string // 日の名前を格納するプレースホルダー );
[ public ] Bool GetFont( AEEFont* text // テキストのフォントを設定する場所へのポインター AEEFont* title // タイトルのフォントを設定する場所へのポインター );
[ public ] SInt32 GetJulianDay(Void);
[ public ] WCharPtr GetMonthString( WCharPtr buffer // 月名を格納するプレースホルダー SInt32 buffSize // バッファのサイズ SInt32Ptr countChars // バッファ に書き込まれた文字数を格納するプレースホルダー );
[ public ] Bool GetMonthString( SFXWideStringPtr string // 月名を格納するプレースホルダー );
[ public, static ] SFBDateCtlSmp NewInstance( AEECLSID clsid // 日付コントロールの種類に応じた ClassID を設定する );
[ public ] Bool SetTitle( ACharConstPtr resourceFile // リソースファイル名を含む null 終結文字列 UInt16 resourceId // 文字列リソース識別子 );
[ public ] Bool SetTitle( WCharPtr text // null で終結したタイトル文字列 );
[ public ] Bool SetTitle( SFXAnsiStringConstRef resourceFile // リソースファイル名を含む null 終結文字列 UInt16 resourceId // 文字列リソース識別子 );
[ public ] Bool SetTitle( SFXWideStringConstRef text // null で終結したタイトル文字列 );
[ public ] Void SizeToFit( SFXRectanglePtr rect // 境界長方形を設定する場所へのポインター );
|
Copyright (C) 2002 - 2008 Sophia Cradle Incorporated All Rights Reserved. |
![]() ![]() ![]()
|