|
-
August 23rd, 2009, 05:41 PM
#6
Re: increase padding of separator in toolbar
 Originally Posted by ovidiucucu
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!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|