TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Alessandro Tripiccione
from: Jonathan de Boyne Pollard
date: 1997-01-11 23:45:16
subject: Os/2 MDI

AT>
  > So I had to get crazy  to subclass all frame controls windows (FID_MENU,
  > FID_SYSMENU, and so on), I had to write my own WM_TILE, WM_ARRANGE command
  > functions.... it was ugly!
AT>

  It is also unnecessary.  I've maintained an application that does MDI on
  OS/2 Presentation Manager, and there wasn't any need to subclass any of
  the frame controls at all.  Tiling and arranging are simplicity
  themselves, being little more than calls to Win*EnumWindows and
  WinSetMultWindowPos.

  Even implementing the "bare minimum" for an OS/2 MDI application gives a
  reasonably clean and functional interface.  Most things "just work",
  with no additional code required.  Compare this with Windows, and
  problems like providing individual menus for individual child windows
  (with OS/2 PM, you just put the menu in the resource definition for the
  child window, and it works), or giving child windows anything other than
  sizeable borders (with OS/2 PM, you can just specify a border type and
  it works).

  > JdeBP <
___
 X MegaMail 2.10 #0:

--- Maximus/2 3.01
* Origin: DoNoR/2,Woking UK (44-1483-725167) (2:440/4)
SEEN-BY: 50/99 54/99 270/101 620/243 625/0 160 711/401 409 410 413 430 808
SEEN-BY: 711/809 934 955 712/311 407 505 506 517 623 624 704 713/317 800/1
@PATH: 440/4 141/209 270/101 712/624 711/808 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.