Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2006 Nov : How to manipulate ToolbarWindow32 via handle

www.cryer.info
Managed Newsgroup Archive

How to manipulate ToolbarWindow32 via handle

Subject:How to manipulate ToolbarWindow32 via handle
Posted by:"Marc Pelletier" (marc@stopspam.goldak.ca)
Date:23 Nov 2006 07:49:34

Hello,

I have a tool that I load into an MFC app via its api. Part of the api
allows me to create a toolbar in the parent app by providing an
appropriately sized bmp and the name of a function to call for each button
click.

I would like to manipulate the toolbar to disable buttons and so on, but my
only access to it is via the windows handle. When I query the classname on
that handle it comes back as a "ToolbarWindow32". I don't even know where
to start, as I've never touched mfc before.

Any ideas?

Thanks

Marc Pelletier
Goldak Airborne Surveys

Replies:

www.cryer.info
Managed Newsgroup Archive