Skip to content

Commit b2373ef

Browse files
Corrected some formatting from bold to monospace.
1 parent f189a52 commit b2373ef

4 files changed

Lines changed: 61 additions & 61 deletions

docs/ide/adding-a-member-function-visual-cpp.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,12 @@ Once you've added the member function using the wizard, you can edit the code in
3333

3434
Sets the return type for the member function you're adding. You can provide your own return type, or you can select from the list of available types. For information about the types, see [Fundamental types](../cpp/fundamental-types-cpp.md).
3535

36-
| | | |
37-
|------------|-------------------|-------------------|
38-
| **char** | **int** | **unsigned int** |
39-
| **double** | **long** | **unsigned long** |
40-
| **float** | **short** | **void** |
41-
|**HRESULT** | **unsigned char** | |
36+
| | | |
37+
|---|---|---|
38+
| `char` | `int` | `unsigned int` |
39+
| `double` | `long` | `unsigned long` |
40+
| `float` | `short` | `void` |
41+
| `HRESULT` | `unsigned char` | |
4242

4343
- **Function name**
4444

@@ -48,11 +48,11 @@ Once you've added the member function using the wizard, you can edit the code in
4848

4949
Sets the type of parameter you're adding for the member function, if the member function has parameters. You can provide your own parameter type, or you can select from the list of available types.
5050

51-
| | | |
52-
|------------|-----------|-------------------|
53-
| **char** | **int** | **unsigned char** |
54-
| **double** | **long** | **unsigned int** |
55-
| **float** | **short** | **unsigned long** |
51+
| | | |
52+
|---|---|---|
53+
| `char` | `int` | `unsigned char` |
54+
| `double` | `long` | `unsigned int` |
55+
| `float` | `short` | `unsigned long` |
5656

5757
- **Parameter name**
5858

@@ -64,7 +64,7 @@ Once you've added the member function using the wizard, you can edit the code in
6464

6565
- **Access**
6666

67-
Sets the access to the member function. Access modifiers are keywords that specify the access other classes have to the member function. For more information about specifying access, see [Member-access control](../cpp/member-access-control-cpp.md). The member function access level is set to **public** by default.
67+
Sets the access to the member function. Access modifiers are keywords that specify the access other classes have to the member function. For more information about specifying access, see [Member-access control](../cpp/member-access-control-cpp.md). The member function access level is set to `public` by default.
6868

6969
- [public](../cpp/public-cpp.md)
7070
- [protected](../cpp/protected-cpp.md)

docs/ide/adding-a-member-variable-visual-cpp.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ This wizard adds a member variable declaration to the header file. Depending on
5252

5353
- **Access**
5454

55-
Sets the access to the member variable. Access modifiers are keywords that specify the access other classes have to the member variable. For more information about specifying access, see [member-access control](../cpp/member-access-control-cpp.md). The member variable access level is set to **public** by default.
55+
Sets the access to the member variable. Access modifiers are keywords that specify the access other classes have to the member variable. For more information about specifying access, see [member-access control](../cpp/member-access-control-cpp.md). The member variable access level is set to `public` by default.
5656

5757
- [public](../cpp/public-cpp.md)
5858
- [protected](../cpp/protected-cpp.md)
@@ -68,11 +68,11 @@ This wizard adds a member variable declaration to the header file. Depending on
6868

6969
|||
7070
|-|-|
71-
|**char**|**short**|
72-
|**double**|**unsigned char**|
73-
|**float**|**unsigned int**|
74-
|**int**|**unsigned long**|
75-
|**long**||
71+
|`char`|`short`|
72+
|`double`|`unsigned char`|
73+
|`float`|`unsigned int`|
74+
|`int`|`unsigned long`|
75+
|`long`||
7676

7777
- If you're adding a member variable for a dialog box control, this box is filled with the type of object that is returned for a control or value. If you select **Control**, then **Variable type** specifies the base class of the control you select in the **Control ID** box. If the dialog box control can hold a value, and if you select **Value**, then **Variable type** specifies the appropriate type for the value that control can hold. For more information, see [dialog box controls and variable types](#dialog-box-controls-and-variable-types).
7878

