Re: Win32Lib bug?
- Posted by Dan B Moyer <DANMOYER at PRODIGY.NET> Nov 15, 2000
- 479 views
Brian, This is the same kind of thing I was referring to in an earlier post! Glad someone else noticed it too. :) I said: "One possible problem to look out for with regard to style setting for windows, unless Derek has changed it in Win32Lib, is that as far as I understand, in (a) recent version, the default style setting does *not* get "over-ridden" by user specified style, the user spec just gets *added* to the default, so you can't be completely sure that you have "rolled your own" (window style) as you intended." I had been making modal windows deliberately without a minimize box, (so as to work-around a bug which allowed a modal window's main window to be wrongfully closed before the modal was, by minimizing the modal window first), by using a create similar to yours, constant aModalWindow = create( Window, "This is a Modal Window", TheWindow, 50, 80, 400, 200, or_all({WS_DLGFRAME, WS_SYSMENU}) ) which *did* make the window without the minimize box in v.50, but made it *with* the minimize box in .54 Dan ----- Original Message ----- From: "Brian Broker" <bkb at CNW.COM> To: <EUPHORIA at LISTSERV.MUOHIO.EDU> Sent: Wednesday, November 15, 2000 3:21 PM Subject: Win32Lib bug? > I've finally gotten around to playing with the newest Win32Lib release (and > changing my programs accordingly). > > Question: Does 'create' still process flags? > > This works on version .50: > > constant > NoSizeWin = or_all( {WS_DLGFRAME, > WS_SYSMENU, > WS_MINIMIZEBOX} ) > > constant > Win = create( Window, "Win", 0, 0, 0, 640, 480, NoSizeWin ) > > -- Win is a Window that cannot be resized > > This no longer works in the latest release. I don't have time to track it > down because there have been so many changes lately... > > Any help? > > Thanks, > -- Brian