I am currently using Alpha lite demo to give various looks to my delphi 7 application. I am in doubt about how to include their Skin file (.asz extension) so that I can port my Delphi application without losing the Look. I am aware that i will have to include it in a .RES file. How to do that ?
I have made a small function to load the resource :
Function LoadResourceFromFile() : Boolean;
Var
hFind , hRes : THandle;
Begin
hFind := FindResource(HInstance,'SkinsVista',RT_RCDATA);
If hFind <> 0 Then
Begin
hRes := LoadResource(HInstance,hFind);
If hRes <> 0 Then
Begin
// what to do now ?
End;
End;
End;
Can someone guide me?
Try to use the following code. It’s untested by me, but based on
this postfrom vendor support so I hope it should be the right way to do so: