Icons for button

Hello All,

 

I have created 4 buttons on Solid Edge ST3 addin. I want to add different icons to each button. How can I do this? Please help me by providing suggestions or sample code.

 

Thank You

 

Posted by: Shruthi M
Post date: 8/29/2012 10:40:27 PM

1 REPLY

Re: Icons for button

Did you call SetAddinInfoEx? The API takes in a resource module filename and image IDs for your buttons. The image is a glyph, which is a single bitmap that contains one image for each button (I use the tiling UI in the visual studio resource editor).

 

Take a look at the VC addin sample in the sdk (sdk\samples\addins\vc).

 

Posted by: R.D. Holland
Post date: 9/18/2012 3:35:53 PM