You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit afa33d6
Browse filesBrowse the repository at this point in the historyBrowse files
Colin Robertson
authored
Bulk fix to remove all visible tab characters (#2671)
You will see that this file has a class called `CProxy_IPolyCtlEvents` that derives from `IConnectionPointImpl`. _IPolyCtlEvents_CP.h now defines the two methods `Fire_ClickIn` and `Fire_ClickOut`, which take the two coordinate parameters. You call these methods when you want to fire an event from your control.
Copy file name to clipboardExpand all lines: docs/atl/changing-the-drawing-code-atl-tutorial-part-4.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,14 +37,14 @@ Start by adding support for the math functions `sin` and `cos`, which will be us
37
37
38
38
```cpp
39
39
public CComControl<CPolyCtl>,
40
-
public IProvideClassInfo2Impl<&CLSID_PolyCtl, &DIID__IPolyCtlEvents, &LIBID_PolygonLib>
40
+
public IProvideClassInfo2Impl<&CLSID_PolyCtl, &DIID__IPolyCtlEvents, &LIBID_PolygonLib>
41
41
```
42
42
43
43
and in `BEGIN_COM_MAP(CPolyCtl)`, add the lines:
44
44
45
45
```cpp
46
46
COM_INTERFACE_ENTRY(IProvideClassInfo)
47
-
COM_INTERFACE_ENTRY(IProvideClassInfo2)
47
+
COM_INTERFACE_ENTRY(IProvideClassInfo2)
48
48
```
49
49
50
50
1. Once the polygon points are calculated, they will be stored in an array of type `POINT`, so add the array after the definition statement `short m_nSides;` in PolyCtl.h:
0 commit comments