Source code of Windows XP (NT5)
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.

47 lines
932 B

  1. /****************************************************************************
  2. *
  3. * FILE: FloatTBar.h
  4. *
  5. * CREATED: Chris Pirich (ChrisPi) 7-27-95
  6. *
  7. ****************************************************************************/
  8. class CFloatToolbar
  9. {
  10. private:
  11. enum {
  12. IndexShareBtn,
  13. IndexChatBtn,
  14. IndexWBBtn,
  15. IndexFTBtn,
  16. NUM_FLOATBAR_STANDARD_TOOLBAR_BUTTONS
  17. };
  18. enum {
  19. ShareBitmapIndex,
  20. WhiteboardBitmapIndex,
  21. ChatBitmapIndex,
  22. FTBitmapIndex,
  23. // This has to be the last index for
  24. // the count to be correct...
  25. NUM_FLOATBAR_TOOLBAR_BITMAPS
  26. };
  27. HWND m_hwndT;
  28. HBITMAP m_hBmp;
  29. CConfRoom* m_pConfRoom;
  30. BOOL m_fInPopup;
  31. BOOL UpdateButtons();
  32. public:
  33. HWND m_hwnd;
  34. // Methods:
  35. CFloatToolbar(CConfRoom* pcr);
  36. ~CFloatToolbar();
  37. HWND Create(POINT ptClickPos);
  38. static LRESULT CALLBACK FloatWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam);
  39. };