home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!stanford.edu!agate!rsoft!mindlink!a499
- From: Robert_Salesas@mindlink.bc.ca (Robert Salesas)
- Newsgroups: comp.os.ms-windows.programmer.misc
- Subject: Re: Combo box bug?
- Message-ID: <13790@mindlink.bc.ca>
- Date: 27 Jul 92 20:31:26 GMT
- Organization: MIND LINK! - British Columbia, Canada
- Distribution: world
- Lines: 38
-
- > Mika Iisakkila writes:
- >
- > Msg-ID: <IISAKKIL.92Jul27130855@lesti.hut.fi>
- > Posted: 27 Jul 92 13:08:55
- >
- > Org. : Helsinki University of Technology
- >
- >
- > I've noticed a peculiar behaviour in Win 3.1 combo boxes. I have an
- > application which has a dialog box as the main window, and it contains
- > a combo box control. If I click the combo box open and try to move the
- > main window, the drop-down part of the combo box won't move! It works
- > still fine, stays above the main window etc, but looks really weird.
- > The Windows applets seem to avoid this, because the combo boxes always
- > close when you click on the window caption. Have I done something
- > wrong or is this a Windows bug? Should I capture WM_NCLBUTTONDOWN and
- > close the combo box before allowing the window to move? Seems stupid.
- >
- > I'm using Windows 3.1 and MSC 7.00.
- >
- > --
- > Segmented Memory Helps Structure Software
-
-
-
- This problem exists in both 3.0 and 3.1. It has to do with the fact that the
- drop down list belongs to the desktop, not the window. Anyway, to fix it just
- trap the wm_NCLButtonDown and the wm_ParentNotify (if you have child windows
- that cover parts of the parent all the time).
-
- Rob
-
- --
- \------------------------------------------------------------------------/
- \ Robert Salesas | Internet: Robert_Salesas@mindlink.bc.ca /
- \ Eschalon Development Inc. | CIS: 76625,1320 Tel/Fax: 604-520-1543 /
- \------------------------------------------------------------------------/
-
-