6. Control Library -turn page- Table of Contents

Contents| Start

Reference List Control Library

 
 

Con_Activate Con
Con Control identification number.
Activates control (renders its selectable).
 
 
Con_Bevelbutton R Con,X,Y[,W,H],T$,F,T,Act
Con_Bevelbutton R Con,X,Y,W,H,T$,F,Mi,Ma,T,Act
Con Control identification number.
X X-position of the upper left corner of the bevel button.
Y Y-position of the upper left corner of the bevel button.
W Width of the bevel button.
H Height of the bevel button.
T$ Title of the bevel button.
F Flags with the following meaning:

Bit 0 : The bevel button is visible.
Bit 3 : The bevel button has toggle behaviour (like a toggle switch).
Bit 4 : The bevel button is sticky (remains depressed).
Bit 10 : The bevel button reacts with an offset (when clicked, the content moves one (1) pixel to the right bottom).
Mi Mi = 0 : Only text specified with T$.
Mi = 1 : Icon suite resource (e.g., 'ICN#', 'ic14', 'ic18').
Mi = 2 : Individual icon resource type 'cicn'.
Mi = 3 : Picture resource type 'PICT'.
Ma Resource ID of the desired object.
T T = 0 : Small bevel
T = 1 : Normal bevel
T = 2 : Large bevel
Act Address of an action function.
Defines bevel button.

Available starting with Mac OS 8.0.
 
 
Con_Bevelpopup R Con,X,Y[,W,H],T$,V,T
Con_Bevelpopup R Con,X,Y,W,H,T$,F,V,Mi,Ma,T,Act
Con Control identification number.
X X-position of the upper left corner of the popup menu.
Y Y-position of the upper left corner of the popup menu.
W Width of the popup menu.
H Height of the popup menu.
T$ Title of the popup menu.
F Flags with the following meaning:

Bit 0 : The popup menu is visible.
Bit 5 : The popup arrow is centered vertically and displayed on the right side of the button; otherwise in the lower right corner.
Bit 8 : This item will not be marked with a checkmark when clicked (command behavior). This bit is evaluated only starting with System 8.1.
Bit 9 : Several items can be selected simultaneously (multi-value behavior).
V Menu identification number of the popup menu.
Mi Mi = 0 : Only text specified with T$.
Mi = 1 : Icon suite resource (e.g., 'ICN#', 'ic14', 'ic18').
Mi = 2 : Individual icon resource type 'cicn'.
Mi = 3 : Picture resource type 'PICT'.
Ma Resource ID of the desired object.
T T = 0 : Small bevel
T = 1 : Normal bevel
T = 2 : Large bevel
Act Address of an action function called after the popup menu is exited.
Defines bevel button with popup menu.

Available starting with Mac OS 8.0.
 
 
Con_Button R Con,X,Y[,W,H],T$,F,Act
Con Control identification number.
X X-position of the upper left corner of the push button.
Y Y-position of the upper left corner of the push button.
W Width of the push button.
H Height of the push button.
T$ Title of the push button.
F Flags with the following meaning:

Bit 0 : The push button is visible.
Bit 1 : The push button is a default button.
Bit 2 : The push button is an exit button.
Bit 3 : The push button has toggle behaviour (like a toggle switch).
Act Address of an action function.
Defines push button.
 
 
Con_Chasingarrows R Con,X,Y[,F]
Con Control identification number.
X X-position of the upper left corner of the asynchronous arrows.
Y Y-position of the upper left corner of the asynchronous arrows.
F Flags with the following meaning:

Bit 0 : The asynchronous arrows are visible.
Defines asynchronous arrows.

Available starting with Mac OS 8.0.
 
 
Con_Checkbox R Con,X,Y,T$,V
Con_Checkbox R Con,X,Y[,W,H],T$,F,V,Act
Con Control identification number.
X X-position of the upper left corner of the checkbox.
Y Y-position of the upper left corner of the checkbox.
W Width of the checkbox.
H Height of the checkbox.
T$ Title of the checkbox.
F Flags with the following meaning:

