Newsgroups: comp.windows.ms.programmer,comp.windows.ms.programmer.misc
Path: funic!nntp.hut.fi!nntp!Jari.Karjala
From: Jari.Karjala@hut.fi
Subject: How to implement vertical panes a'la FileManager?
Message-ID: <JARI.KARJALA.92Nov6152918@lk-hp-11.hut.fi>
Followup-To: comp.windows.ms.programmer
Sender: usenet@nntp.hut.fi (Usenet pseudouser id)
Nntp-Posting-Host: lk-hp-11.hut.fi
Reply-To: Jari.Karjala@hut.fi
Organization: Helsinki University of Technology, Finland
Distribution: comp
Date: 06 Nov 92 13:29:18 GMT
Lines: 20


The Win 3.1 FileManager has (as we all know) a multiple document
interface where each child contains a pane containing a directory tree
list and a filelist linked to the selected directory.  

According to spy, each MDI child seems to be a custom class which has
the drive buttons and two listboxes as childs, and this class handles
the resizing of childs. It appears that win-api does not have any kind
of Pane control for positioning the child windows (like many X widget
sets have).

Any ideas how this is implemented? Is it a custom control? Is there
source code implementing such beast somewhere (publicly available)?


--
/*-- Jari.Karjala@hut.fi -- The World is Just a Huge Fractal --*/
float o=0.075,h=1.5,T,r,O,l,I;int _,L=80,s=3200;main(){for(;s%L||
(h-=o,T= -2),s;4 -(r=O*O)<(l=I*I)|++ _==L&&write(1,(--s%L?_<L?--_
%6:6:7)+"World! \n",1)&&(O=I=l=_=r=0,T+=o /2))O=I*2*O+h,I=l+T-r;}
