Reply

Pixelated Custom CommandBar Buttons

Hello,

i'm kinda new to solidedge customization, and i'm trying to add custom buttons in the addins tab for solidedge ST4

 

when i execute loadface to the control, with a 24bit bitmap(tried also 32bit) it comes out really pixelated, as it if was enlarged from a 16x16 bitmap.

 

i am using VB6 to add the custom buttons

 

[code]

cmdBarButton = CommandBar.Controls.Add()

cmbBarButton.Style = seButtonIconAndCaptionBelow

cmdBarButton.LoadFace("C:\Custom.bmp")

cmdBarButton.Caption = "Custom"

cmdBarButton.OnAction = "C:\testapp.exe"

[/code]

 

Does anyone know if this issue can be solved?

Thanks

 

Posted by: Robby Kendel
Post date: 10/17/2012 3:08:45 AM

1 REPLY

Pixelated Custom CommandBar Buttons

Since you're on ST4, I believe you should be able to load PNG files now. Take a look in the "C:\Program Files\Solid Edge ST4\SDK\Samples\Addins\VC" directory. There are some example PNG files there that they use in the ribbon. I could be wrong though as well. You'll just have to give it a try.

 

Posted by: Jason Newell
Post date: 10/20/2012 2:51:57 AM