@@ -109,11 +109,11 @@ This wizard adds a member variable declaration to the header file. Depending on
109109

110110
- **Min value**
111111

112-
Available only when the variable type is **BOOL**, `int`, **UINT**, **long**, `DWORD`, **float**, **double**, **BYTE**, **short**, [COLECurrency](../mfc/reference/colecurrency-class.md) or [CTime](../atl-mfc-shared/reference/ctime-class.md). Indicates the lowest value acceptable for a scale or date range.
112+
Available only when the variable type is `BOOL`, `int`, `UINT`, `long`, `DWORD`, `float`, `double`, `BYTE`, `short`, [COLECurrency](../mfc/reference/colecurrency-class.md) or [CTime](../atl-mfc-shared/reference/ctime-class.md). Indicates the lowest value acceptable for a scale or date range.
113113

114114
- **Max value**
115115

116-
Available only when the variable type is **BOOL**, `int`, **UINT**, **long**, `DWORD`, **float**, **double**, **BYTE**, **short**, `COLECurrency`, or `CTime`. Indicates the highest value acceptable for a scale or date range.
116+
Available only when the variable type is `BOOL`, `int`, `UINT`, `long`, `DWORD`, `float`, `double`, `BYTE`, `short`, `COLECurrency`, or `CTime`. Indicates the highest value acceptable for a scale or date range.
117117

118118
- **.h file**
119119

@@ -137,10 +137,10 @@ The following table describes all the dialog box control types that are supporte
137137
|-------------|------------------|---------------------------|-------------------------|-----------------------------------------|
138138
|Animation control|SysAnimate32|[CAnimateCtrl](../mfc/reference/canimatectrl-class.md)|None; control only|N/A|
139139
|Button|BUTTON|[CButton](../mfc/reference/cbutton-class.md)|None; control only|N/A|
140-
|Check box|CHECK|[CButton](../mfc/reference/cbutton-class.md)|**BOOL**|Min value/Max value|
140+
|Check box|CHECK|[CButton](../mfc/reference/cbutton-class.md)|`BOOL`|Min value/Max value|
141141
|Combo box|COMBOBOX|[CComboBox](../mfc/reference/ccombobox-class.md)|[CString](../atl-mfc-shared/reference/cstringt-class.md)|Max characters|
142142
|Date time picker control|SysDateTimePick32|[CDateTimeCtrl](../mfc/reference/cdatetimectrl-class.md)|[CTime](../atl-mfc-shared/reference/ctime-class.md)|Min value/max value|
143-
|Edit box|EDIT|[CEdit](../mfc/reference/cedit-class.md)|`CString`, int, UINT, long, DWORD, float, double, BYTE, short, BOOL, `COleDateTime`, or **COleCurrency**|Min value/max value; some support max characters|
143+
|Edit box|EDIT|[CEdit](../mfc/reference/cedit-class.md)|`CString`, int, UINT, long, DWORD, float, double, BYTE, short, BOOL, `COleDateTime`, or `COleCurrency`|Min value/max value; some support max characters|
144144
|Hotkey control|msctls_hotkey32|[CHotKeyCtrl](../mfc/reference/chotkeyctrl-class.md)|None; control only|N/A|
145145
|List box|LISTBOX|[CListBox](../mfc/reference/clistbox-class.md)|`CString`|Max characters|
146146
|List control|SysListView32|[CListCtrl](../mfc/reference/clistctrl-class.md)|None; control only|N/A|

docs/ide/adding-a-method-visual-cpp.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,9 @@ Use this wizard to add a method to an interface. Depending on the project type o
8686

