forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Forcing 32x32 icons in Bitlist or Table?

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Advanced Help for VDS 5 & Up
View previous topic :: View next topic  
Author Message
Garrett
Moderator Team


Joined: 04 Oct 2001
Posts: 2148
Location: A House

PostPosted: Thu Nov 15, 2007 2:05 am    Post subject: Forcing 32x32 icons in Bitlist or Table? Reply with quote

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 Sad

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.)
Necroprogramming FTW! - "Wait.. Is necroprogramming legal?"
http://www.freewarehome.com <-- Freeware listings since 1996
Back to top
View user's profile Send private message
ShinobiSoft
Professional Member
Professional Member


Joined: 06 Nov 2002
Posts: 790
Location: Knoxville, Tn

PostPosted: Thu Nov 15, 2007 10:02 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger
Aslan
Valued Contributor
Valued Contributor


Joined: 31 May 2001
Posts: 589
Location: Memphis, TN USA

PostPosted: Thu Feb 28, 2008 3:27 am    Post subject: Reply with quote

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 Crying or Very sad
Back to top
View user's profile Send private message Send e-mail
Garrett
Moderator Team


Joined: 04 Oct 2001
Posts: 2148
Location: A House

PostPosted: Thu Feb 28, 2008 9:19 pm    Post subject: Reply with quote

I don't even remember what I was working on now when I posted Sad It'll probably hit me in another 6 months and then I won't be able to find your post here. Wink
_________________
'What you do not want done to yourself, do not do to others.' - Confucius (550 b.c. to 479 b.c.)
Necroprogramming FTW! - "Wait.. Is necroprogramming legal?"
http://www.freewarehome.com <-- Freeware listings since 1996
Back to top
View user's profile Send private message
Aslan
Valued Contributor
Valued Contributor


Joined: 31 May 2001
Posts: 589
Location: Memphis, TN USA

PostPosted: Fri Feb 29, 2008 12:15 am    Post subject: Reply with quote

I can certainly relate to that Wink
Back to top
View user's profile Send private message Send e-mail
Garrett
Moderator Team


Joined: 04 Oct 2001
Posts: 2148
Location: A House

PostPosted: Fri Feb 29, 2008 7:02 pm    Post subject: Reply with quote

Ooooo.... I should thank you now though, just in case I do remember Smile

Thanks Smile

_________________
'What you do not want done to yourself, do not do to others.' - Confucius (550 b.c. to 479 b.c.)
Necroprogramming FTW! - "Wait.. Is necroprogramming legal?"
http://www.freewarehome.com <-- Freeware listings since 1996
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Advanced Help for VDS 5 & Up All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum




Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group