Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

commandbutton faceid

Status
Not open for further replies.

denis60

Technical User
Apr 19, 2001
89
CA
Hi! folks

Is there a way to put a commandbar's faceid on the commandbutton's picture

Thank in advence for your help!
 
I don't know what a faceid is, but to put a picture into a command button there are 2 steps:

1. Set the style property to graphical.
2. Set the picture property(to the faceid?).
 
The faceid is over 5500 build-in icons used by Windows like save icon, printer icon etc. This property is used by the commandbar object and it refer to a number (the id) in the Windows area while commandbutton is looking for a .ico file.
 
It depends on what you want to do.... u can put a picture in it with the picture property or u can use the ole tool on the tool bar and that will put an icon on your form


Mystic Spyralx
 
I want to put an icon (picture) on my commandbotton not from an icon file but from the shell32.dll, right now i'm reading about extracticon and drawicon api... may be....
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top