Discussions related to Visual Prolog
User avatar
Ferenc Nagy
VIP Member
Posts: 215
Joined: 24 Apr 2007 12:26

Which is the simplest way of determination of the rectangle within the toolbars?

Unread post by Ferenc Nagy »

Suppose that you have a menu and four toolbars within the task window:
1) on its top,
2) on its bottom,
3) on its left side and
4) on its right side, respectively.
You want to divide the rest of the task window among four tiled user dialogs.
The menu item Window->Tile does not work for dialogs.
Which is the simplest wast to determine the rectangles of the user dialogs?
Possibly, independently of the screen resolution.
TIA, Regards,
Frank Nagy
User avatar
Thomas Linder Puls
VIP Member
Posts: 1399
Joined: 28 Feb 2000 0:01

Unread post by Thomas Linder Puls »

Maybe you should use forms instead of dialogs (it sounds wrong to tile dialogs).

Anyway, there are many different rectangle predicates, the ones on dialog (normally) works in dialog base units, whereas those on window works in pixels. (Here it must be the pixel ones that are interesting).
Regards Thomas Linder Puls
PDC
Post Reply