Bit 0 : The checkbox is visible.
V V = 0 : The checkbox is not marked.
V = 1 : The checkbox is marked.
Act Address of an action function.
Defines checkbox.
 
 
Con_Clearkeyfocus Win
Win Window identification number.
Removes key focus.
 
 
Con_Clock R Con,X,Y,F,T
Con_Clock R Con,X,Y,W,H,F,T,Act
Con Control identification number.
X X-position of the upper left corner of the clock.
Y Y-position of the upper left corner of the clock.
W Width of the clock.
H Height of the clock.
F Flags with the following meaning:

Bit 0 : The clock is visible.
Bit 1 : The clock cannot be edited.
Bit 2 : The clock matches the system clock (live time).
T T=0 : Displays time in hours and minutes.
T=1 : Displays time in hours, minutes, and seconds.
T=2 : Displays date as day, month, year.
T=3
: Displays date as month, year.
Act Address of an action function.
Defines control with time or date.

Available starting with Mac OS 8.0.
 
 
Con_Deactivate Con
Con Control identification number.
Deactivates control (renders it nonselectable).
 
 
Con_Def_Header R Con,X,Y,W,H[,F],T
Con Control identification number.
X X-position of the upper left corner of the window header.
Y Y-position of the upper left corner of the window header.
W Width of the window header.
H Height of the window header.
F Flags with the following meaning:

Bit 0 : The window header is visible.
T T=0 : The window header has a thick, lower border line.
T=1 : The window header has a thin, lower border line.
Starts the definition of a window header.

Available starting with Mac OS 8.0.
 
 
Con_Def_Placard R Con,X,Y,W,H[,F]
Con Control identification number.
X X-position of the upper left corner of the placard area.
Y Y-position of the upper left corner of the placard area.
W Width of the placard area.
H Height of the placard area.
F Flags with the following meaning:

Bit 0 : The placard area is visible.
Starts the definition of a placard area.

Available starting with Mac OS 8.0.
 
 
Con_Def_Primgroup R Con,X,Y,W,H,T$[,V,T]
Con_Def_Primgroup R Con,X,Y,W,H,T$,Mi,Ma,T
Con_Def_Primgroup R Con,X,Y,W,H,T$,F,V,Mi,Ma,T,Act
Con Control identification number.
X X-position of the upper left corner of the group.
Y Y-position of the upper left corner of the group.
W Width of the group.
H Height of the group.
T$ Title of the group.
F Flags with the following meaning:

Bit 0 : The group is visible.
V Groups with checkbox value of the checkbox (0<=V<=1).
Mi Groups with popup menu identification number of the popup menu.
Ma Groups with popup menu width of the title in pixels.
T T = 0 : Group contains only one title.
T = 1 : Group with checkbox.
T = 2 : Group with popup menu.
Act Address of an action function.
Starts the definition of a primary group.

Available starting with Mac OS 8.0.
 
 
Con_Def_Radiogroup R Con,X,Y,W,H[,F]
Con Control identification number.
X X-position of the upper left corner of the group.
Y Y-position of the upper left corner of the group.
W Width of the group.
H Height of the group.
F Flags with the following meaning:

Bit 0 : The group is visible.
Starts the definition of a radio group.

Available starting with Mac OS 8.0.
 
 
Con_Def_Secgroup R Con,X,Y,W,H,T$,T[,V,T]
Con_Def_Secgroup R Con,X,Y,W,H,T$,Mi,Ma,T
Con_Def_Secgroup R Con,X,Y,W,H,T$,F,V,Mi,Ma,T,Act
Con Control identification number.
X X-position of the upper left corner of the group.
Y Y-position of the upper left corner of the group.
W Width of the group.
H Height of the group.
T$ Title of the group.
F Flags with the following meaning:

Bit 0 : The group is visible.
V Groups with checkbox value of the checkbox (0<=V<=1).
Mi Groups with popup menu identification number of the popup menu.
Ma Groups with popup menu width of the title in pixels.
T T = 0 : Group contains only one title.
T = 1 : Group with checkbox.
T = 2 : Group with popup menu.
Act Address of an action function.
Starts the definition of a secondary group.

