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/cbasetabbedpane-class.md
+42-42Lines changed: 42 additions & 42 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -106,23 +106,23 @@ virtual BOOL AddTab(
106
106
```
107
107
108
108
### Parameters
109
-
[in][out]`pNewBar`
109
+
[in][out]*pNewBar*
110
110
A pointer to the pane to add. This pointer may become invalid after you call this method. For more information, see the Remarks section.
111
111
112
-
[in]`bVisible`
112
+
[in]*bVisible*
113
113
`TRUE` to make the tab visible; otherwise, `FALSE`.
114
114
115
-
[in]`bSetActive`
115
+
[in]*bSetActive*
116
116
`TRUE` to make the tab the active tab; otherwise, `FALSE`.
117
117
118
-
[in]`bDetachable`
118
+
[in]*bDetachable*
119
119
`TRUE` to make the tab detachable; otherwise, `FALSE`.
120
120
121
121
### Return Value
122
122
`TRUE` if the pane was successfully added as a tab and was not destroyed in the process. `FALSE` if the pane being added is an object of type `CBaseTabbedPane`. For more information, see the Remarks section.
123
123
124
124
### Remarks
125
-
Call this method to add a pane as a new tab on a tabbed pane. If `pNewBar` points to an object of type `CBaseTabbedPane`, all its tabs are copied onto the tabbed pane and then `pNewBar` is destroyed. Thus, `pNewBar` becomes an invalid pointer and should not be used.
125
+
Call this method to add a pane as a new tab on a tabbed pane. If *pNewBar* points to an object of type `CBaseTabbedPane`, all its tabs are copied onto the tabbed pane and then *pNewBar* is destroyed. Thus, *pNewBar* becomes an invalid pointer and should not be used.
Specifies the zero-based index of the tab to retrieve.
260
260
261
-
[in]`bGetWrappedBar`
261
+
[in]*bGetWrappedBar*
262
262
`TRUE` to return the underlying (wrapped) window of the pane instead of the pane itself; otherwise `FALSE`. This only applies to panes derived from [CDockablePaneAdapter](../../mfc/reference/cdockablepaneadapter-class.md).
263
263
264
264
### Return Value
265
265
If the pane is found, then a valid pointer to the pane being searched for is returned; otherwise, `NULL`.
266
266
267
267
### Remarks
268
-
Call this method to retrieve the pane residing in the tab specified by the `nTabNum` parameter.
268
+
Call this method to retrieve the pane residing in the tab specified by the *nTabNum* parameter.
Floats a pane, but only if the pane currently resides in a detachable tab.
@@ -279,16 +279,16 @@ virtual BOOL FloatTab(
279
279
```
280
280
281
281
### Parameters
282
-
[in][out]`pBar`
282
+
[in][out]*pBar*
283
283
A pointer to the pane to float.
284
284
285
-
[in]`nTabID`
285
+
[in]*nTabID*
286
286
Specifies the zero-based index of the tab to float.
287
287
288
-
[in]`dockMethod`
288
+
[in]*dockMethod*
289
289
Specifies the method to use to make the pane float. For more information, see the Remarks section.
290
290
291
-
[in]`bHide`
291
+
[in]*bHide*
292
292
`TRUE` to hide the pane before floating; otherwise, `FALSE`.
293
293
294
294
### Return Value
@@ -297,7 +297,7 @@ virtual BOOL FloatTab(
297
297
### Remarks
298
298
Call this method to float a pane that currently resides in a detachable tab.
299
299
300
-
If you want to detach a pane programmatically, specify `DM_SHOW` for the `dockMethod` parameter. If you want to float the pane in the same position where it floated previously, specify `DM_DBL_CLICK` as the `dockMethod` parameter.
300
+
If you want to detach a pane programmatically, specify `DM_SHOW` for the *dockMethod* parameter. If you want to float the pane in the same position where it floated previously, specify `DM_DBL_CLICK` as the *dockMethod* parameter.
A `CSize` object that is filled with the minimum allowed size.
339
339
340
340
### Remarks
341
-
If consistent handling of minimum pane sizes is active ( [CPane::m_bHandleMinSize](../../mfc/reference/cpane-class.md#m_bhandleminsize)), `size` is filled with the minimum allowed size for the active tab. Otherwise, `size` is filled with the return value of [CPane::GetMinSize](../../mfc/reference/cpane-class.md#getminsize).
341
+
If consistent handling of minimum pane sizes is active ( [CPane::m_bHandleMinSize](../../mfc/reference/cpane-class.md#m_bhandleminsize)), *size* is filled with the minimum allowed size for the active tab. Otherwise, *size* is filled with the return value of [CPane::GetMinSize](../../mfc/reference/cpane-class.md#getminsize).
A `CSize` object that is filled with the minimum allowed size.
353
353
354
354
### Remarks
355
-
If consistent handling of minimum pane sizes is active ( [CPane::m_bHandleMinSize](../../mfc/reference/cpane-class.md#m_bhandleminsize)), `size` is filled with the minimum allowed size for the active tab. Otherwise, `size` is filled with the return value of [CPane::GetMinSize](../../mfc/reference/cpane-class.md#getminsize).
355
+
If consistent handling of minimum pane sizes is active ( [CPane::m_bHandleMinSize](../../mfc/reference/cpane-class.md#m_bhandleminsize)), *size* is filled with the minimum allowed size for the active tab. Otherwise, *size* is filled with the return value of [CPane::GetMinSize](../../mfc/reference/cpane-class.md#getminsize).
A pointer to the pane to remove from the tabbed pane.
461
461
462
462
### Return Value
463
463
`TRUE` if the pane was successfully removed from the tabbed pane and if the tabbed pane is still valid. `FALSE` if the last pane has been removed from the tabbed pane and the tabbed pane is about to be destroyed. If the return value is `FALSE`, do not use the tabbed pane any more.
464
464
465
465
### Remarks
466
-
Call this method to remove the pane specified by the `pBar` parameter from the tabbed pane.
466
+
Call this method to remove the pane specified by the *pBar* parameter from the tabbed pane.
`TRUE` if the tabbed pane was created dynamically and you are not controlling its lifetime; otherwise, `FALSE`.
478
478
479
479
### Remarks
@@ -491,23 +491,23 @@ virtual BOOL ShowTab(
491
491
```
492
492
493
493
### Parameters
494
-
[in]`pBar`
494
+
[in]*pBar*
495
495
A pointer to the pane to show or hide.
496
496
497
-
[in]`bShow`
497
+
[in]*bShow*
498
498
`TRUE` to show the pane; `FALSE` to hide the pane.
499
499
500
-
[in]`bDelay`
500
+
[in]*bDelay*
501
501
`TRUE` to delay the adjustment of the tab layout; otherwise, `FALSE`.
502
502
503
-
[in]`bActivate`
503
+
[in]*bActivate*
504
504
`TRUE` to make the tab the active tab; otherwise, `FALSE`.
505
505
506
506
### Return Value
507
507
`TRUE` if the tab was either shown or hidden successfully; otherwise, `FALSE`.
508
508
509
509
### Remarks
510
-
When you call this method, a pane is either shown or hidden, depending on the value of the `bShow` parameter. If you hide a tab and it is the last visible tab in the underlying tab window, the tabbed pane is hidden. If you show a tab when there were previously no tabs visible, the tabbed pane is shown.
510
+
When you call this method, a pane is either shown or hidden, depending on the value of the *bShow* parameter. If you hide a tab and it is the last visible tab in the underlying tab window, the tabbed pane is hidden. If you show a tab when there were previously no tabs visible, the tabbed pane is shown.
`TRUE` to enable auto-hide mode; `FALSE` to enable regular docking mode.
538
538
539
-
[in]`dwAlignment`
539
+
[in]*dwAlignment*
540
540
Specifies the alignment of the auto-hide pane that is to be created. For a list of possible values, see [CPane::MoveByAlignment](../../mfc/reference/cpane-class.md#movebyalignment).
541
541
542
-
[in][out]`pCurrAutoHideBar`
542
+
[in][out]*pCurrAutoHideBar*
543
543
A pointer to the current auto-hide toolbar. Can be `NULL`.
544
544
545
-
[in]`bUseTimer`
545
+
[in]*bUseTimer*
546
546
Specifies whether to use the auto-hide effect when the user switches the pane to auto-hide mode, or to hide the pane immediately.
0 commit comments