Sack Library Documentation
ContentsIndexReferenceHome
PreviousUpNext
sack::PSI::BorderOptionTypes Enumeration
C++
enum BorderOptionTypes {
  BORDER_NORMAL = 0,
  BORDER_NONE = 3,
  BORDER_THIN = 1,
  BORDER_THINNER = 2,
  BORDER_DENT = 4,
  BORDER_THIN_DENT = 5,
  BORDER_THICK_DENT = 6,
  BORDER_TYPE = 0x0f,
  BORDER_INVERT = 0x80,
  BORDER_CAPTION = 0x40,
  BORDER_NOCAPTION = 0x20,
  BORDER_INVERT_THINNER = (BORDER_THINNER|BORDER_INVERT),
  BORDER_INVERT_THIN = (BORDER_THIN|BORDER_INVERT),
  BORDER_BUMP = (BORDER_DENT|BORDER_INVERT),
  BORDER_NOMOVE = 0x0100,
  BORDER_CLOSE = 0x0200,
  BORDER_RESIZABLE = 0x0400,
  BORDER_WITHIN = 0x0800,
  BORDER_WANTMOUSE = 0x1000,
  BORDER_EXCLUSIVE = 0x2000,
  BORDER_FRAME = 0x4000,
  BORDER_FIXED = 0x8000,
  BORDER_NO_EXTRA_INIT = 0x010000
};
Members 
Description 
BORDER_NORMAL = 0 
normal case needs to be 0 - but this is the thickest - go figure. 
BORDER_NONE = 3 
The control has no border - this overrides all other styles; no caption, no border at all, the surface drawable area is the same as the control's outer area. 
BORDER_THIN = 1 
This is a 3 pixel frame line that indicates a stack up. 
BORDER_THINNER = 2 
a thin line, that is a raised edge. 
BORDER_DENT = 4 
A dent is a 3 pixel line which is a thin etch-line that is 1 step in, 1 across and 1 step up. 
BORDER_THIN_DENT = 5 
a thin dent border is an etch line 
BORDER_THICK_DENT = 6 
A thick etch line - that is a step in, and a step out, so the content is the same level as its parent. 
BORDER_TYPE = 0x0f 
16 different frame types standard... 
BORDER_INVERT = 0x80 
This modifies styles like BORDER_BUMP to make them BORDER_DENT. 
BORDER_CAPTION = 0x40 
Border should include a space to show the text of the control as a caption. 
BORDER_NOCAPTION = 0x20 
Make sure that the border does NOT have a caption space. 
BORDER_INVERT_THINNER = (BORDER_THINNER|BORDER_INVERT) 
A even thinner line which is an indent. 
BORDER_INVERT_THIN = (BORDER_THIN|BORDER_INVERT) 
It's a thin frame (3 pixels?) which is a descent step frame ... so instead of being stacked 'up' it's stacked 'down'. 
BORDER_BUMP = (BORDER_DENT|BORDER_INVERT) 
Draws a 3 pixel frame around a control - it is 1 up 1 acros and 1 down - a thin bump line. 
BORDER_NOMOVE = 0x0100 
This indicates that the frame bordered by this does not move. 
BORDER_CLOSE = 0x0200 
well okay maybe these are border traits 
BORDER_RESIZABLE = 0x0400 
can resize this window with a mouse 
BORDER_WITHIN = 0x0800 
frame is on the surface of parent... 
BORDER_WANTMOUSE = 0x1000 
frame surface desires any unclaimed mouse calls 
BORDER_EXCLUSIVE = 0x2000 
frame wants exclusive application input. 
BORDER_FRAME = 0x4000 
marks controls which were done with 'create frame', and without BORDER_WITHIN 
BORDER_FIXED = 0x8000 
scale does not apply to coordinates... otherwise it will be... by default controls are scalable. 
BORDER_NO_EXTRA_INIT = 0x010000 
control is private to psi library(used for scrollbars in listboxes, etc) and as such does not call 'extra init 

This enumeration defines flags that can be used to specify the border of controls.

Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at support@toolsfactory.com.
Copyright (c) 2000+. All rights reserved.
What do you think about this topic? Send feedback!