Available starting with Mac OS 8.0.
 
 
Con_Def_Tab R Con,X,Y,W,H,V,T
Con_Def_Tab R Con,X,Y,W,H,F,V,T,Act
Con Control identification number.
X X-position of the upper left corner of the tab control.
Y Y-position of the upper left corner of the tab control.
W Width of the tab control.
H Height of the tab control.
F Flags with the following meaning:

Bit 0: The tab control is visible.
V Number of tab groups.
T T=0 : The titles of the tab groups are displayed in normal size.
T=1 : The titles of the tab groups are displayed in a reduced size.
Act Address of an action function.
Starts the definition of a tab control.

Available starting with Mac OS 8.1.
 
 
Con_Def_Tabgroup R Con,T$[,Ma]
Con Control identification number.
T$ Text of the tab group.
Ma Resource ID of a 'cicn' resource.
Starts the definition of a tab group.

Available starting with Mac OS 8.1.
 
 
Con_Dispose Con
Con Control identification number.
Deletes control.
 
 
Con_Edit R Con,X,Y,W,H,T$[,F]
Con Control identification number.
X X-position of the upper left corner of the text field.
Y Y-position of the upper left corner of the text field.
W Width of the text field.
H Height of the text field.
T$ This text will initially be displayed in the text field but can also be changed by the user.
F Flags with the following meaning:

Bit 0 : The text field is visible.
Defines editable text field.
 
 
Con_Editpassword R Con,X,Y,W,H[,F]
Con Control identification number.
X X-position of the upper left corner of the password field.
Y Y-position of the upper left corner of the password field.
W Width of the password field.
H Height of the password field.
F Flags with the following meaning:

Bit 0 : The password field is visible.
Defines password field.
 
 
Con_End_Group
Ends definition of groups.

Available starting with Mac OS 8.0.
 
 
Con_End_Tab
Ends the definition of a tab control.

Available starting with Mac OS 8.1.
 
 
Con_Find Win,X,Y,R Con,R Part
Win Window identification number.
X X-position.
Y Y-position.
Con Control identification number.
Part Part code.
Determines control identification number and part code.
 
 
Con_Getborder Con,R X,R Y[,R W,R H]
Con_Getborder Con,0,R W,R H
Con Control identification number.
X X-position of the upper left corner of the control.
Y Y-position of the upper left corner of the control.
W Width of the control.
H Height of the control.
Query position and/or size of a control.
 
 
Con_Getclock Con,R H,R M,R S,R D,R Mo,R Y
Con Control identification number.
H Hour (0<=H<=23).
M Minute (0<=M<=59).
S Second (0<=S<=59).
D Day.
Mo Month.
Y Year (-30081<=Y<=29940).
Queries time and date.

Available starting with Mac OS 8.0.
 
 
Con_Getselect Con,R S,R E
Con Control identification number.
S Start position of the highlighted text.
E End position of the highlighted text.
Determines the position of a text block.
 
 
Con_Getstep Con,R S1,R S2
Con Control identification number.
S1 Increment used when clicking on the arrows.
S2 Increment used when the user clicks next to the indicator.
Queries increments.
 
 
Con_Hide Con
Con Control identification number.
Hides control.
 
 
Con_Hilite Con,Part
Con Control identification number.
Part The following values are possible for Part:

Part=0 : No part (control is displayed normal).
Part=1 : Label (header for tab groups).
Part=2 : Menu.
Part=4 : Triangle (disclosure triangle).
Part=5 : Editable text.
Part=6 : Picture.
Part=7 : Icon.
Part=8 : Time and date displays.
Part=10 : Button.
Part=11 : Checkbox.
Part=12 : Radio button.
Part=20 : Arrow up or to the left (in case of scroll bars and little arrows).
Part=21 : Arrow down or to the right (in case of scroll bars and little arrows).
Part=22 : Page up or to the left (in case of scroll bars and sliders).
Part=23
: Page down or to the right (in case of scroll bars and sliders).
Part=24 : Image well.
Part=27 : Radio group.
Part=129 : Indicator (in case of scroll bars and sliders).
Part=255 : Not selectable (disabled).
Emphasizes control or a part of the control.
 
 
Con_Icon R Con,X,Y,W,H,Mi,Ma
Con_Icon R Con,X,Y,W,H,F,Mi,Ma,Act
Con Control identification number.
X X-position of the upper left corner of the icon.
Y Y-position of the upper left corner of the icon.
W Width of the icon.
H Height of the icon.
F Flags with the following meaning:

