soui 5.0.0.1
Soui5 Doc
 
Loading...
Searching...
No Matches
IAcceleratorTarget Interface Reference

Interface for handling accelerator key presses. More...

#include <SAccelerator-i.h>

Inheritance diagram for IAcceleratorTarget:
SButton SImageButton SMenuBarItem

Public Member Functions

BOOL OnAcceleratorPressed (const IAccelerator *acc) PURE
 Handle an accelerator key press.
 

Detailed Description

Interface for handling accelerator key presses.

Classes that want to register keyboard accelerators need to implement this interface.

Definition at line 53 of file SAccelerator-i.h.

Member Function Documentation

◆ OnAcceleratorPressed()

BOOL IAcceleratorTarget::OnAcceleratorPressed ( const IAccelerator * acc)

Handle an accelerator key press.

Parameters
accPointer to the accelerator key that was pressed.
Returns
TRUE if the accelerator key was handled, FALSE otherwise.

Implemented in SButton.


The documentation for this interface was generated from the following file: