Reads a component from a resource.
function ReadComponentResEx(HInstance: THandle; const ResName: string): TComponent;
TComponent * ReadComponentResEx(THandle HInstance, const AnsiString ResName);
Classes
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) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|