Bit 0 : The icon is visible.
Bit 1 : The icon has auto-tracking.
Mi Mi = 1 : Icon suite resource (e.g., 'ICN#', 'ic14', 'ic18').
Mi = 2 : Individual icon resource type 'cicn'.
Mi = 3 : Picture resource type 'PICT'.
Ma Resource ID of the desired object.
Act Address of an action function.
Defines icon.

Available starting with Mac OS 8.0.
 
 
Con_Iconbutton R Con,X,Y[,W,H],T$,F,Ma,T,Act
Con Control identification number.
X X-position of the upper left corner of the icon button.
Y Y-position of the upper left corner of the icon button.
W Width of the icon button.
H Height of the icon button.
T$ Title of the icon button.
F Flags with the following meaning:

Bit 0 : The icon button is visible.
Bit 1 : The icon button is a default button.
Bit 2 : The icon button is an exit button.
Bit 3 : The icon button has toggle behaviour (like a toggle switch).
Ma Resource ID of an icon resource type 'cicn'.
T T = 0 : Icon is displayed to the left side of the text.
T = 1 : Icon is displayed to the right side of the text.
Act Address of an action function.
Defines icon button.

Available starting with Mac OS 8.0.
 
 
Con_Imagewell R Con,X,Y,W,H,Mi,Ma
Con_Imagewell R Con,X,Y,W,H,F,Mi,Ma,Act
Con Control identification number.
X X-position of the upper left corner of the picture frame.
Y Y-position of the upper left corner of the picture frame.
W Width of the picture frame.
H Height of the picture frame.
F Flags with the following meaning:

Bit 0 : The picture is visible.
Bit 1 : The picture has auto-tracking.
Mi Mi = 1 : Icon suite resource (e.g., 'ICN#', 'ic14', 'ic18').
Mi = 2 : Individual icon resource type 'cicn'.
Mi = 3 : Picture resource type 'PICT'.
Ma Resource ID of the desired object.
Act Address of an action function.
Defines image well.

Available starting with Mac OS 8.0.
 
 
Con_Littlearrows R Con,X,Y,V,Mi,Ma
Con_Littlearrows R Con,X,Y,F,V,Mi,Ma,Act
Con Control identification number.
X X-position of the upper left corner of the little arrows.
Y Y-position of the upper left corner of the little arrows.
F Flags with the following meaning:

Bit 0 : The little arrows are visible.
V Start value of the little arrows (Mi<=V<=Ma).
Mi Minimum value of the little arrows (-32768<=Mi<=32767 ; Mi<=Ma).
Starting with System 8.5 (
-2147483648<=Ma<=2147483647).
Ma Maximum value of the little arrows (-32768<=Mi<=32767 ; Mi<=Ma).
Starting with System 8.5 (
-2147483648<=Ma<=2147483647).
Act Address of an action function.
Defines little arrows.

Available starting with Mac OS 8.0.
 
 
Con_Popup R Con,X,Y[,W,H],T$,Mi
Con_Popup R Con,X,Y,W,H,T$,F,Mi,Ma,Act
Con Control identification number.
X X-position of the upper left corner of the popup menu.
Y Y-position of the upper left corner of the popup menu.
W Width of the popup menu.
H Height of the popup menu.
T$ Title of the popup menu.
Mi Menu identification number of the popup menu.
Ma Width of T$ in pixels. Only W-Ma pixels remain then for the actual button.
Act Address of an action function called after the popup menu is exited.
Defines push button with popup menu.
 
 
Con_Popuparrow R Con,X,Y[,F],T,Act
Con Control identification number.
X X-position of the upper left corner of the popup arrow.
Y Y-position of the upper left corner of the popup arrow.
F Flags with the following meaning:

