1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677 |
- #ifndef NULLSOFT_WINAMP_OMBROWSER_POPUP_HEADER
- #define NULLSOFT_WINAMP_OMBROWSER_POPUP_HEADER
- #if defined(_MSC_VER) && (_MSC_VER >= 1020)
- #pragma once
- #endif
- #include "./browserUiCommon.h"
- #define NWC_OMBROWSERPOPUP L"Nullsoft_omBrowserPopup"
- static const GUID WTID_BrowserPopup =
- { 0x6efb8af7, 0xc54f, 0x43fb, { 0xb1, 0xdd, 0xdf, 0x2e, 0xe7, 0xe6, 0x77, 0x3 } }
- static const GUID SkinClass_BrowserPopup =
- { 0x00000010, 0x0000, 0x00FF, { 0x80, 0x00, 0xc5, 0xe2, 0xfb, 0x8c, 0xd5, 0xb } }
- typedef void (CALLBACK *DISPATCHAPC)(IDispatch *pDisp, ULONG_PTR )
- HWND BrowserPopup_Create(obj_ombrowser *browserManager, ifc_omservice *service, UINT fStyle, INT x, INT y, INT cx, INT cy, HWND hOwner, DISPATCHAPC callback, ULONG_PTR param)
- #define BrowserPopup_GetToolbar( __hwndPopup)\
- BrowserControl_GetToolbar(__hwndPopup)
-
- #define BrowserPopup_GetStatusbar( __hwndPopup)\
- BrowserControl_GetStatusbar(__hwndPopup)
- #define BrowserPopup_GetHost( __hwndPopup)\
- BrowserControl_GetHost(__hwndPopup)
- #define BrowserPopup_UpdateSkin( __hwndPopup, __fRedraw)\
- BrowserControl_UpdateSkin(__hwndPopup, __fRedraw)
-
- #define BrowserPopup_GetService( __hwndPopup, __serviceOut)\
- BrowserControl_GetService(__hwndPopup, __serviceOut)
- #define BrowserPopup_Navigate( __hwndPopup, __navigateUrl, __scheduleBlocked)\
- BrowserControl_Navigate(__hwndPopup, __navigateUrl, __scheduleBlocked)
- #define BrowserPopup_NavigateHome( __hwndPopup, __scheduleBlocked)\
- BrowserPopup_Navigate((__hwndPopup), NAVIGATE_HOME, (__scheduleBlocked))
- #define BrowserPopup_WriteDocument( __hwndPopup, __documentData, __scheduleBlocked)\
- BrowserControl_WriteDocument(__hwndPopup, __documentData, __scheduleBlocked)
- #define BrowserPopup_ShowOperation( __hwndView, __pOperationInfo)\
- BrowserControl_ShowOperation(__hwndView, __pOperationInfo)
- #define NBPM_PARENTCHANGED (NBPM_FIRST + 1)
- #define NBPM_SKINREFRESHING (NBPM_FIRST + 2)
- #define BrowserPopup_SkinRefreshing( __hwndPopup)\
- SENDMSG((__hwndPopup), NBPM_SKINREFRESHING, 0, 0L)
- #define NBPM_SKINREFRESHED (NBPM_FIRST + 3)
- #define BrowserPopup_SkinRefreshed( __hwndPopup)\
- SENDMSG((__hwndPopup), NBPM_SKINREFRESHED, 0, 0L)
- #define NBPM_SETFRAMEPOS (NBPM_FIRST + 4)
- #define BrowserPopup_SetFramePos( __hwndPopup, __hwndInsertAfter, __x, __y, __cx, __cy, __flags)\
- { WINDOWPOS wp
- SENDMSG((__hwndPopup), NBPM_SETFRAMEPOS, 0, (LPARAM)(&wp))
- #define NBPM_ACTIVATEFRAME (NBPM_FIRST + 5)
- #define BrowserPopup_ActivateFrame( __hwndPopup)\
- SENDMSG((__hwndPopup), NBPM_ACTIVATEFRAME, 0, 0L)
- #define NBPM_REFRESHTITLE (NBPM_FIRST + 6)
- #define BrowserPopup_RefreshTitle( __hwndPopup)\
- ((BOOL)SENDMSG((__hwndPopup), NBPM_REFRESHTITLE, 0, 0L))
- #endif
|