by Brian Hays » Wed Dec 14, 2005 9:23 pm
well unfortunately I have an extremely hacked toolbar class that isn't safe for public consumption. There were too many glitches getting it to work generically for Antonio, and I had a deadline I had to make so it's currently specific to our usage.
You can test the return value from that call to see if it succeeded. It may not show changes until you follow it with:
SendMessage( ::hWnd, TB_AUTOSIZE, 0, 0 )
If it's an MDI app, there was also a problem with the oWndClient needing to be resized to allow the TBar and Rebar to expand.
-BH