Vcl.Themes.TStyleManager.LoadFromResource
Delphi
class function LoadFromResource(Instance: HINST; const ResourceName: string): TStyleServicesHandle; overload;
class function LoadFromResource(Instance: HINST; const ResourceName: string;
ResourceType: PChar): TStyleServicesHandle; overload;
C++
__classmethod TStyleManager_TStyleServicesHandle __fastcall LoadFromResource(NativeUInt Instance, const System::UnicodeString ResourceName)/* overload */;
__classmethod TStyleManager_TStyleServicesHandle __fastcall LoadFromResource(NativeUInt Instance, const System::UnicodeString ResourceName, System::WideChar * ResourceType)/* overload */;
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
function | public | Vcl.Themes.pas Vcl.Themes.hpp |
Vcl.Themes | TStyleManager |
説明
指定されたリソースからスタイルをロードします。
LoadFromResource は、ロードされたスタイルへと自動的に切り替わらない点に注意してください。 それを行うには、SetStyle メソッドを呼び出す必要があります。
パラメータ | 意味 |
Instance
|
ロードされたリソースのインスタント ハンドル |
ResourceName
|
リソースに関連付けられた文字列 |
ResType
|
リソースの種類を識別する文字列 |