![]() ![]() ![]() |
![]() |
Usage:
client(Win, A, B, C, D)
Gets the size and position of the client area of the window Win (Use _ for Win
client(Win, A, B, C, D) will return in variables (A, B, C, D) the left-top and the right-bottom corners of the client area of the window Win.
Example:
win_func(mouse_wheel(Delta, X, Y)):-
client(_,A,B,_,_),
draw_point(X-A, Y-B, rgb(255, 0, 0)).
See also:
size and position
Messages
Look at the example:
Fractals.pro (in folder Programs)