Skip to content

Commit 269f99c

Browse files
Merge pull request #2003 from mikeblome/mb-click
add DISP_ID per user feedback
2 parents b33b55d + edf014d commit 269f99c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/atl/codesnippet/CPP/hosting-activex-controls-using-atl-axhost_1.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public :
5353
END_MSG_MAP()
5454

5555
BEGIN_SINK_MAP(CMainWindow)
56-
SINK_ENTRY_EX(1, __uuidof(DCalendarEvents), 1, OnClick)
56+
SINK_ENTRY_EX(1, __uuidof(DCalendarEvents), DISPID_CLICK, OnClick)
5757
END_SINK_MAP()
5858

5959
// Helper to display events

0 commit comments

Comments
 (0)