Bit 0 : The popup arrow is visible.
T Arrow shape/type:

T=0 : Large arrow pointing towards the right.
T=1 : Large arrow pointing towards the left.
T=2 : Large arrow pointing towards the top.
T=3 : Large arrow pointing towards the bottom.
T=4 : Small arrow pointing towards the right.
T=5 : Small arrow pointing towards the left.
T=6 : Small arrow pointing towards the top.
T=7 : Small arrow pointing towards the bottom.
Act Address of an action function.
Defines pop-up arrow.

Available starting with Mac OS 8.0.
 
 
Con_Progressbar R Con,X,Y,W[,F,V,Mi,Ma]
Con Control identification number.
X X-position of the upper left corner of the progress bar.
Y Y-position of the upper left corner of the progress bar.
W Width of the progress bar.
F Flags with the following meaning:

Bit 0 : The progress bar is visible.
V Start value of the progress bar (Mi<=V<=Ma).
Mi Minimum value of the progress bar (-32768<=Mi<=32767 ; Mi<=Ma).
Starting with System 8.5 (
-2147483648<=Mi<=2147483647).
Ma Maximum value of the progress bar (-32768<=Mi<=32767 ; Mi<=Ma).
Starting with System 8.5 (
-2147483648<=Ma<=2147483647).
Defines progress bar.

Available starting with Mac OS 8.0.
 
 
Con_Radiobutton R Con,X,Y,T$
Con_Radiobutton R Con,X,Y[,W,H],T$,F,V,Act
Con Control identification number.
X X-position of the upper left corner of the radio button.
Y Y-position of the upper left corner of the radio button.
W Width of the radio button.
H Height of the radio button.
T$ Title of the radio button.
F Flags with the following meaning:

Bit 0 : The radio button is visible.
V V = 0 : The radio button is not marked.
V = 1 : The radio button is marked.
Act Address of an action function.
Defines radio button.
 
 
Con_Redraw Con
Con Control identification number.
Redraws control.
 
 
Con_Scrollbar R Con,X,Y,W,H,V,Mi,Ma
Con_Scrollbar R Con,X,Y,W,H,F,V,Mi,Ma,Act
Con Control identification number.
X X-position of the upper left corner of the scroll bar.
Y Y-position of the upper left corner of the scroll bar.
W Width of the scroll bar.
H Height of the scroll bar.
F Flags with the following meaning:

Bit 0 : The scroll bar is visible.
Bit 1 : The scroll bar shows live feedback.
V Start value of the scroll bar (Mi<=V<=Ma).
Mi Minimum value of the scroll bar (-32768<=Mi<=32767 ; Mi<=Ma).
Starting with System 8.5 (
-2147483648<=Mi<=2147483647).
Ma Maximum value of the scroll bar (-32768<=Mi<=32767 ; Mi<=Ma).
Starting with System 8.5 (
-2147483648<=Ma<=2147483647).
Act Address of an action function.
Defines scroll bar.

Live feedback only possible starting with Mac OS 8.0.
 
 
Con_Separator R Con,X,Y,W,H[,F]
Con Control identification number.
X X-position of the upper left corner of the separator line.
Y Y-position of the upper left corner of the separator line.
W Width of the separator line.
H Height of the separator line.
F Flags with the following meaning:

Bit 0 : The separator line is visible.
Defines a separator line.

Available starting with Mac OS 8.0.
 
 
Con_Setaction Con,Act
Con Control identification number.
Act Address of an action function.
Sets action function.
 
 
Con_Setborder Con,X,Y[,W,H]
Con_Setborder Con,0,W,H
Con Control identification number.
X X-position of the upper left corner of the control.
Y Y-position of the upper left corner of the control.
W Width of the control.
H Height of the control.
Sets position and/or size of a control.
 
 
Con_Setclock Con,H,M,S,D,Mo,Y
Con Control identification number.
H Hour (0<=H<=23).
M Minute (0<=M<=59).
S Second (0<=S<=59).
D Day.
Mo Month.
Y Year (-30081<=Y<=29940).
Sets time and date.

