> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# XGameUiTextEntryUpdateVisibility

> XGameUiTextEntryUpdateVisibility

# XGameUiTextEntryUpdateVisibility

Updates whether to show the full virtual keyboard or only the candidate list.

## Syntax

```cpp theme={null}
HRESULT XGameUiTextEntryUpdateVisibility(  
         XGameUiTextEntryHandle handle,
         XGameUiTextEntryVisibilityFlags visibilityFlags, 
)  
```

### Parameters

*handle*   \_In\_\
Type: XGameUiTextEntryHandle

Handle to the opened virtual keyboard.

*visibilityFlags*   \_In\_\
Type: [XGameUiTextEntryVisibilityFlags](/reference/system/xgameui/enums/xgameuitextentryvisibilityflags)

Flags indicating whether to show the full virtual keyboard or only the candidate list.

### Return value

Type: HRESULT

HRESULT success or error code. For a list of error codes, see [Error Codes](/reference/errorcodes).

## Remarks

Generally, the game should only use this function to toggle the candidate-only view if there is a
physical keyboard is being used by the game.

## Requirements

**Header:** XGameUI.h

**Library:** xgameruntime.lib

**Supported platforms:** Windows, XBOX One family consoles and XBOX Series consoles

## See also

[XGameUI](/reference/system/xgameui/xgameui_members)


## Related topics

- [XGameUI](/reference/system/xgameui/xgameui_members.md)
- [XGameUiTextEntryVisibilityFlags](/reference/system/xgameui/enums/xgameuitextentryvisibilityflags.md)
- [XGameUiTextEntryOptions](/reference/system/xgameui/structs/xgameuitextentryoptions.md)
- [XGameUiTextEntryUpdatePositionHint](/reference/system/xgameui/functions/xgameuitextentryupdatepositionhint.md)
- [XGameUiTextEntryInputScope](/reference/system/xgameui/enums/xgameuitextentryinputscope.md)
