PhMoveCursorRel()
Move cursor to relative position
Synopsis:
void PhMoveCursorRel( int input_group,
int x,
int y );
Description:
This function moves the cursor for input_group to the coordinates specified by x and y relative to the current cursor position.
You can determine the current input group as follows:
- If you have the event that triggered the clipboard operation, use its input group (e.g. cbinfo->event->input_group) if it's nonzero.
- If that fails, get the value of the PHIG environment variable. If this value is nonzero, use it.
- If neither of the above if nonzero, specify an input group of 1.
![]() |
This function contravenes the standards put forth by the OSF/Motif Style Guide. Most users will be disconcerted if your program changes the pointer position. See section 2.2.3.2 of the OSF/Motif Style Guide (ISBN 0-13-640491-X). |
Classification:
Photon
| Safety: | |
|---|---|
| Interrupt handler | No |
| Signal handler | No |
| Thread | No |
See also:
PhMoveCursorAbs(), PhQueryCursor()

