LL_NTFY_VIEWERBTNCLICKED

Task:

Notification that a button has been pressed in the preview window.

Activation:

Always activated

Parameters:

lParam: Tool button ID

Return Value (_lResult):

_lResult

Meaning

1

ignore button (action usually done by host application)

0

execute default button function

 

Hints:

For the IDs please refer to the callback LL_CMND_GETVIEWERBUTTONSTATE.

Example:

   case LL_NTFY_VIEWERBTNCLICKED:
      switch (lParam)
      {
         case 112:
            // beep on one-page print
            // and don't execute it!
            MessageBeep(-1);
            return(1);
      }
      break;