Back to X64dbg

GuiReferenceSetSingleSelection

docs/developers/functions/gui/GuiReferenceSetSingleSelection.md

2026.04.201.2 KB
Original Source

GuiReferenceSetSingleSelection

Sets the currently selected row in the Reference View instance.

c++
void GuiReferenceSetSingleSelection(int index, bool scroll);

Parameters

index integer representing the row index to set the current selection to.

scroll a boolean value indicating if the selected index should be scrolled into view if it is not currently.

Return Value

This function does not return a value.

Example

c++
GuiReferenceSetSingleSelection(0,true);