PGetSuppressPalDraw

Gets the update status of the specified palette.


Query constructor

PGetSuppressPalDraw(short cPalette);
short cPalette;
kStylePalette for the Style palette (these constants are defined in PKeywords.h)
kColorPalette for the Color palette
kControlPalette for the Control palette
kMasterPalette for Master Page palette


Query results

This query returns a boolean flag indicating whether palettes are redrawn (true) or not (false).

Example. Suppress drawing of all four palettes, using the PSuppressPalDraw command.
for (short i = kStylePalette; i <= kMasterPalette; i++) {
    PGetSuppressPalDraw redraws(i);
    if (redraws == false) PSuppressPalDraw(i, true);
}


Copyright © 1996, Adobe Systems Incorporated. All rights reserved.

Comments or suggestions? Contact Adobe Developer Support