8787
|Parameter attribute|Description|Allowed combinations|
8888
|-------------------------|-----------------|--------------------------|
89-
|**In**|Indicates that the parameter is passed from the calling procedure to the called procedure.|**in** only<br /><br /> **in** and **out**|
90-
|**Out**|Indicates that the pointer parameter is returned from the called procedure to the calling procedure (from the server to the client).|**out** only<br /><br /> **in** and **out**<br /><br /> **out** and **retval**|
91-
|**Retval**|Indicates that the parameter receives the return value of the member.|**retval** and out|
89+
|**In**|Indicates that the parameter is passed from the calling procedure to the called procedure.|`in` only<br /><br /> `in` and `out`|
90+
|**Out**|Indicates that the pointer parameter is returned from the called procedure to the calling procedure (from the server to the client).|`out` only<br /><br /> `in` and `out`<br /><br /> `out` and `retval`|
91+
|**Retval**|Indicates that the parameter receives the return value of the member.|`retval` and `out`|
9292

9393
- **Parameter type**
9494

@@ -119,25 +119,25 @@ Use this wizard to add a method to an interface. Depending on the project type o
119119

120120
Use this page of the Add Method Wizard to specify any interface definition language (IDL) settings for the method.
121121

122-
- **id**
122+
- `id`
123123

124124
Sets the numerical ID that identifies the method. For more information, see [id](/windows/desktop/Midl/id) in the *MIDL Reference*.
125125

126126
This box is unavailable for custom interfaces and isn't available for MFC dispinterfaces.
127127

128-
- **call_as**
128+
- `call_as`
129129

130130
Specifies the name of a remote method to which this local method can be mapped. For more information, see [call_as](/windows/desktop/Midl/call-as) in the *MIDL Reference*.
131131

132132
Not available for MFC dispinterfaces.
133133

134-
- **helpcontext**
134+
- `helpcontext`
135135

136136
Specifies a context ID that lets the user view information about this method in the Help file. For more information, see [helpcontext](/windows/desktop/Midl/helpcontext) in the *MIDL Reference*.
137137

138138
Not available for MFC dispinterfaces.
139139

140-
- **helpstring**
140+
- `helpstring`
141141

142142
Specifies a character string that's used to describe the element to which it applies. It's set by default to "method *Method name*." For more information, see [helpstring](/windows/desktop/Midl/helpstring) in the *MIDL Reference*.
143143

@@ -149,8 +149,8 @@ Use this page of the Add Method Wizard to specify any interface definition langu
149149

150150
|Attribute|Description|
151151
|---------------|-----------------|
152-
|**hidden**|Indicates that the method exists but shouldn't be displayed in a user-oriented browser. For more information, see [hidden](/windows/desktop/Midl/hidden) in the *MIDL Reference*.|
153-
|**source**|Indicates that a member of the method is a source of events. For more information, see [source](/windows/desktop/Midl/source) in the *MIDL Reference*.|
154-
|**local**|Specifies to the MIDL compiler that the method isn't remote. For more information, see [local](/windows/desktop/Midl/local) in the *MIDL Reference*.|
155-
|**restricted**|Specifies that the method can't be called arbitrarily. For more information, see [restricted](/windows/desktop/Midl/restricted) in the *MIDL Reference*.|
156-
|**vararg**|Specifies that the method takes a variable number of arguments. To accomplish this, the last argument must be a safe array of **VARIANT** type that contains the rest of the arguments. For more information, see [vararg](/windows/desktop/Midl/vararg) in the *MIDL Reference*.|
152+
|`hidden`|Indicates that the method exists but shouldn't be displayed in a user-oriented browser. For more information, see [hidden](/windows/desktop/Midl/hidden) in the *MIDL Reference*.|
153+
|`source`|Indicates that a member of the method is a source of events. For more information, see [source](/windows/desktop/Midl/source) in the *MIDL Reference*.|
154+
|`local`|Specifies to the MIDL compiler that the method isn't remote. For more information, see [local](/windows/desktop/Midl/local) in the *MIDL Reference*.|
155+
|`restricted`|Specifies that the method can't be called arbitrarily. For more information, see [restricted](/windows/desktop/Midl/restricted) in the *MIDL Reference*.|
156+
|`vararg`|Specifies that the method takes a variable number of arguments. To accomplish this, the last argument must be a safe array of `VARIANT` type that contains the rest of the arguments. For more information, see [vararg](/windows/desktop/Midl/vararg) in the *MIDL Reference*.|

0 commit comments

Comments
 (0)