browserUiInternal.h 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. #ifndef NULLSOFT_WINAMP_OMBROWSER_UI_INTERNAL_HEADER
  2. #define NULLSOFT_WINAMP_OMBROWSER_UI_INTERNAL_HEADER
  3. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  4. #pragma once
  5. #endif
  6. #include <wtypes.h>
  7. //styles ex
  8. #define NBCS_EX_BROWSERREADY 0x00000001
  9. #define NBCS_EX_NAVCOMPLETED 0x00000002
  10. #define NBCS_EX_BLOCKNAVIGATION 0x00000004
  11. // popup only
  12. #define NBCS_EX_NAVIGATEDONCE 0x00000100
  13. #define NBCS_EX_FULLSCREEN 0x00000200
  14. #define NBCS_EX_SCRIPTMODE 0x00000400
  15. #define ACCELTABLE_VIEW 0
  16. #define ACCELTABLE_POPUP 1
  17. HACCEL BrowserControl_GetAccelTable(UINT tableType);
  18. BOOL BrowserControl_ProcessCommonCommand(HWND hControl, INT commandId);
  19. BOOL BrowserControl_ProcessToolbarCommand(HWND hControl, INT commandId);
  20. BOOL BrowserControl_ProcessStatusbarCommand(HWND hControl, INT commandId);
  21. BOOL BrowserControl_ProcessAppCommand(HWND hControl, INT commandId);
  22. typedef struct __OPERATIONINFO OPERATIONINFO;
  23. BOOL BrowserControl_OnShowOperation(HWND hControl, OPERATIONINFO *poi);
  24. HWND BrowserControl_GetOperationWidget(HWND hControl);
  25. BOOL BrowserControl_UpdateLayout(HWND hControl, BOOL fRedraw, BOOL fFrame, HRGN updateRegion,const POINT *updateOffset);
  26. BOOL BrowserControl_EnableChildren(HWND hControl, BOOL fEnable);
  27. BOOL BrowserControl_SetBlockedState(HWND hControl, BOOL fBlocked);
  28. #endif // NULLSOFT_WINAMP_OMBROWSER_UI_INTERNAL_HEADER