I need this to start when PageUp is pressed then stop when PageUp is pressed again. or only start when PgUp is held down then when the key isn't pressed, it stops


static int uiStartCb(Ihand le *ih) {
char buf[MSG_BUFSIZE];
UNREFERENCED_PA RAMETER(ih);
if (divertStart(Iu pGetAttribute(f ilterText, "VALUE"), buf) == 0) {
showStatus(buf) ;
return IUP_DEFAULT;...