![]() ![]() ![]() |
![]() |
Windows and Controls creation:
window creates an
overlapping window
edit creates an edit control
button creates a button
control
static creates a static
label
bitmap creates a bitmap
control
icon creates an icon control
animate creates an animation
control
Windows and Controls use:
parent gets the parent window handle of the
argument window
close_window closes a window
update_window updates the drawings
in the window
get_text
gets the text value of a control (window)
set_text
sets the text value of a control (window)
size gets/sets a window's size
position gets/sets a window's
position
press_button presses button at given
position
Menu:
menu creates a menu item
modify_menu modifies the menu item
Drawing:
line draws a line
fill_polygon draws a polygon
bezier_line draws a Bézier curve
ellipse draws an ellipse
draw_chord draws a chord
draw_pie draws a pie
draw_arc draws an arc
rect draws a rectangle
round_rect draws a round rectangle
text_out draws a rectangle with a text
Fonts, colors, pens and backgrounds:
pen gets/sets the current pen
brush sets the filling color
color_text sets the text color
color_text_back sets the text background
window_brush sets a window's background color
system_color gets system color
rgb creates a color by its RGB value (Red,
Green, Blue)
select_color invokes a Select Color
dialog box
select_font invokes a Select Font dialog
box