Task:
Using this callback, List & Label asks the application about button states of the preview's toolbar buttons.
Activation:
Always activated
Parameters:
HIWORD(lParam) = Tool button ID
LOWORD(lParam) = State defined by List & Label
Return Value (_lResult):
|
New State |
Meaning |
|
0 |
no change |
|
1 |
enabled |
|
2 |
disabled |
|
-1 |
hidden |
Hints:
This function will be called by the preview by List & Label. You can find the corresponding IDs in the "MenuID.txt" file in your List & Label installation.
Example:
case LL_CMND_GETVIEWERBUTTONSTATE:
switch
(HIWORD(lParam))
{
case
112:
// don't allow one-page
print:
return(-1);
}
break;