SCROLLGROUP

Detailed Description

Enumerations

enum  {
  SCROLLGROUP_VERT ,
  SCROLLGROUP_HORIZ ,
  SCROLLGROUP_NOBLIT ,
  SCROLLGROUP_LEFT ,
  SCROLLGROUP_BORDERIN ,
  SCROLLGROUP_STATUSBAR ,
  SCROLLGROUP_AUTOHORIZ ,
  SCROLLGROUP_AUTOVERT ,
  SCROLLGROUP_NOSCROLLER ,
  SCROLLGROUP_NOVGAP ,
  SCROLLGROUP_STATUSBAR_EXT_GROUP ,
  SCROLLGROUP_BORDERINb ,
  ID_SCROLLGROUP_STATUSBAR_EXTLEFT_GROUP ,
  ID_SCROLLGROUP_STATUSBAR_EXTRIGHT_GROUP
}
 

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
SCROLLGROUP_VERT 

Allow the group to scroll vertically.

SCROLLGROUP_HORIZ 

Allow the group to scroll horizontally.

SCROLLGROUP_NOBLIT 

Always redraw the whole group, not just new areas, when scrolling.

SCROLLGROUP_LEFT 

Create the vertical slider to the left.

SCROLLGROUP_BORDERIN 

Display a small border around the scroll group.

SCROLLGROUP_STATUSBAR 

Create a status bar for the scroll group.

SCROLLGROUP_AUTOHORIZ 

Only show horizontal slider if needed.

SCROLLGROUP_AUTOVERT 

Only show vertical slider if needed.

SCROLLGROUP_NOSCROLLER 

No scroller.

SCROLLGROUP_NOVGAP 

No vertical gap.

SCROLLGROUP_STATUSBAR_EXT_GROUP 

Create an extern group within the statusbar.
Example:

ScrollGroupBegin(1000, BFH_SCALEFIT|BFV_SCALEFIT, SCROLLGROUP_VERT|SCROLLGROUP_HORIZ|SCROLLGROUP_STATUSBAR|SCROLLGROUP_STATUSBAR_EXT_GROUP|SCROLLGROUP_NOBLIT, 64, 64);
{
GroupBegin(0, BFH_SCALEFIT|BFV_SCALEFIT, 0, 0, "", 0);
{
AddButton(1001, BFH_LEFT, SizePix(256), SizePix(256), "Big Button");
}
GroupEnd();
}
GroupEnd();
LayoutFlushGroup(ID_SCROLLGROUP_STATUSBAR_EXTLEFT_GROUP);
GroupBorderSpace(2, 2, 2, 2);
AddStaticText(0, 0, 0, 0, "Value", 0);
AddEditNumberArrows(1002, BFH_LEFT|BFV_CENTER, 80, 10);
LayoutChanged(ID_SCROLLGROUP_STATUSBAR_EXTLEFT_GROUP);
SCROLLGROUP_BORDERINb 

Same as SCROLLGROUP_BORDERIN but open at bottom.

Since
R21
ID_SCROLLGROUP_STATUSBAR_EXTLEFT_GROUP 

ID of the extern left scroll group statusbar group.

See also
SCROLLGROUP_STATUSBAR_EXT_GROUP
ID_SCROLLGROUP_STATUSBAR_EXTRIGHT_GROUP 

ID of the extern right scroll group statusbar group.

See also
SCROLLGROUP_STATUSBAR_EXT_GROUP