I need to apply the internet explorer style(flat toolbar) to a toolbar in vb6. when i use the FindWindowEx api call, i get zero as a return value.
I used the mscomctl.ocx 6.00.8177
Printable View
I need to apply the internet explorer style(flat toolbar) to a toolbar in vb6. when i use the FindWindowEx api call, i get zero as a return value.
I used the mscomctl.ocx 6.00.8177
you dont have to go through all that trouble.
after you place the toolbar control on the form, right click it and go to properties. There is an option to set the Appearance style. It defaults to 3d, but you can change it flat. then the buttons act just like the IE toolbar.
This should do exactly what you are looking for.
John
John Pirkey
MCSD
www.ShallowWaterSystems.com
I'd recommend taking a trip over to http://vbaccelerator.com - there's some excellent toolbar / rebar controls there (all built using the Windows API) - they're pretty easy to use too.
Chris Eastwood
CodeGuru - the website for developers
http://codeguru.developer.com/vb