summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2016-09-07 18:33:37 +0000
committerGeorge Hazan <george.hazan@gmail.com>2016-09-07 18:33:37 +0000
commit5fdbe74ef5349341f2f513c92c920a57e9c9648b (patch)
treed33c28758ee685e022494c748ba5e866a37f78bf /plugins
parent41d8529ee8f6ab11090fccfe848189ba185aadf4 (diff)
attempt to fix rclick on popups in NewXstatusNotify
git-svn-id: http://svn.miranda-ng.org/main/trunk@17273 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins')
-rw-r--r--plugins/NewXstatusNotify/src/popup.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/NewXstatusNotify/src/popup.cpp b/plugins/NewXstatusNotify/src/popup.cpp
index 9dfc797344..386f9f3196 100644
--- a/plugins/NewXstatusNotify/src/popup.cpp
+++ b/plugins/NewXstatusNotify/src/popup.cpp
@@ -103,9 +103,9 @@ void QueryAwayMessage(HWND hWnd, PLUGINDATA *pdp)
(CallProtoService(szProto, PS_GETCAPS, PFLAGNUM_3, 0) & Proto_Status2Flag(pdp->newStatus)))
{
pdp->hWnd = hWnd;
- //The following HookEventMessage will hook the ME_PROTO_ACK event and send a WM_AWAYMSG to hWnd when the hooks get notified.
+ // The following HookEventMessage will hook the ME_PROTO_ACK event and send a WM_AWAYMSG to hWnd when the hooks get notified.
pdp->hAwayMsgHook = HookEventParam(ME_PROTO_ACK, AwayMsgHook, (LPARAM)pdp);
- //The following instruction asks Miranda to retrieve the away message and associates a hProcess (handle) to this request. This handle will appear in the ME_PROTO_ACK event.
+ // The following instruction asks Miranda to retrieve the away message and associates a hProcess (handle) to this request. This handle will appear in the ME_PROTO_ACK event.
pdp->hAwayMsgProcess = (HANDLE)ProtoChainSend(hContact, PSS_GETAWAYMSG, 0, 0);
}
}
@@ -154,14 +154,14 @@ LRESULT CALLBACK PopupDlgProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lPa
PLUGINDATA *pdp = NULL;
switch (message) {
- case WM_MEASUREITEM: //Needed by the contact's context menu
+ case WM_MEASUREITEM: // Needed by the contact's context menu
return Menu_MeasureItem(lParam);
- case WM_DRAWITEM: //Needed by the contact's context menu
+ case WM_DRAWITEM: // Needed by the contact's context menu
return Menu_DrawItem(lParam);
case WM_COMMAND:
- //This one returns TRUE if it processed the menu command, and FALSE if it did not process it.
+ // This one returns TRUE if it processed the menu command, and FALSE if it did not process it.
if (Clist_MenuProcessCommand(LOWORD(wParam), MPCF_CONTACTMENU, PUGetContact(hwnd)))
break;