Window properties

Screen API window properties are the properties of a window API object. Screen distinguishes between parent and owner window properties.

Parent window properties

Parent window properties are the properties of the window that can be changed only by the parent application window. These properties are:
  • SCREEN_PROPERTY_CLIP_SIZE
  • SCREEN_PROPERTY_CLIP_POSITION
  • SCREEN_PROPERTY_DISPLAY
  • SCREEN_PROPERTY_GLOBAL_ALPHA
  • SCREEN_PROPERTY_POSITION
  • SCREEN_PROPERTY_SELF_LAYOUT
  • SCREEN_PROPERTY_SIZE
  • SCREEN_PROPERTY_VISIBLE
  • SCREEN_PROPERTY_ZORDER

The owner of the window is allowed to set parent window properties only if the parent window has set the SCREEN_PROPERTY_SELF_LAYOUT property to true.

Only the parent window has permission to set the SCREEN_PROPERTY_SELF_LAYOUT property—even if SCREEN_PROPERTY_SELF_LAYOUT is set to true.

Owner window properties

Owner window properties are all the other properties of the window that are not parent properties and that can be changed by the owner of the window. These properties are:
  • SCREEN_PROPERTY_ADDRESS
  • SCREEN_PROPERTY_ALPHA_MODE
  • SCREEN_PROPERTY_ALTERNATE_WINDOW
  • SCREEN_PROPERTY_BRIGHTNESS
  • SCREEN_PROPERTY_BRUSH
  • SCREEN_PROPERTY_BRUSH_CLIP_POSITION
  • SCREEN_PROPERTY_BRUSH_CLIP_SIZE
  • SCREEN_PROPERTY_BUFFER_COUNT
  • SCREEN_PROPERTY_BUFFER_POOL
  • SCREEN_PROPERTY_BUFFER_SIZE
  • SCREEN_PROPERTY_BUTTON_COUNT
  • SCREEN_PROPERTY_CBABC_MODE
  • SCREEN_PROPERTY_CLASS
  • SCREEN_PROPERTY_COLOR
  • SCREEN_PROPERTY_COLOR_SPACE
  • SCREEN_PROPERTY_CONTRAST
  • SCREEN_PROPERTY_DEBUG
  • SCREEN_PROPERTY_FLIP
  • SCREEN_PROPERTY_FLOATING
  • SCREEN_PROPERTY_FORMAT
  • SCREEN_PROPERTY_GAMMA
  • SCREEN_PROPERTY_HUE
  • SCREEN_PROPERTY_ID_STRING
  • SCREEN_PROPERTY_IDLE_MODE
  • SCREEN_PROPERTY_IDLE_TIMEOUT
  • SCREEN_PROPERTY_KEYBOARD_FOCUS
  • SCREEN_PROPERTY_KEYMAP
  • SCREEN_PROPERTY_KEYMAP_PAGE
  • SCREEN_PROPERTY_MAXIMUM_TOUCH_ID
  • SCREEN_PROPERTY_MIRROR
  • SCREEN_PROPERTY_MIRROR_MODE
  • SCREEN_PROPERTY_MODE
  • SCREEN_PROPERTY_PERMISSIONS
  • SCREEN_PROPERTY_PIPELINE
  • SCREEN_PROPERTY_POWER_MODE
  • SCREEN_PROPERTY_PROTECTION_ENABLE
  • SCREEN_PROPERTY_ROTATION
  • SCREEN_PROPERTY_SATURATION
  • SCREEN_PROPERTY_SCALE_QUALITY
  • SCREEN_PROPERTY_SENSITIVITY
  • SCREEN_PROPERTY_SOURCE_CLIP_POSITION
  • SCREEN_PROPERTY_SOURCE_CLIP_SIZE
  • SCREEN_PROPERTY_SOURCE_POSITION
  • SCREEN_PROPERTY_SOURCE_SIZE
  • SCREEN_PROPERTY_STATIC
  • SCREEN_PROPERTY_SWAP_INTERVAL
  • SCREEN_PROPERTY_TRANSPARENCY
  • SCREEN_PROPERTY_USAGE
  • SCREEN_PROPERTY_VIEWPORT_POSITION
  • SCREEN_PROPERTY_VIEWPORT_SIZE
  • SCREEN_PROPERTY_WINDOW

Last modified: 2015-03-31



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus