diff options
author | George Hazan <george.hazan@gmail.com> | 2023-11-05 15:27:21 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2023-11-05 15:27:26 +0300 |
commit | 63ed39f2286560d410b97b6b6ad75e9ed68cd30e (patch) | |
tree | b46a607dde8407e3cbb4356e80c89832e33127d6 /include/m_popup.h | |
parent | d933dad982eaee4f82e9d31dade1beaf0d3cf50f (diff) |
Popup+ specific functionality localized inside Popup+
Diffstat (limited to 'include/m_popup.h')
-rw-r--r-- | include/m_popup.h | 58 |
1 files changed, 0 insertions, 58 deletions
diff --git a/include/m_popup.h b/include/m_popup.h index 039b05e9fe..48c264ed56 100644 --- a/include/m_popup.h +++ b/include/m_popup.h @@ -243,64 +243,6 @@ __forceinline int PUModifyActionIcon(HWND hWndPopup, WPARAM wParam, LPARAM lPara EXTERN_C MIR_APP_DLL(int) PURegisterActions(POPUPACTION *actions, int count);
-// Popup/RegisterNotification
-// Registers your action in popup action list
-// wParam = (WPARAM)(LPPOPUPNOTIFICATION)info
-// lParam = 0
-// Returns: handle of registered notification or sero on failure
-
-#define PNAF_CALLBACK 0x01
-
-#define POPUP_ACTION_NOTHING LPGEN("Do nothing")
-#define POPUP_ACTION_DISMISS LPGEN("Dismiss popup")
-
-struct POPUPNOTIFYACTION
-{
- char lpzTitle[64];
- uint32_t dwFlags;
- union
- {
- struct
- {
- char lpzLModule[MAXMODULELABELLENGTH];
- char lpzLSetting[MAXMODULELABELLENGTH];
- DBVARIANT dbvLData;
- char lpzRModule[MAXMODULELABELLENGTH];
- char lpzRSetting[MAXMODULELABELLENGTH];
- DBVARIANT dbvRData;
- };
- struct
- {
- uint32_t dwCookie;
- void(*pfnCallback)(HWND hwnd, UINT message, WPARAM wparam, LPARAM lparam, uint32_t cookie);
- };
- };
-};
-
-#define PNF_CONTACT 0x01
-
-struct POPUPNOTIFICATION
-{
- int cbSize;
- uint32_t dwFlags; // set of PNF_* flags
- char lpzGroup[MAXMODULELABELLENGTH];
- char lpzName[MAXMODULELABELLENGTH];
- HANDLE lchIcoLib; // gotten from icolib
- COLORREF colorBack; // this will be registered in fontservice
- COLORREF colorText; // this will be registered in fontservice
- int iSeconds; // default timeout
- int actionCount; // for unified action comboboxes
- POPUPNOTIFYACTION *lpActions;
- char *lpzLAction;
- char *lpzRAction;
- char *pszReserved1; // reserved for future use
- #ifdef _WINDOWS
- DLGPROC pfnReserved2; // reserved for future use
- #endif
-};
-
-EXTERN_C MIR_APP_DLL(HANDLE) PURegisterNotification(POPUPNOTIFICATION *notification);
-
/* Popup/UnhookEventAsync
Using of "UnhookEvent" inside PluginWindowProc in conjunction with HookEventMessage
may cause deadlocks. Use this service instead. It will queue event unhook into main
|