TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Peter Fitzsimmons
from: Alessandro Tripiccione
date: 1996-12-01 09:32:16
subject: Os/2 MDI

Ciao Peter,

Reference: msg del 26-Nov-96
Author   :Peter Fitzsimmons
TO       :Alessandro Tripiccione
about    :Os/2 On A Mission


 PF> His statement caught me for a second too.  I think what he means (and 
 PF> he's right) is that a PM program with multiple windows is _very_ easy
 PF> (with their own menus and everything) -- even though it does not look
 PF> look like the (awful) thing Windows calls "MDI";  where
all the windows
 PF> appear inside the same frame and share a menu.

Right.
The point is a little bit different if you have to port an existent MDI win
application to OS/2 and you *must* follow the MDI paradigm because of your
client. I had to port a win application to OS/2, and the client asked me to
mantain the same MDI-style interface. I tried to explain that a multiwindow
application should be better.... but nothing to do!
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!
Is there any better way to create MDI looking applications? Till then I
allways used multiwindow applications, sometimes with extensive use of non
modal dialogs. But is there any simple way, in OS/2, to write MDI programs?
I think not. (but I still think that OS/2 programming is easier and more
powerful tha windows programming...)



 :) ----> Enjoy Yourself,
           Alessandro Tripiccione <-----CR

--- Terminate 1.50
* Origin: If you don't know what to do, do something else (2:332/617.28)
SEEN-BY: 50/99 270/101 620/243 625/160 711/401 409 410 413 430 808 809 934
SEEN-BY: 711/955 712/407 515 624 628 713/317 800/1
@PATH: 332/617 504 334/204 201 270/101 712/515 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™.