Porovnávané verzie
porovnané s
Kľúč
- Tento riadok sa pridal
- Riadok je odstránený.
- Formátovanie sa zmenilo.
Komentár:
Chyba v deklarácii nepovinného parametra
%HI_GetPicturePosX, %HI_GetPicturePosY functions
Function
The functions return the positions of the picture on the screen or on the desktop of the process D2000 HI.
Declaration
Blok kódu | ||||
---|---|---|---|---|
| ||||
INT %HI_GetPicturePosX( [INT in _from := 0] ) INT %HI_GetPicturePosY( [INT in _from := 0] ) |
Parameters
_from | Optional parameter. Possible values:
|
Example
The function %HI_GetPicturePosX returns the distance of the left picture margin from the left screen margin, the function %HI_GetPictureSizeY returns the distance of the top picture margin from the top screen margin.
To set the picture size use the function %HI_SetPicturePos.
To set the picture size use the function %HI_SetPicturePos.
Blok kódu | ||||
---|---|---|---|---|
| ||||
INT _x INT _y _y := %HI_GetPicturePosX(1) _x := %HI_GetPicturePosY(1) |
Note 1
Original (default) behavior of the functions (i.e. if the parameter _from is not specified or its value is 0).
The functions returns:
A) For dialog or dialog modal picture windows - positions on the screen.
B) For other picture windows (so-called MDI windows) - positions on the desktop of the process D2000 HI.
The functions returns:
A) For dialog or dialog modal picture windows - positions on the screen.
B) For other picture windows (so-called MDI windows) - positions on the desktop of the process D2000 HI.
Note 2
The functions are not designed for working with so-called dock pictures.
Note 3
This function is available also in %HIX_ version.