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
Copy file name to clipboardExpand all lines: docs/mfc/reference/add-idl-mfc-method-wizard.md
+14-14Lines changed: 14 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -18,20 +18,20 @@ This wizard differs from the [Add Method](../../ide/adding-a-method-visual-cpp.m
18
18
- It's specific to MFC, ActiveX, or ATL projects that support MFC. For ATL projects that don't support MFC, only the **Add Method** wizard is available.
19
19
- It adds the following entries if a Dispatch map is found in the project:
- It generates the following associated method implementation:
28
28
29
-
```cpp
30
-
void CMFCApplication2Doc::internalName()
31
-
{
32
-
AFX_MANAGE_STATE(AfxGetAppModuleState());
33
-
// TODO: Add your dispatch handler code here
34
-
}
29
+
> ```cpp
30
+
void CMFCApplication2Doc::internalName()
31
+
{
32
+
AFX_MANAGE_STATE(AfxGetAppModuleState());
33
+
// TODO: Add your dispatch handler code here
34
+
}
35
35
```
36
36
37
37
## Add a method to an interface
@@ -123,15 +123,15 @@ The following section describes the Add IDL MFC Method wizard UI:
123
123
124
124
-**`id`**
125
125
126
-
Sets the numeric ID that identifies the method. For more information, see [id](/windows/win32/midl/id) in the [MIDL reference](/windows/win32/midl/midl-language-reference.md).
126
+
Sets the numeric ID that identifies the method. For more information, see [`id`](/windows/win32/midl/id) in the [MIDL reference](/windows/win32/midl/midl-language-reference.md).
127
127
128
128
-**`call_as`**
129
129
130
-
Specifies the name of the remote method to map to this local method. For more information, see [call_as](/windows/win32/midl/call-as) in the [MIDL reference](/windows/win32/midl/midl-language-reference.md).
130
+
Specifies the name of the remote method to map to this local method. For more information, see [`call_as`](/windows/win32/midl/call-as) in the [MIDL reference](/windows/win32/midl/midl-language-reference.md).
131
131
132
132
-**`helpcontext`**
133
133
134
-
Specifies a context ID that lets the user view information about this method in the Help file. For more information, see [helpcontext](/windows/win32/Midl/helpcontext) in the [MIDL reference](/windows/win32/midl/midl-language-reference.md).
134
+
Specifies a context ID that lets the user view information about this method in the Help file. For more information, see [`helpcontext`](/windows/win32/Midl/helpcontext) in the [MIDL reference](/windows/win32/midl/midl-language-reference.md).
135
135
136
136
-**`helpstring`**
137
137
@@ -140,4 +140,4 @@ The following section describes the Add IDL MFC Method wizard UI:
0 commit comments