Poznámka:
Přístup k této stránce vyžaduje autorizaci. Můžete se zkusit přihlásit nebo změnit adresáře.
Přístup k této stránce vyžaduje autorizaci. Můžete zkusit změnit adresáře.
Gets the scroll range for a flat scroll bar. If flat scroll bars are not initialized for the window, this function calls the standard GetScrollRange function.
Syntax
BOOL FlatSB_GetScrollRange(
HWND unnamedParam1,
int code,
LPINT unnamedParam3,
LPINT unnamedParam4
);
Parameters
unnamedParam1
Type: HWND
A handle to the window that contains the flat scroll bar. This window handle must have been passed previously in a call to InitializeFlatSB.
code
Type: int
The scroll bar type. It can be one of the following values:
| Value | Meaning |
|---|---|
|
Retrieves the scroll range of the horizontal scroll bar. |
|
Retrieves the scroll range of the vertical scroll bar. |
unnamedParam3
Type: LPINT
A pointer to an INT value that receives the minimum scroll range value.
unnamedParam4
Type: LPINT
A pointer to an INT value that receives the maximum scroll range value.
Return value
Type: BOOL
Returns nonzero if successful, or zero otherwise.
Remarks
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows Vista [desktop apps only] |
| Minimum supported server | Windows Server 2003 [desktop apps only] |
| Target Platform | Windows |
| Header | commctrl.h |
| Library | Comctl32.lib |
| DLL | Comctl32.dll (version 4.71 or later) |