Available starting with Mac OS 8.0.
 
 
Con_Setcontent Con,T,Id
Con Control identification number.
T T=1 : Icon suite resource (e.g., 'ICN#', 'ic14', 'ic18').
T=1 : Individual icon resource type 'cicn'.
T=3 : Picture resource type 'PICT'.
Id Resource ID of a resource specified by T.
Sets contents for bevel buttons, image wells, and tab groups (only icon in header).

Available starting with Mac OS 8.0 (tab groups not until Mac OS 8.1).
 
 
Con_Setfontstyle Con,Fo,Si,Fa,Mo,Ju,Fc,Bc
Con Control identification number.
Fo Font number.
Si Font size in points.
Fa Font style.
Mo Link mode.
Ju Text alignment.

Ju=0 : Default direction of text
Ju=1 : Centered
Ju=2 : Left aligned
Ju=3 : Right aligned
Fc Index for the text color (0<=Bc<=255).
Bc Index for the background color (0<=Bc<=255).
Sets font attributes.

Available starting with Mac OS 8.0.
 
 
Con_Setgrafpos Con,Ju,X,Y
Con Control identification number.
Ju Graphic alignment:

Ju=0 : Default system direction
Ju=1 : Centered
Ju=2 : Left
Ju=3 : Right
Ju=4 : Top
Ju=5 : Bottom
Ju=6 : Left top
Ju=7 : Left bottom
Ju=8 : Right top
Ju=9 : Right bottom
X X-offset from edge on which the graphic is bordering.
Y Y-offset from edge on which the graphic is bordering.
Set position of a graphical object into a bevel button.

Available starting with Mac OS 8.0.
 
 
Con_Setkeyfilter Con,Fil
Con Control identification number.
Fil Address of a filter function of the type:

FN My_Keyfilter(Con,A,V,M)

A
: ASCII code
V
: Virtual key code
M
: Modifier keys
Sets key filter function.
 
 
Con_Setkeyfocus Con
Con Control identification number.
Sets key focus.
 
 
Con_Setmaximum Con,Ma
Con Control identification number.
Ma Maximum value that can be accepted by the control.
Sets control maximum.
 
 
Con_Setmenu Con,Id
Con Control identification number.
Id Menu identification number of a popup menu.
Assigns pop-up menu.

Available starting with Mac OS 8.1.
 
 
Con_Setminimum Con,Mi
Con Control identification number.
Mi Minimum value that can be accepted by the control.
Sets control minimum.
 
 
Con_Setprogressbar Con,M
Con Control identification number.
M Progress bar type.

M=0 : determinate
M=1 : indeterminate
Switches between determinate and indeterminate progress bar.
 
 
Con_Setselect Con,S,E
Con Control identification number.
S Start position of the desired block.
E End position of the desired block.
Sets text block.
 
 
Con_Setstep Con,S1,S2
Con Control identification number.
S1 Increment to be used when clicking on the arrows.
S2 Increment to be used when the user clicks next to the indicator.
Sets increments.
 
 
Con_Settext Con,T$
Con Control identification number.
T$ Control text.
Sets control text.
 
 
Con_Settextplace Con,Ju
Con Control identification number.
Ju Text position:

Ju=0 : Default system position
Ju=1 : Normal position
Ju=2 : To the right of the graphic
Ju=3 : To the left of the graphic
Ju=4 : Underneath the graphic
Ju=5 : Above the graphic
Sets position of a text relative to a simultaneously existing graphic into a bevel button.

Available starting with Mac OS 8.0.
 
 
Con_Settextpos Con,Ju,X
Con Control identification number.
Ju Text alignment.

Ju=0 : Default direction of text
Ju=1 : Centered
Ju=2 : Left aligned
Ju=3 : Right aligned
X X-offset from edge on which the text is bordering.
Sets position of a text into a bevel button.

Available starting with Mac OS 8.0.
 
 
Con_Settransform Con,T
Con Control identification number.
T Transform mode:

