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
|[Regular](../../build/regular-dlls-dynamically-linked-to-mfc.md)|None|Application class derived from `CWinApp`|None|
21
-
|[Regular](../../build/regular-dlls-dynamically-linked-to-mfc.md)|Automation|Application class derived from `CWinApp`|**DllGetClassObjectDllCanUnloadNowDllRegisterServer**|
21
+
|[Regular](../../build/regular-dlls-dynamically-linked-to-mfc.md)|Automation|Application class derived from `CWinApp`|`DllGetClassObjectDllCanUnloadNowDllRegisterServer`|
|[Regular](../../build/regular-dlls-dynamically-linked-to-mfc.md)|Window Sockets|Application class derived from `CWinApp`|`InitInstance` contains call to `AfxSocketInit`|
Specifies the link control's size and position. It can be either a [CRect](../../atl-mfc-shared/reference/crect-class.md) object or a [RECT](../../mfc/reference/rect-structure1.md) structure.
103
103
104
104
*pParentWnd*
105
-
Specifies the link control's parent window. It must not be `NULL`.
105
+
Specifies the link control's parent window. It must not be NULL.
106
106
107
107
*nID*
108
108
Specifies the link control's ID.
109
109
110
110
### Return Value
111
-
`true` if initialization was successful; otherwise `false`.
111
+
TRUE if initialization was successful; otherwise FALSE.
112
112
113
113
### Remarks
114
114
You construct a `CLinkCtrl` object in two steps. First, call the constructor and then call `Create`, which creates the link control and attaches it to the `CLinkCtrl` object. If you want to use extended windows styles with your control, call [CLinkCtrl::CreateEx](#createex) instead of `Create`.
Specifies the link control's size and position. It can be either a [CRect](../../atl-mfc-shared/reference/crect-class.md) object or a [RECT](../../mfc/reference/rect-structure1.md) structure.
160
160
161
161
*pParentWnd*
162
-
Specifies the link control's parent window. It must not be `NULL`.
162
+
Specifies the link control's parent window. It must not be NULL.
163
163
164
164
*nID*
165
165
Specifies the link control's ID.
166
166
167
167
### Return Value
168
-
`true` if initialization was successful; otherwise `false`.
168
+
TRUE if initialization was successful; otherwise FALSE.
169
169
170
170
### Remarks
171
171
Use `CreateEx` instead of [Create](#create) to apply extended Windows style constants.
A pointer to a [LITEM](http://msdn.microsoft.com/library/windows/desktop/bb760710) structure to receive item information.
222
222
223
223
### Return Value
224
-
Returns **TRUE** on success, **FALSE** on failure.
224
+
Returns TRUE on success, FALSE on failure.
225
225
226
226
### Remarks
227
227
This member function implements the behavior of the Win32 message [LM_GETITEM](http://msdn.microsoft.com/library/windows/desktop/bb760720), as described in the Windows SDK.
@@ -254,10 +254,10 @@ BOOL GetItemID(
254
254
The size in characters of the *szID* buffer.
255
255
256
256
### Return Value
257
-
Returns **TRUE** on success, **FALSE** on failure.
257
+
Returns TRUE on success, FALSE on failure.
258
258
259
259
> [!NOTE]
260
-
> This function also returns **FALSE** if the buffer of *szID or strID* is smaller than **MAX_LINKID_TEXT**.
260
+
> This function also returns FALSE if the buffer of *szID or strID* is smaller than MAX_LINKID_TEXT.
261
261
262
262
### Remarks
263
263
Retrieves the ID of a specific link control item. For more information, see the Win32 message [LM_GETITEM](http://msdn.microsoft.com/library/windows/desktop/bb760720) in the Windows SDK.
@@ -280,10 +280,10 @@ BOOL GetItemState(
280
280
The value of the specified state item.
281
281
282
282
*stateMask*
283
-
Combination of flags describing which state item to get. For a list of values, see the description of the **state** member in the [LITEM](http://msdn.microsoft.com/library/windows/desktop/bb760710) structure. Allowable items are identical to those allowed in **state**.
283
+
Combination of flags describing which state item to get. For a list of values, see the description of the `state` member in the [LITEM](http://msdn.microsoft.com/library/windows/desktop/bb760710) structure. Allowable items are identical to those allowed in `state`.
284
284
285
285
### Return Value
286
-
Returns **TRUE** on success, **FALSE** on failure.
286
+
Returns TRUE on success, FALSE on failure.
287
287
288
288
### Remarks
289
289
Retrieves the value of the specified state item of a specific link control item. For more information, see the Win32 message [LM_GETITEM](http://msdn.microsoft.com/library/windows/desktop/bb760720) in the Windows SDK.
@@ -316,10 +316,10 @@ BOOL GetItemUrl(
316
316
The size in characters of the *szURL* buffer.
317
317
318
318
### Return Value
319
-
Returns **TRUE** on success, **FALSE** on failure.
319
+
Returns TRUE on success, FALSE on failure.
320
320
321
321
> [!NOTE]
322
-
> This function also returns **FALSE** if the buffer of *szUrl or strUrl* is smaller than **MAX_LINKID_TEXT**.
322
+
> This function also returns FALSE if the buffer of *szUrl or strUrl* is smaller than MAX_LINKID_TEXT.
323
323
324
324
### Remarks
325
325
Retrieves the URL represented by the specified link control item. For more information, see the Win32 message [LM_GETITEM](http://msdn.microsoft.com/library/windows/desktop/bb760720) in the Windows SDK.
Pointer to a **LHITTESTINFO** structure containing any information about the link the user clicked.
336
+
Pointer to a `LHITTESTINFO` structure containing any information about the link the user clicked.
337
337
338
338
### Return Value
339
-
Returns **TRUE** on success, **FALSE** on failure.
339
+
Returns TRUE on success, FALSE on failure.
340
340
341
341
### Remarks
342
342
This member function implements the behavior of the Win32 message [LM_HITTEST](http://msdn.microsoft.com/library/windows/desktop/bb760722), as described in the Windows SDK.
@@ -353,7 +353,7 @@ BOOL SetItem(PLITEM pItem);
353
353
A pointer to a [LITEM](http://msdn.microsoft.com/library/windows/desktop/bb760710) structure containing the information to set.
354
354
355
355
### Return Value
356
-
Returns **TRUE** on success, **FALSE** on failure.
356
+
Returns TRUE on success, FALSE on failure.
357
357
358
358
### Remarks
359
359
This member function implements the behavior of the Win32 message [LM_SETITEM](http://msdn.microsoft.com/library/windows/desktop/bb760724), as described in the Windows SDK.
@@ -375,7 +375,7 @@ BOOL SetItemID(
375
375
A null-terminated string containing the ID of the specified item.
376
376
377
377
### Return Value
378
-
Returns **TRUE** on success, **FALSE** on failure.
378
+
Returns TRUE on success, FALSE on failure.
379
379
380
380
### Remarks
381
381
Sets the ID of a specific link control item. For more information, see the Win32 message [LM_SETITEM](http://msdn.microsoft.com/library/windows/desktop/bb760724) in the Windows SDK.
@@ -398,10 +398,10 @@ BOOL SetItemState(
398
398
The value of the specified state item being set.
399
399
400
400
*stateMask*
401
-
Combination of flags describing the state item being set. For a list of values, see the description of the **state** member in the [LITEM](http://msdn.microsoft.com/library/windows/desktop/bb760710) structure. Allowable items are identical to those allowed in **state**.
401
+
Combination of flags describing the state item being set. For a list of values, see the description of the `state` member in the [LITEM](http://msdn.microsoft.com/library/windows/desktop/bb760710) structure. Allowable items are identical to those allowed in `state`.
402
402
403
403
### Return Value
404
-
Returns **TRUE** on success, **FALSE** on failure.
404
+
Returns TRUE on success, FALSE on failure.
405
405
406
406
### Remarks
407
407
Sets the value of the specified state item of a specific link control item. For more information, see the Win32 message [LM_SETITEM](http://msdn.microsoft.com/library/windows/desktop/bb760724) in the Windows SDK.
@@ -423,7 +423,7 @@ BOOL SetItemUrl(
423
423
A null-terminated string containing the URL represented by the specified item
424
424
425
425
### Return Value
426
-
Returns **TRUE** on success, **FALSE** on failure.
426
+
Returns TRUE on success, FALSE on failure.
427
427
428
428
### Remarks
429
429
Sets the URL represented by the specified link control item. For more information, see the Win32 message [LM_SETITEM](http://msdn.microsoft.com/library/windows/desktop/bb760724) in the Windows SDK.
0 commit comments