View previous topic :: View next topic |
Author |
Message |
Garrett Moderator Team
Joined: 04 Oct 2001 Posts: 2149 Location: A House
|
Posted: Thu Nov 15, 2007 2:05 am Post subject: Forcing 32x32 icons in Bitlist or Table? |
|
|
Anyone know of a way to force either the bitlist or table to show the 32x32 icons of an exe or dll?
I could swear I did this before, but can't for the life of me find any code that I've done for it, even though I recall the program I was working on that used it, but can't even find the program i worked on
I'm trying to make an icon browser for my app launcher for when there is no icon present in the exe that the user selected for a button on the launcher.
All I can get out of either element is the 16x16 icons. I even tried the tablecntl dsu of Codescript's, but when using the icon view in it, the icons disappear, or if I use the call prior to loading, the icons just don't show up at all.
Any help or suggestions appreciated,
Thanks,
~Garrett _________________ 'What you do not want done to yourself, do not do to others.' - Confucius (550 b.c. to 479 b.c.) |
|
Back to top |
|
|
ShinobiSoft Professional Member
Joined: 06 Nov 2002 Posts: 790 Location: Knoxville, Tn
|
Posted: Thu Nov 15, 2007 10:02 am Post subject: |
|
|
Use API to change views to ICON view and also create an imagelist and
assign it to the TABLE(ListView). By default, I don't think that VDS creates
an imagelist for large icons (32x32). _________________ Bill Weckel
ShinobiSoft Software
"The way is known to all, but not all know it." |
|
Back to top |
|
|
Aslan Valued Contributor
Joined: 31 May 2001 Posts: 589 Location: Memphis, TN USA
|
Posted: Thu Feb 28, 2008 3:27 am Post subject: |
|
|
Garrett,
You can change the icon size of the image list assigned to the Table element.
Code: | REM Get handle to the Table's ImageList
%%himl = @SENDMSG(@WINEXISTS(~TABLE1),@SUM($1000,2),1,0)
REM Set the dimensions of the images in the image list
Loadlib comctl32.dll
%x = @lib(comctl32.dll,ImageList_SetIconSize,BOOL:,%%himl,32,32)
Freelib comctl32.dll |
Sorry this is a little late |
|
Back to top |
|
|
Garrett Moderator Team
Joined: 04 Oct 2001 Posts: 2149 Location: A House
|
Posted: Thu Feb 28, 2008 9:19 pm Post subject: |
|
|
I don't even remember what I was working on now when I posted It'll probably hit me in another 6 months and then I won't be able to find your post here. _________________ 'What you do not want done to yourself, do not do to others.' - Confucius (550 b.c. to 479 b.c.) |
|
Back to top |
|
|
Aslan Valued Contributor
Joined: 31 May 2001 Posts: 589 Location: Memphis, TN USA
|
Posted: Fri Feb 29, 2008 12:15 am Post subject: |
|
|
I can certainly relate to that |
|
Back to top |
|
|
Garrett Moderator Team
Joined: 04 Oct 2001 Posts: 2149 Location: A House
|
Posted: Fri Feb 29, 2008 7:02 pm Post subject: |
|
|
Ooooo.... I should thank you now though, just in case I do remember
Thanks _________________ 'What you do not want done to yourself, do not do to others.' - Confucius (550 b.c. to 479 b.c.) |
|
Back to top |
|
|
|