Scrollbar

From WikiPrizm
Revision as of 06:00, 9 August 2012 by Gbl08ma (talk | contribs) (Created page with "{{syscall | name = Scrollbar | index = 0x1A0A | signature = void Scrollbar( TScrollbar* scrollbar) | header = display_syscalls.h | comments = Displays a vertical scrollbar tha...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search


Synopsis

Header: display_syscalls.h
Syscall index: 0x1A0A
Function signature: void Scrollbar( TScrollbar* scrollbar)

Comments

Displays a vertical scrollbar that cannot reach the statusbar area at the top.

Inputs

  • TScrollbar* scrollbar - The settings for the scrollbar.
typedef struct{
  unsigned int i1; // unknown, set to zero
  unsigned int indicatormaximum; // maximum logical indicator range
  unsigned int indicatorheight; // height of the indicator in units of indicatormaximum
  unsigned int indicatorpos; // indicator position in units of indicatormaxiumum
  unsigned int i5; // unknown, set to zero
  unsigned short barleft; // left position of the bar in pixels
  unsigned short bartop; // top position of the bar in pixels
  unsigned short barheight; // height of the bar in pixels
  unsigned short barwidth; // width of the bar in pixels
} TScrollbar;

Outputs

Scrollbar with settings defined in a TScrollbar.