Quote Originally Posted by ovidiucucu View Post
The trick is:


Example:
Code:
   int nIndex = 2;
   TBBUTTON tbb = {0};
   tbb.fsStyle = BTNS_SEP; // or TBSTYLE_SEP;
   tbb.iBitmap = 20; // The width of the separator, in pixels
   
   ::SendMessage(hWndToolbar, TB_INSERTBUTTON, (WPARAM)nIndex, (LPARAM)&tbb);

It worked! Thanks!