PMF_SUPPRESS Option

The PMF_SUPPRESS option allows you to control the playing of the metafile. The PMF_SUPPRESS option can have one of the values shown in the following table.

PMF_SUPPRESS Options for GpiPlayMetaFile

┌────────────────┬────────────────────────────────────────────┐
│Value           │Description                                 │
├────────────────┼────────────────────────────────────────────┤
│SUP_SUPPRESS    │The operating system does not draw the      │
│                │metafile on the device associated with the  │
│                │presentation space. This option is useful if│
│                │you need to alter the presentation space    │
│                │before drawing it on an output device.      │
├────────────────┼────────────────────────────────────────────┤
│SUP_NOSUPPRESS  │The operating system draws the metafile on  │
│SUP_DEFAULT     │the device associated with the presentation │
│                │space.                                      │
└────────────────┴────────────────────────────────────────────┘

You can use the RES_RESET option to reinitialize the presentation space and modify certain resources or presentation space environmental attributes from the application before playing the remainder of the metafile by:

3. 4. 5.


[Back: PMF_RESET Option]
[Next: PMF_LOADTYPE Option]