View previous topic :: View next topic |
Author |
Message |
FreezingFire Admin Team
Joined: 23 Jun 2002 Posts: 3508
|
Posted: Sat Aug 09, 2003 4:11 pm Post subject: BITLIST Bug |
|
|
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
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 |
|
|
Garrett Moderator Team
Joined: 04 Oct 2001 Posts: 2149 Location: A House
|
Posted: Sat Aug 09, 2003 8:22 pm Post subject: |
|
|
Wholly Cheese and Fungis!! I didn't realize this could even be done in
VDS 5!
-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 |
|
|
FreezingFire Admin Team
Joined: 23 Jun 2002 Posts: 3508
|
Posted: Sat Aug 09, 2003 10:16 pm Post subject: |
|
|
Update to this report: also happens with the TABLE element.
lol Garrett _________________ FreezingFire
VDSWORLD.com
Site Admin Team |
|
Back to top |
|
|
CodeScript Moderator Team
Joined: 08 Jun 2003 Posts: 1060 Location: India
|
Posted: Sun Aug 10, 2003 6:25 am Post subject: |
|
|
Another problem due to DDE bug I think _________________ Regards
- CodeScript
Give your application a professional look with the VDSGUI Extension |
|
Back to top |
|
|
jules Professional Member
Joined: 14 Sep 2001 Posts: 1043 Location: Cumbria, UK
|
Posted: Mon Aug 11, 2003 11:06 am Post subject: |
|
|
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 |
|
|
FreezingFire Admin Team
Joined: 23 Jun 2002 Posts: 3508
|
Posted: Mon Aug 11, 2003 1:49 pm Post subject: |
|
|
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 |
|
|
LiquidCode Moderator Team
Joined: 05 Dec 2000 Posts: 1751 Location: Space and Time
|
Posted: Mon Aug 11, 2003 1:52 pm Post subject: |
|
|
I have had the same prob. Getting on my nervs too. I started avoiding bitlist and bitcombo because of it. _________________ Chris
Http://theblindhouse.com |
|
Back to top |
|
|
FreezingFire Admin Team
Joined: 23 Jun 2002 Posts: 3508
|
Posted: Mon Aug 11, 2003 1:58 pm Post subject: |
|
|
Well really I wanted to use this code with a TABLE element but the same
problems here. _________________ FreezingFire
VDSWORLD.com
Site Admin Team |
|
Back to top |
|
|
Garrett Moderator Team
Joined: 04 Oct 2001 Posts: 2149 Location: A House
|
Posted: Mon Aug 11, 2003 6:15 pm Post subject: |
|
|
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 |
|
|
|