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 


BITLIST Bug

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Bug Reports
View previous topic :: View next topic  
Author Message
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Sat Aug 09, 2003 4:11 pm    Post subject: BITLIST Bug Reply with quote

When I try to use the following as an icon for a BITLIST, this works correctly.

However, any further icons taken from shell32.dll display, using a different
number after the comma, such as -151, display as the first one drawn from
shell32.dll Confused

Here's an example of what I'm talking about:

%SystemRoot%\system32\shell32.dll,-152 <-- Will display correctly
%SystemRoot%\system32\shell32.dll,-151 <-- Will display the first one called

This can become quite aggravating when you're doing something like this:
http://forum.vdsworld.com/viewtopic.php?t=1886

Here's an example of the bug:

Code:
  DIALOG CREATE,Bug Example,-1,0,265,160
  DIALOG ADD,BITLIST,BITLIST1,7,8,180,144
  DIALOG ADD,BUTTON,Exit,36,194,64,24,Exit
  DIALOG SHOW
  list add,bitlist1,Item 1|"%SystemRoot%\system32\shell32.dll,-152"
  list add,bitlist1,Item 2|"%SystemRoot%\system32\shell32.dll,-151"
:Evloop
  wait event
  goto @event()
:Close
  exit

_________________
FreezingFire
VDSWORLD.com
Site Admin Team
Back to top
View user's profile Send private message Visit poster's website
Garrett
Moderator Team


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

PostPosted: Sat Aug 09, 2003 8:22 pm    Post subject: Reply with quote

Wholly Cheese and Fungis!! I didn't realize this could even be done in
VDS 5! Shocked

-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
View user's profile Send private message
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Sat Aug 09, 2003 10:16 pm    Post subject: Reply with quote

Update to this report: also happens with the TABLE element.

lol Garrett Wink

_________________
FreezingFire
VDSWORLD.com
Site Admin Team
Back to top
View user's profile Send private message Visit poster's website
CodeScript
Moderator Team


Joined: 08 Jun 2003
Posts: 1060
Location: India

PostPosted: Sun Aug 10, 2003 6:25 am    Post subject: Reply with quote

Another problem due to DDE bug I think Question
_________________
Regards
- CodeScript
Arrow Give your application a professional look with the VDSGUI Extension
Back to top
View user's profile Send private message Visit poster's website
jules
Professional Member
Professional Member


Joined: 14 Sep 2001
Posts: 1043
Location: Cumbria, UK

PostPosted: Mon Aug 11, 2003 11:06 am    Post subject: Reply with quote

Quote:
Another problem due to DDE bug I think


No, I think it's due to the hashing VDS does to avoid loading multiple copies of the same bitmap. It doesn't take account of different icons within an icon file, I think...

_________________
The Tech Pro
www.tech-pro.net
Back to top
View user's profile Send private message Visit poster's website
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Mon Aug 11, 2003 1:49 pm    Post subject: Reply with quote

I also encountered a problem when I loaded icons next to the data when
I used a DEFAULT.BMP and a DEFAULT.ICO

It displayed the first one used I believe.

_________________
FreezingFire
VDSWORLD.com
Site Admin Team
Back to top
View user's profile Send private message Visit poster's website
LiquidCode
Moderator Team


Joined: 05 Dec 2000
Posts: 1751
Location: Space and Time

PostPosted: Mon Aug 11, 2003 1:52 pm    Post subject: Reply with quote

I have had the same prob. Getting on my nervs too. Confused I started avoiding bitlist and bitcombo because of it. Sad
_________________
Chris
Http://theblindhouse.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Mon Aug 11, 2003 1:58 pm    Post subject: Reply with quote

Well really I wanted to use this code with a TABLE element but the same
problems here. Sad

_________________
FreezingFire
VDSWORLD.com
Site Admin Team
Back to top
View user's profile Send private message Visit poster's website
Garrett
Moderator Team


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

PostPosted: Mon Aug 11, 2003 6:15 pm    Post subject: Reply with quote

Also, I think there's an 8x3 file name limit on the resources also. So if
you're using #resource, remember to use files names that are 8x3

-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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Bug Reports 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