mirror of
https://github.com/reactos/reactos.git
synced 2024-10-06 01:13:38 +00:00
- Remove tailing separator in explorer quicklaunch area.
- Fix some values for rebarband. - See issue #3771 for details. - TODO: fix rebar (comctl32) itself, because it's not working properly. svn path=/trunk/; revision=42881
This commit is contained in:
parent
612682d56c
commit
9e652d5604
|
@ -147,13 +147,13 @@ LRESULT DesktopBar::Init(LPCREATESTRUCT pcs)
|
||||||
rbBand.cyMaxChild = (ULONG)-1;
|
rbBand.cyMaxChild = (ULONG)-1;
|
||||||
rbBand.cyMinChild = REBARBAND_HEIGHT;
|
rbBand.cyMinChild = REBARBAND_HEIGHT;
|
||||||
rbBand.cyIntegral = REBARBAND_HEIGHT + 3; //@@ OK?
|
rbBand.cyIntegral = REBARBAND_HEIGHT + 3; //@@ OK?
|
||||||
rbBand.cxMinChild = rbBand.cyIntegral * 3;
|
|
||||||
rbBand.fStyle = RBBS_VARIABLEHEIGHT|RBBS_GRIPPERALWAYS|RBBS_HIDETITLE;
|
rbBand.fStyle = RBBS_VARIABLEHEIGHT|RBBS_GRIPPERALWAYS|RBBS_HIDETITLE;
|
||||||
|
|
||||||
TCHAR QuickLaunchBand[] = _T("Quicklaunch");
|
TCHAR QuickLaunchBand[] = _T("Quicklaunch");
|
||||||
rbBand.lpText = QuickLaunchBand;
|
rbBand.lpText = QuickLaunchBand;
|
||||||
rbBand.hwndChild = _hwndQuickLaunch;
|
rbBand.hwndChild = _hwndQuickLaunch;
|
||||||
rbBand.cx = 120;
|
rbBand.cx = 100;
|
||||||
|
rbBand.cxMinChild = 100;
|
||||||
rbBand.wID = IDW_QUICKLAUNCHBAR;
|
rbBand.wID = IDW_QUICKLAUNCHBAR;
|
||||||
SendMessage(_hwndrebar, RB_INSERTBAND, (WPARAM)-1, (LPARAM)&rbBand);
|
SendMessage(_hwndrebar, RB_INSERTBAND, (WPARAM)-1, (LPARAM)&rbBand);
|
||||||
|
|
||||||
|
@ -161,6 +161,7 @@ LRESULT DesktopBar::Init(LPCREATESTRUCT pcs)
|
||||||
rbBand.lpText = TaskbarBand;
|
rbBand.lpText = TaskbarBand;
|
||||||
rbBand.hwndChild = _hwndTaskBar;
|
rbBand.hwndChild = _hwndTaskBar;
|
||||||
rbBand.cx = 200; //pcs->cx-_taskbar_pos-quicklaunch_width-(notifyarea_width+1);
|
rbBand.cx = 200; //pcs->cx-_taskbar_pos-quicklaunch_width-(notifyarea_width+1);
|
||||||
|
rbBand.cxMinChild = 50;
|
||||||
rbBand.wID = IDW_TASKTOOLBAR;
|
rbBand.wID = IDW_TASKTOOLBAR;
|
||||||
SendMessage(_hwndrebar, RB_INSERTBAND, (WPARAM)-1, (LPARAM)&rbBand);
|
SendMessage(_hwndrebar, RB_INSERTBAND, (WPARAM)-1, (LPARAM)&rbBand);
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -154,8 +154,6 @@ void QuickLaunchBar::AddShortcuts()
|
||||||
}
|
}
|
||||||
DeleteDC(hdc);
|
DeleteDC(hdc);
|
||||||
|
|
||||||
SendMessage(_hwnd, TB_INSERTBUTTON, INT_MAX, (LPARAM)&sep);
|
|
||||||
|
|
||||||
for(Entry*entry=_dir->_down; entry; entry=entry->_next) {
|
for(Entry*entry=_dir->_down; entry; entry=entry->_next) {
|
||||||
// hide files like "desktop.ini"
|
// hide files like "desktop.ini"
|
||||||
if (entry->_data.dwFileAttributes & FILE_ATTRIBUTE_HIDDEN)
|
if (entry->_data.dwFileAttributes & FILE_ATTRIBUTE_HIDDEN)
|
||||||
|
|
Loading…
Reference in a new issue