Deprecated: Array and string offset access syntax with curly braces is deprecated in /homepages/21/d38531796/htdocs/jose/smfforum/Sources/Subs.php on line 3825
Toolbar Problem

Author Topic: Toolbar Problem  (Read 4012 times)

0 Members and 1 Guest are viewing this topic.

Offline Nick Melnick

  • Newbie
  • *
  • Posts: 14
  • User-Rate: +1/-2
Toolbar Problem
« on: July 13, 2011, 07:51:11 PM »

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

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

Offline José Roca

  • Administrator
  • Hero Member
  • *****
  • Posts: 2487
  • User-Rate: +204/-0
Re: Toolbar Problem
« Reply #1 on: July 13, 2011, 09:05:12 PM »
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.