Navigation
API > API/Developer > API/Developer/ToolWidgets > API/Developer/ToolWidgets/Dialog > API/Developer/ToolWidgets/Dialog/SMessageDialog
- SWidget::OnKeyDown()
- SMessageDialog::OnKeyDown()
References
| Module | ToolWidgets |
| Header | /Engine/Source/Developer/ToolWidgets/Public/Dialog/SMessageDialog.h |
| Include | #include "Dialog/SMessageDialog.h" |
| Source | /Engine/Source/Developer/ToolWidgets/Private/Dialog/SMessageDialog.cpp |
virtual FReply OnKeyDown
&40;
const FGeometry & MyGeometry,
const FKeyEvent & InKeyEvent
&41;
Remarks
Called after a key is pressed when this widget has focus (this event bubbles if not handled) Returns whether the event was handled, along with other possible actions
Parameters
| Name | Description |
|---|---|
| MyGeometry | The Geometry of the widget receiving the event |
| InKeyEvent | Key event |