bitMap bug in 2010?

bitMap bug in 2010?

paulneale
Advisor Advisor
326 Views
6 Replies
Message 1 of 7

bitMap bug in 2010?

paulneale
Advisor
Advisor
Just want to get a confirmation on this from others. SP1 corrected issues in the bitmap pager system that we stopping plugins of mine from loading that was using bitmaps in buttons that it was loading from files. It looks like images that are created in script and not saved to the server still don't work. Can any one confirm this for me on other systems using the code below? The right button should show up as red and the left will not.


save (bitmap 20 20 color:red fileName:((getDir #temp)+"test.bmp"))

try(destroyDialog testR)catch()

rollout testR "Test"
(
button testBt1 "" width:20 height:20 images:#((bitmap 20 20 color:red), undefined , 1,1,1,1,1 ) across:2
button testBt2 "" width:20 height:20 images:#((openBitMap ((getDir #temp)+"test.bmp")), undefined , 1,1,1,1,1 )
)
createDialog testR
Paul Neale

http://paulneale.com


Paul Neale




EESignature

0 Likes
327 Views
6 Replies
Replies (6)
Message 2 of 7

Steve_Curley
Mentor
Mentor
This is what I get... (64bit btw)


Max 2016 (SP1/EXT1)
Win7Pro x64 (SP1). i5-3570K @ 4.4GHz, 8Gb Ram, DX11.
nVidia GTX760 (2GB) (Driver 430.86).

0 Likes
Message 3 of 7

paulneale
Advisor
Advisor
Yep, same problem, should be two red buttons.
Paul Neale

http://paulneale.com


Paul Neale




EESignature

0 Likes
Message 4 of 7

Anonymous
Not applicable
No, Its like this:
images:#((bitmap 20 20 color:red), undefined , 1,1,1,1,1,TRUE ) 


colortheme_boolean, if I remember correctly
0 Likes
Message 5 of 7

paulneale
Advisor
Advisor
I'm not asking how to make a bitMap, did you try running my code?
Paul Neale

http://paulneale.com


Paul Neale




EESignature

0 Likes
Message 6 of 7

Anonymous
Not applicable
I think you said that it only shows the bitmap if loaded from the server/PC/HD ?
I did try your code, and the result is the same, I supose that the bug?
Unless you doit like I posted,thats why I don't think its a bug

because max now has the option to use windows themes, that would change your button appereance, and thats why it does not appear unless you specify whether use Windows Color Theme or not by adding a TRUE OR FALSE boolean at the end.


probably bad implemented(it defaults to FALSE, which avoids backward compatibility), but not sure if its a bug or an issue. otherwise I must be a abit confused by your post, sorry if that's the case.
0 Likes
Message 7 of 7

paulneale
Advisor
Advisor
Ah sorry, I see what you were getting at. Well that is odd that it defaults to false. Means I need to go and correct each tool that uses it.
Paul Neale

http://paulneale.com


Paul Neale




EESignature

0 Likes