Skip to content

Commit 4cdc6e4

Browse files
TylerMSFTTylerMSFT
authored andcommitted
experimenting with indentation
1 parent 47d7816 commit 4cdc6e4

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

docs/mfc/reference/add-idl-mfc-method-wizard.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -18,21 +18,21 @@ This wizard differs from the [Add Method](../../ide/adding-a-method-visual-cpp.m
1818
- 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.
1919
- It adds the following entries if a Dispatch map is found in the project:
2020

21-
> ```cpp
22-
BEGIN_DISPATCH_MAP(CMFCApplication2Doc, CDocument)
23-
DISP_FUNCTION_ID(CMFCApplication2Doc, "methodName", dispidmethodName, internalName, VT_EMPTY, VTS_NONE)
24-
END_DISPATCH_MAP()
25-
```
21+
```cpp
22+
BEGIN_DISPATCH_MAP(CMFCApplication2Doc, CDocument)
23+
DISP_FUNCTION_ID(CMFCApplication2Doc, "methodName", dispidmethodName, internalName, VT_EMPTY, VTS_NONE)
24+
END_DISPATCH_MAP()
25+
```
2626
2727
- It generates the following associated method implementation:
2828
29-
> ```cpp
30-
void CMFCApplication2Doc::internalName()
31-
{
32-
AFX_MANAGE_STATE(AfxGetAppModuleState());
33-
// TODO: Add your dispatch handler code here
34-
}
35-
```
29+
```cpp
30+
void CMFCApplication2Doc::internalName()
31+
{
32+
AFX_MANAGE_STATE(AfxGetAppModuleState());
33+
// TODO: Add your dispatch handler code here
34+
}
35+
```
3636

3737
## Add a method to an interface
3838

0 commit comments

Comments
 (0)