Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions sdk-api-src/content/windowsx/nf-windowsx-button_getcheck.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,14 @@ api_name:
## -syntax

```cpp
LRESULT Button_GetCheck(
int Button_GetCheck(
 HWND hwndCtl
);
```

## -returns

Type: **[LRESULT](/windows/desktop/winprog/windows-data-types)**
Type: **int**

The return value from a button created with the <b>BS_AUTOCHECKBOX</b>, <b>BS_AUTORADIOBUTTON</b>, <b>BS_AUTO3STATE</b>, <b>BS_CHECKBOX</b>, <b>BS_RADIOBUTTON</b>, or <b>BS_3STATE</b> style can be one of the following:

Expand Down
4 changes: 2 additions & 2 deletions sdk-api-src/content/windowsx/nf-windowsx-button_getstate.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,14 @@ api_name:
## -syntax

```cpp
LRESULT Button_GetState(
int Button_GetState(
 HWND hwndCtl
);
```

## -returns

Type: **[LRESULT](/windows/desktop/winprog/windows-data-types)**
Type: **int**

The return value specifies the current state of the button. It is a combination of the following values:

Expand Down
8 changes: 1 addition & 7 deletions sdk-api-src/content/windowsx/nf-windowsx-button_setcheck.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,18 +50,12 @@ api_name:
## -syntax

```cpp
LRESULT Button_SetCheck(
void Button_SetCheck(
 HWND hwndCtl,
 int  check
);
```

## -returns

Type: **[LRESULT](/windows/desktop/winprog/windows-data-types)**

The return value is always zero.


## -description

Expand Down
4 changes: 2 additions & 2 deletions sdk-api-src/content/windowsx/nf-windowsx-button_setstate.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,15 +50,15 @@ api_name:
## -syntax

```cpp
LRESULT Button_SetState(
UINT Button_SetState(
 HWND hwndCtl,
 BOOL state
);
```

## -returns

Type: **[LRESULT](/windows/desktop/winprog/windows-data-types)**
Type: **[UINT](/windows/desktop/winprog/windows-data-types)**

The return value is always zero.

Expand Down
8 changes: 1 addition & 7 deletions sdk-api-src/content/windowsx/nf-windowsx-button_setstyle.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,19 +50,13 @@ api_name:
## -syntax

```cpp
LRESULT Button_SetStyle(
void Button_SetStyle(
 HWND  hwndCtl,
 DWORD style,
 BOOL  fRedraw
);
```

## -returns

Type: **[LRESULT](/windows/desktop/winprog/windows-data-types)**

The return value is always zero.


## -description

Expand Down