I created my float toolbar manually (new CToolBar, CreateEx, GetToolBarCtrl().AddButtons). The toolbar was created with the TBSTYLE_WRAPABLE style.
Then I saved current toolbar state (window position and number of rows) in *.ini file.
But when I try to restore the toolbar state (SetWindowPos, GetToolBarCtrl().SetRows), only position is restored. The toolbar has only one row.
The function CToolBarCtrl::RestoreState (after SaveState) didn't work in my case.
How can I restore a toolbar's position and number of rows? [sig][/sig]
Then I saved current toolbar state (window position and number of rows) in *.ini file.
But when I try to restore the toolbar state (SetWindowPos, GetToolBarCtrl().SetRows), only position is restored. The toolbar has only one row.
The function CToolBarCtrl::RestoreState (after SaveState) didn't work in my case.
How can I restore a toolbar's position and number of rows? [sig][/sig]