mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-07-23 13:54:54 +02:00
[FIXED] Fix some typos.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository@157 f5eea248-9336-0410-98b8-ebc06183d4e3
This commit is contained in:
parent
0d932b764b
commit
16f5cc9a3c
@ -220,11 +220,11 @@ void ReBar::init(HINSTANCE hInst, HWND hPere, ToolBar *pToolBar)
|
||||
|
||||
_rbBand.fStyle = RBBS_VARIABLEHEIGHT;// | RBBS_USECHEVRON;
|
||||
_rbBand.hwndChild = _pToolBar->getHSelf();
|
||||
_rbBand.wID = 0; //ID zero for toolbar
|
||||
_rbBand.wID = REBAR_BAR_TOOLBAR; //ID REBAR_BAR_TOOLBAR for toolbar
|
||||
_rbBand.cxMinChild = 0;
|
||||
_rbBand.cyMinChild = HIWORD(size) + HIWORD(padding);
|
||||
_rbBand.cyMaxChild = HIWORD(size) + HIWORD(padding);
|
||||
_rbBand.cyIntegral = REBAR_BAR_TOOLBAR;
|
||||
_rbBand.cyIntegral = 1;
|
||||
_rbBand.cxIdeal = _rbBand.cx = _pToolBar->getWidth();
|
||||
|
||||
::SendMessage(_hSelf, RB_INSERTBAND, (WPARAM)0, (LPARAM)&_rbBand);
|
||||
|
Loading…
x
Reference in New Issue
Block a user