QNX RTOS v4 Knowledge Base
QNX RTOS v4 Knowledge Base
Title |
Getting the widget that the user has clicked on while looking for help |
Ref. No. |
QNX.000009923 |
Category(ies) |
Development |
Issue |
We are trying to make our context sensitive help more elaborated, so we track the Ph_EV_WM event of type Ph_WM_HELP, so the question mark cursor would show when clicked on a widget.
How do you identify which widget the user has clicked on?
|
Solution |
There is a function: x09PtWidget_t *PtWidgetHelpHit(PtWidget_t *widget, PhPoint_t *pos)
It will return the first widget that contains a help topic at the given position or NULL if there is none. |
|