windows-nt/Source/XPSP1/NT/enduser/netmeeting/ui/conf/floatbar.h

48 lines
932 B
C
Raw Normal View History

2020-09-26 03:20:57 -05:00
/****************************************************************************
*
* FILE: FloatTBar.h
*
* CREATED: Chris Pirich (ChrisPi) 7-27-95
*
****************************************************************************/
class CFloatToolbar
{
private:
enum {
IndexShareBtn,
IndexChatBtn,
IndexWBBtn,
IndexFTBtn,
NUM_FLOATBAR_STANDARD_TOOLBAR_BUTTONS
};
enum {
ShareBitmapIndex,
WhiteboardBitmapIndex,
ChatBitmapIndex,
FTBitmapIndex,
// This has to be the last index for
// the count to be correct...
NUM_FLOATBAR_TOOLBAR_BITMAPS
};
HWND m_hwndT;
HBITMAP m_hBmp;
CConfRoom* m_pConfRoom;
BOOL m_fInPopup;
BOOL UpdateButtons();
public:
HWND m_hwnd;
// Methods:
CFloatToolbar(CConfRoom* pcr);
~CFloatToolbar();
HWND Create(POINT ptClickPos);
static LRESULT CALLBACK FloatWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam);
};