• Welcome to Powerbasic Museum 2020-B.
 

News:

Forum in repository mode. No new members allowed.

Main Menu

Toolbar Problem

Started by Nick Melnick, July 13, 2011, 07:51:11 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Nick Melnick

Jose,

I recently found an oversight in the include file "CSED_TOOLBARS.INC" from
the v.1.02 source release that has now carried over to the v1.03 general release.
The 'Find' and 'Bookmarks' buttons no longer drop down.

This is traced to:

Toolbar_AddButton hToolBar, 11, %IDM_FIND
Toolbar_AddButton hToolBar, 22, %IDM_BOOKMARKOPTIONS

Should be:

Toolbar_AddButton hToolBar, 11, %IDM_FIND, 0, %TBSTYLE_DROPDOWN
Toolbar_AddButton hToolBar, 22, %IDM_BOOKMARKOPTIONS, 0, %TBSTYLE_DROPDOWN

Your efforts in this project are, as always, greatly appreciated.

José Roca

Thanks for spotting it. I replaced the very lenghty "classic" code to create the toolbar buttons and the image lists with the new wrappers and forgot to add the dropdown style to these two. The dead code removal feature is allowing me to create tons of wrappers to simplify SDK programming.