TIcon

TIcon

Postby fp » Tue Jan 10, 2006 8:01 am

Please add a "hResources"-Parameter to the TIcon-Class (like in TDialog)
User avatar
fp
 
Posts: 76
Joined: Fri Dec 30, 2005 10:25 am
Location: Germany

Postby Antonio Linares » Tue Jan 10, 2006 8:29 am

Frank,

Could you please elaborate more your request ? Class TIcon already has a DATA hIcon to keep its handle.

To access the resources you may call GetResources() --> hResources

What would that DATA be for ?
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby fp » Wed Jan 11, 2006 7:40 am

Hello Antonio,

that's what I mean (but it is not a problem, because I can use GetResources() of cource):

my code:

::hDll1 := LoadDll("MainApp.DLL")
::hDll2 := LoadDll("User1.Dll")
::hDll3 := LoadDll("ABC".Dll")

....

SET RESOURCES TO ::hDll1
DEFINE ICON ::oIcon1 RESOURCE "ICON_1"
SET RESOURCES TO ::hDll2
DEFINE ICON ::oIcon2 RESOURCE "ICON_USER_1"
SET RESOURCES TO ::hDll3
DEFINE ICON ::oIcon3 RESOURCE "ICON_WAIT"

This is oky. It would be easier:

DEFINE ICON ::oIcon1 RESOURCE "ICON_1" DLL ::hDLL1
DEFINE ICON ::oIcon2 RESOURCE "ICON_USER_1" DLL ::hDLL2
DEFINE ICON ::oIcon3 RESOURCE "ICON_WAIT" DLL ::hDLL3

But there is no DLL-command like in

DEFINE DIALOG ... RESOURCE .... DLL ...

regards,
Frank-Peter
User avatar
fp
 
Posts: 76
Joined: Fri Dec 30, 2005 10:25 am
Location: Germany

Postby Antonio Linares » Wed Jan 11, 2006 8:06 am

Frank,

Ok, I see what you mean: To relate a specific resource object with a storadge resources handle.

We are going to analize it, to check how many changes in all FW code may require.
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby fp » Thu Jan 19, 2006 7:16 am

Hello Antonio,

could you add a PIXEL clause to Ticon too?

thanks and regards
Frank
User avatar
fp
 
Posts: 76
Joined: Fri Dec 30, 2005 10:25 am
Location: Germany


Return to To do - WishList / Por hacer - Peticiones

Who is online

Users browsing this forum: No registered users and 5 guests