T=$1 : Nonselectable (disabled).
T=$2 : Offline.
T=$3 : Open.

If the value
$4000 is added to each of the three values, then the object is selected additionally. It is also possible to add $100 to $700. Then the object takes on the color set in the Finder as the label color for folders and files.
Sets transform mode.
 
 
Con_Setvalue Con,V
Con Control identification number.
V Control value.
Sets control value.
 
 
Con_Setviewsize Con,S
Con Control identification number.
S Indicator size.
Sets indicator size.
 
 
Con_Show Con
Con Control identification number.
Renders control visible.
 
 
Con_Slider R Con,X,Y,W,H,V,Mi,Ma
Con_Slider R Con,X,Y,W,H,F,V,Mi,Ma,T,Act
Con Control identification number.
X X-position of the upper left corner of the slider.
Y Y-position of the upper left corner of the slider.
W Width of the slider.
H Height of the slider.
F Flags with the following meaning:

Bit 0 : The slider is visible.
Bit 1 : The slider shows live feedback.
Bit 2 : The slider has tick marks.
Bit 3 : Attaches tick marks to the opposite side.
Bit 4 : The indicator is shaped like a rectangle. If this bit is set, bits 2 and 3 are ineffective.
V Start value of the slider (Mi<=V<=Ma).
Mi Minimum value of the slider (-32768<=Mi<=32767 ; Mi<=Ma).
Starting with System 8.5 (
-2147483648<=Ma<=2147483647).
Ma Maximum value of the slider (-32768<=Mi<=32767 ; Mi<=Ma).
Starting with System 8.5 (
-2147483648<=Ma<=2147483647).
T Number of tick marks.
Act Address of an action function.
Defines slider.

Available starting with Mac OS 8.0.
 
 
Con_Static R Con,X,Y,T$
Con_Static R Con,X,Y,W,H,T$[,F]
Con Control identification number.
X X-position of the upper left corner of the text.
Y Y-position of the upper left corner of the text.
W Width of the text.
H Height of the text.
T$ Static text to be displayed.
F Flags with the following meaning:

Bit 0 : The text is visible.
Defines static text.
 
 
Con_Triangle R Con,X,Y[,F],V,T,Act
Con Control identification number.
X X-position of the upper left corner of the triangle.
Y Y-position of the upper left corner of the triangle.
F Flags with the following meaning:

Bit 0 : The triangle is visible.
Bit 1 : The triangle has auto-tracking.
V Initial value of the disclosure triangle (0<=V<=1).
T Direction of triangle during normal status (V=0):

T=0 : Triangle points right.
T=1 : Triangle points left.
Act Address of an action function.
Defines disclosure triangle.

Available starting with Mac OS 8.0.
 
 
Def_Controls Win  
Win Window identification number.
Starts control definition in window Win.
 
 
End_Controls  
Ends control definition.
 
 
FN Con_Getkeyfocus(Win)
Win Window identification number.
Determines the control with the key focus.
 
 
FN Con_Getmaximum(Con)
Con Control identification number.
Queries control maximum.
 
 
FN Con_Getmenuentry(Con)
Con Control identification number.
Queries which menu item was last clicked.
 
 
FN Con_Getminimum(Con)
Con Control identification number.
Queries control minimum.
 
 
FN Con_Getprogressbar(Con)
Con Control identification number.
Determines whether the progress bar is a determinate (function value=0) or an indeterminate (function value=1) progress bar.
 
 
FN Con_Gettext$(Con)
Con Control identification number.
Queries control text.
 
 
FN Con_Gettransform(Con)
Con Control identification number.
Queries transform mode.

Available starting with Mac OS 8.0.
 
 
FN Con_Getvalue(Con)
Con Control identification number.
Queries control value.
 
 
FN Con_Getviewsize(Con)
Con Control identification number.
Queries indicator size.
 
 
FN Con_Handle(Con)
Con Control identification number.
Determines control handle.
 
 


6. Control Library -turn page- Table of Contents

Contents | Start



© 1998-2000 Berkhan-Software
www.berkhan.de | Home