Kaydet (Commit) 09682385 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Expand single use of SendCommand macro

Change-Id: I8af259f55e8fc318ccdbc69bba00ae0d7d3aacdb
üst 63915326
......@@ -41,10 +41,6 @@ using namespace winwrap;
#define HWN_BORDERDOUBLECLICKED 1
#define CBHATCHWNDEXTRA (sizeof(LONG))
#define SZCLASSHATCHWIN TEXT("hatchwin")
#define SendCommand(hWnd, wID, wCode, hControl) \
SendMessage(hWnd, WM_COMMAND, MAKEWPARAM(wID, wCode) \
, (LPARAM)hControl)
typedef CHatchWin *PCHatchWin;
......@@ -448,8 +444,10 @@ LRESULT APIENTRY winwrap::HatchWndProc(
*/
if (NULL!=phw->m_hWndAssociate)
{
SendCommand(phw->m_hWndAssociate, phw->m_uID
, HWN_BORDERDOUBLECLICKED, hWnd);
SendMessage(
phw->m_hWndAssociate, WM_COMMAND,
MAKEWPARAM(phw->m_uID, HWN_BORDERDOUBLECLICKED),
(LPARAM) hWnd);
}
break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment