|
RAD Studio VCL Reference
|
Reads a component from a resource.
function ReadComponentResEx(HInstance: THandle; const ResName: string): TComponent;
TComponent * ReadComponentResEx(THandle HInstance, const AnsiString ResName);
Use ReadComponentResEx to load a component from a resource stored in a particular module (as opposed to ReadComponentRes, which assumes the current module).
The HInstance parameter is the instance handle for the module that stores the component as a resource. The ResName parameter is the name assigned to the resource for the component.
ReadComponentResEx returns an instance of the component that was read from the resource.
|
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
|
What do you think about this topic? Send feedback!
|