home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!mcsun!sunic!isgate!krafla!karlth
- From: karlth@rhi.hi.is (Karl Thoroddsen)
- Newsgroups: comp.os.ms-windows.programmer.misc
- Subject: Re: How to implement two listboxes a'la FileManager?
- Message-ID: <5603@krafla.rhi.hi.is>
- Date: 12 Nov 92 16:09:13 GMT
- References: <1992Nov12.122304.18701@cs.hut.fi>
- Sender: usenet@rhi.hi.is
- Lines: 25
- Nntp-Posting-Host: hengill.rhi.hi.is
-
- In <1992Nov12.122304.18701@cs.hut.fi> s34090e@kaira.hut.fi (Petri Taavila) writes:
-
- >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)?
-
- When the MDI child recieves a notification of it being resized, it
- simply changes the size of its child windows.
-
- Look up: WM_SIZE and WM_MOVE. For a complete example see Peter Norton's and
- Paul Yao's "Windows 3.0 Power programming techniques." page 412.
-
- --
-
- \ Internet: karlth@rhi.hi.is \ Karl Thoroddsen University Of Iceland
- \ Respect... , Peter Ustinov \ Department Of Computer Science
-