Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

40 lines
1.3 KiB

// coming soon: new deskbar (old deskbar moved to browbar base class)
#ifndef BROWBAR_H_
#define BROWBAR_H_
#include "dockbar.h"
class CBrowserBar : public CDockingBar
{
public:
// *** IPersistStreamInit ***
virtual STDMETHODIMP GetClassID(CLSID *pClassID);
// *** IOleCommandTarget methods ***
virtual STDMETHODIMP Exec(const GUID *pguidCmdGroup,
DWORD nCmdID, DWORD nCmdexecopt,
VARIANTARG *pvarargIn, VARIANTARG *pvarargOut);
protected:
virtual BOOL _CheckForwardWinEvent(UINT uMsg, WPARAM wParam, LPARAM lParam, LRESULT* plres);
virtual void _HandleWindowPosChanging(LPWINDOWPOS pwp) ;
virtual void _GetChildPos(LPRECT prc);
virtual void _GetStyleForMode(UINT eMode, LONG* plStyle, LONG *plExStyle, HWND* phwndParent);
virtual LRESULT v_WndProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
void _StopCurrentBand();
CLSID _clsidCurrentBand;
int _idBar; //vertical or horizontal bar
public:
void SetIdBar(int idBar) { _idBar = idBar; };
UINT _PersistState(HWND hwnd, BOOL bSetNewRect);
};
class CBrowserBarPropertyBag : public CDockingBarPropertyBag
{
};
HRESULT BrowserBar_Init(CBrowserBar* pdb, IUnknown** ppbs, int idBar);
#endif