Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Retrieves the zero-based index for the button associated with the specified command identifier.
Parameters
- 
wParam 
- 
Command identifier associated with the button. 
- 
lParam 
- Must be zero.
Return value
Returns the zero-based index for the button or -1 if the specified command identifier is invalid.
Requirements
| Requirement | Value | 
|---|---|
| Minimum supported client | Windows Vista [desktop apps only] | 
| Minimum supported server | Windows Server 2003 [desktop apps only] | 
| Header | 
 |