Page 1 of 1

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

Posted: 28 Jul 2014 11:07
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.

Posted: 28 Jul 2014 12:30
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).