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 75be4b8
Browse filesBrowse the repository at this point in the historyBrowse files
Use this page of the wizard to identify additional user element options for the control. This page is available for controls identified as **Standard controls** under **Control type** on the [Options, ATL Control Wizard](../../atl/reference/options-atl-control-wizard.md) page.
19
19
20
20
## UIElement List
21
-
**View status**
22
-
Sets the appearance of the control within the container.
21
+
**View status**
22
+
Sets the appearance of the control within the container.
23
23
24
24
-**Opaque**: Sets the VIEWSTATUS_OPAQUE bit in the [VIEWSTATUS](http://msdn.microsoft.com/library/windows/desktop/ms687201) enumeration and draws the entire control rectangle passed to the [CComControlBase::OnDraw](../../atl/reference/ccomcontrolbase-class.md#ondraw) method. The control appears completely opaque, and none of the container shows behind the control boundaries.
This option is available only if the **Opaque** option is also selected.
33
33
34
-
**Add control based on**
35
-
Sets the control to be based on a Windows control type by adding a [CContainedWindow](ccontainedwindowt-class.md) data member to the class implementing the control. It also adds a message map and message handler functions to handle Windows messages for the control. Choose from the list the type of Windows control you want to create, if any.
34
+
**Add control based on**
35
+
Sets the control to be based on a Windows control type by adding a [CContainedWindow](ccontainedwindowt-class.md) data member to the class implementing the control. It also adds a message map and message handler functions to handle Windows messages for the control. Choose from the list the type of Windows control you want to create, if any.
Sets additional appearance and behavior options for the control.
69
+
**Misc status**
70
+
Sets additional appearance and behavior options for the control.
71
71
72
72
-**Invisible at run-time**: Sets the control to be invisible at run time. You can use invisible controls to perform operations in the background, such as firing events at timed intervals.
73
73
74
74
-**Acts like button**: Sets the OLEMISC_ACTSLIKEBUTTON bit in the [OLEMISC](http://msdn.microsoft.com/library/windows/desktop/ms678497) enumeration to enable a control to act like a button. If the container has marked the control's client site as a default button, selecting this option enables your button control to display itself as a default button by drawing itself with a thicker frame. See [CComControlBase::GetAmbientDisplayAsDefault](../../atl/reference/ccomcontrolbase-class.md#getambientdisplayasdefault) for more information.
75
75
76
76
-**Acts like label**: Sets the OLEMISC_ACTSLIKELABEL bit in the OLEMISC enumeration to enable a control to replace the container's native label. The container determines what to do with this flag, if anything.
77
77
78
-
**Other**
79
-
Sets additional behavior options for the control.
78
+
**Other**
79
+
Sets additional behavior options for the control.
80
80
81
81
-**Normalized DC**: Sets the control to create a normalized device context when it is called to draw itself. This action standardizes the control's appearance, but it makes drawing less efficient.
Copy file name to clipboardExpand all lines: docs/atl/reference/atl-ole-db-consumer-wizard.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,13 +19,13 @@ This wizard sets up an OLE DB consumer class with the data bindings necessary to
19
19
> This wizard requires you to click the **Data Source** button to select a data source before entering names in the `Class` and **.h file** fields.
20
20
21
21
## UIElement List
22
-
**Data Source**
23
-
The **Data Source** button lets you set up the specified data source using the specified OLE DB provider. When you click this button, the **Data Link Properties** dialog box appears. For more information on building connection strings and the **Data Link Properties** dialog box, see [Data Link API Overview](https://msdn.microsoft.com/library/ms718102.aspx) in the Windows SDK documentation.
22
+
**Data Source**
23
+
The **Data Source** button lets you set up the specified data source using the specified OLE DB provider. When you click this button, the **Data Link Properties** dialog box appears. For more information on building connection strings and the **Data Link Properties** dialog box, see [Data Link API Overview](https://msdn.microsoft.com/library/ms718102.aspx) in the Windows SDK documentation.
24
24
25
25
> [!NOTE]
26
26
> In previous releases, Shift-clicking the **Data Source** button opened a File Open dialog to allow you to select a Data Link (.udl) file. This functionality is no longer supported.
27
27
28
-
The dialog box has four tabs:
28
+
The dialog box has four tabs:
29
29
30
30
-**Provider** tab
31
31
@@ -37,7 +37,7 @@ This wizard sets up an OLE DB consumer class with the data bindings necessary to
37
37
38
38
The following additional information describes the tabs in the **Data Link Properties** dialog box.
39
39
40
-
Click **OK** to finish. The **Select Database Object** dialog box appears. From this dialog box, select the table, view, or stored procedure that the consumer will use.
40
+
Click **OK** to finish. The **Select Database Object** dialog box appears. From this dialog box, select the table, view, or stored procedure that the consumer will use.
41
41
42
42
**Provider**
43
43
Select an appropriate provider to manage the connection to the data source. The type of provider is typically determined by the type of database to which you are connecting. Click the **Next** button or click the **Connection** tab.
@@ -83,14 +83,14 @@ The following additional information describes the tabs in the **Data Link Prope
83
83
84
84
4. Click **Test Connection**; if the test succeeds, click **OK**. If not, check your logon information, try another database, or try another data server.
85
85
86
-
**Advanced**
86
+
**Advanced**
87
87
**Network settings:** Specify the **Impersonation level** (the level of impersonation that the server is allowed to use when impersonating the client; corresponds directly to RPC impersonation levels) and **Protection level** (the level of protection of data sent between client and server; corresponds directly to RPC protection levels).
88
88
89
89
**Other:** In **Connect timeout**, specify the number of seconds of idle time allowed before a timeout occurs. In **Access permissions**, specify the access permissions on the data connection.
90
90
91
91
For more information about advanced initialization properties, refer to the documentation provided with each specific OLE DB provider.
92
92
93
-
**All**
93
+
**All**
94
94
This tab displays a summary of the initialization properties for the data source and connection you have specified. You can edit these values.
95
95
96
96
Click **OK** to finish. The **Select Database Object** dialog box appears. From this dialog box, select the table, view, or stored procedure that the consumer will use.
Copy file name to clipboardExpand all lines: docs/cpp/cpp-constant-expressions.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ ms.workload: ["cplusplus"]
14
14
# C++ Constant Expressions
15
15
A *constant* value is one that doesn't change. C++ provides two keywords to enable you to express the intent that an object is not intended to be modified, and to enforce that intent.
16
16
17
-
C++ requires constant expressions — expressions that evaluate to a constant — for declarations of:
17
+
C++ requires constant expressions — expressions that evaluate to a constant — for declarations of:
18
18
19
19
- Array bounds
20
20
@@ -24,7 +24,7 @@ A *constant* value is one that doesn't change. C++ provides two keywords to enab
24
24
25
25
- Enumeration initializers
26
26
27
-
The only operands that are legal in constant expressions are:
27
+
The only operands that are legal in constant expressions are:
28
28
29
29
- Literals
30
30
@@ -34,16 +34,16 @@ A *constant* value is one that doesn't change. C++ provides two keywords to enab
34
34
35
35
-**sizeof** expressions
36
36
37
-
Nonintegral constants must be converted (either explicitly or implicitly) to integral types to be legal in a constant expression. Therefore, the following code is legal:
37
+
Nonintegral constants must be converted (either explicitly or implicitly) to integral types to be legal in a constant expression. Therefore, the following code is legal:
38
38
39
39
```cpp
40
40
constdouble Size = 11.0;
41
41
char chArray[(int)Size];
42
42
```
43
43
44
-
Explicit conversions to integral types are legal in constant expressions; all other types and derived types are illegal except when used as operands to the `sizeof` operator.
44
+
Explicit conversions to integral types are legal in constant expressions; all other types and derived types are illegal except when used as operands to the `sizeof` operator.
45
45
46
-
The comma operator and assignment operators cannot be used in constant expressions.
46
+
The comma operator and assignment operators cannot be used in constant expressions.
47
47
48
48
## See Also
49
49
[Types of Expressions](../cpp/types-of-expressions.md)
Copy file name to clipboardExpand all lines: docs/mfc/reference/colecurrency-class.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -224,25 +224,25 @@ enum CurrencyStatus{
224
224
```
225
225
226
226
### Remarks
227
-
For a brief description of these status values, see the following list:
227
+
For a brief description of these status values, see the following list:
228
228
229
229
-`COleCurrency::valid` Indicates that this `COleCurrency` object is valid.
230
230
231
231
-`COleCurrency::invalid` Indicates that this `COleCurrency` object is invalid; that is, its value may be incorrect.
232
232
233
233
-`COleCurrency::null` Indicates that this `COleCurrency` object is null, that is, that no value has been supplied for this object. (This is "null" in the database sense of "having no value," as opposed to the C++ NULL.)
234
234
235
-
The status of a `COleCurrency` object is invalid in the following cases:
235
+
The status of a `COleCurrency` object is invalid in the following cases:
236
236
237
-
- If its value is set from a VARIANT or `COleVariant` value that could not be converted to a currency value.
237
+
- If its value is set from a VARIANT or `COleVariant` value that could not be converted to a currency value.
238
238
239
-
- If this object has experienced an overflow or underflow during an arithmetic assignment operation, for example `+=` or **\*=**.
239
+
- If this object has experienced an overflow or underflow during an arithmetic assignment operation, for example `+=` or **\*=**.
240
240
241
-
- If an invalid value was assigned to this object.
241
+
- If an invalid value was assigned to this object.
242
242
243
-
- If the status of this object was explicitly set to invalid using [SetStatus](#setstatus).
243
+
- If the status of this object was explicitly set to invalid using [SetStatus](#setstatus).
244
244
245
-
For more information on operations that may set the status to invalid, see the following member functions:
245
+
For more information on operations that may set the status to invalid, see the following member functions:
246
246
247
247
-[COleCurrency](#colecurrency)
248
248
@@ -256,8 +256,8 @@ enum CurrencyStatus{
256
256
257
257
-[operator *=, /=](#operator_star_div_eq)
258
258
259
-
> [!CAUTION]
260
-
> This data member is for advanced programming situations. You should use the inline member functions [GetStatus](#getstatus) and [SetStatus](#setstatus). See `SetStatus` for further cautions regarding explicitly setting this data member.
259
+
> [!CAUTION]
260
+
> This data member is for advanced programming situations. You should use the inline member functions [GetStatus](#getstatus) and [SetStatus](#setstatus). See `SetStatus` for further cautions regarding explicitly setting this data member.
Copy file name to clipboardExpand all lines: docs/mfc/reference/coledatasource-class.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -222,22 +222,22 @@ DROPEFFECT DoDragDrop(
222
222
```
223
223
224
224
### Parameters
225
-
*dwEffects*
226
-
Drag-and-drop operations that are allowed on this data source. Can be one or more of the following:
225
+
*dwEffects*
226
+
Drag-and-drop operations that are allowed on this data source. Can be one or more of the following:
227
227
228
-
- DROPEFFECT_COPY A copy operation could be performed.
228
+
- DROPEFFECT_COPY A copy operation could be performed.
229
229
230
-
- DROPEFFECT_MOVE A move operation could be performed.
230
+
- DROPEFFECT_MOVE A move operation could be performed.
231
231
232
-
- DROPEFFECT_LINK A link from the dropped data to the original data could be established.
232
+
- DROPEFFECT_LINK A link from the dropped data to the original data could be established.
233
233
234
-
- DROPEFFECT_SCROLL Indicates that a drag scroll operation could occur.
234
+
- DROPEFFECT_SCROLL Indicates that a drag scroll operation could occur.
235
235
236
-
*lpRectStartDrag*
237
-
Pointer to the rectangle that defines where the drag actually starts. For more information, see the following Remarks section.
236
+
*lpRectStartDrag*
237
+
Pointer to the rectangle that defines where the drag actually starts. For more information, see the following Remarks section.
238
238
239
-
*pDropSource*
240
-
Points to a drop source. If NULL then a default implementation of [COleDropSource](../../mfc/reference/coledropsource-class.md) will be used.
239
+
*pDropSource*
240
+
Points to a drop source. If NULL then a default implementation of [COleDropSource](../../mfc/reference/coledropsource-class.md) will be used.
241
241
242
242
### Return Value
243
243
Drop effect generated by the drag-and-drop operation; otherwise DROPEFFECT_NONE if the operation never begins because the user released the mouse button before leaving the supplied rectangle.
0 commit comments