1. win32lib question & re: to C.K Lester
- Posted by Talvitie <smtoa at SAUNALAHTI.FI> Jul 20, 1999
- 411 views
David,=20 when creating a new window, I'd like it to be without = resize(maximaze)button (non resizeable). The window should thus have 2 = sizes: minimized and whole screen, but... when being in "whole screen" = size it should then be redused to the upper part of the screen leaving = some of the desk top visible. Can this be done with win32lib? I quess the flags in create() is used = for the things like this, but the program seems to halt, when I send = something non-zero to it. Could you send a list of the values to send = into flags and their functions? Re to C.K. Lester >>Why should I use llama? you didn't give any arguments, witch, I = prefer, is a >Why did you call me a witch? Sorry, I always mix those two words: which and witch. But maybe you are = some kind of Euphoria Wizard?! :) Did you read Mr. Cuny's last message? I think I'm going to do it with = win32lib, as he recommented. But that doesn't stop me to do the real = user interface(the one being used by programmer) to be based on llama. = Well, time will tell! --Tapani
2. Re: win32lib question & re: to C.K Lester
- Posted by Mike Hurley <mikehurley2 at NETZERO.NET> Jul 19, 1999
- 393 views
-----Original Message----- From: Talvitie <smtoa at SAUNALAHTI.FI> To: EUPHORIA at LISTSERV.MUOHIO.EDU <EUPHORIA at LISTSERV.MUOHIO.EDU> Date: Monday, July 19, 1999 3:59 PM Subject: win32lib question & re: to C.K Lester David, when creating a new window, I'd like it to be without resize(maximaze)button (non resizeable). The window should thus have 2 sizes: minimized and whole screen, but... when being in "whole screen" size it should then be redused to the upper part of the screen leaving some of the desk top visible. Can this be done with win32lib? I quess the flags in create() is used for the things like this, but the program seems to halt, when I send something non-zero to it. Could you send a list of the values to send into flags and their functions? Re to C.K. Lester >>Why should I use llama? you didn't give any arguments, witch, I prefer, is a >Why did you call me a witch? Sorry, I always mix those two words: which and witch. But maybe you are some kind of Euphoria Wizard?! :) Did you read Mr. Cuny's last message? I think I'm going to do it with win32lib, as he recommented. But that doesn't stop me to do the real user interface(the one being used by programmer) to be based on llama. Well, time will tell! --Tapani Tapani: If you want just the minimize button, do something like this in the last spot of create(): WS_CAPTION+WS_THICKFRAME+WS_MINIMIZEBUTTON(see below)+WS_SYSMENU or... if you want the window to not be resizeable at all, replace WS_THICKFRAME with WS_BORDER or WS_DLGFRAME, depending on how you want it to look. (see below) it may be called WS_MINBUTTON or something similar, I didn't look it up, check WIN32LIB.EW before trying to avoid errors. Mike Hurley ________________________________________________________ NetZero - We believe in a FREE Internet. Shouldn't you? Get your FREE Internet Access and Email at http://www.netzero.net/download/index.html
3. Re: win32lib question & re: to C.K Lester
- Posted by "Cuny, David" <David.Cuny at DSS.CA.GOV> Jul 19, 1999
- 396 views
Tapani wrote: > when creating a new window, I'd like it to be without > resize(maximaze)button (non resizeable). The routine createWindow() creates the window. The code: -- use default is flags are not set if flags = 0 then flags = or_bits( flags, WS_OVERLAPPEDWINDOW ) end if sets the defaults if the flag is zero. (I can see the or_bits isn't needed; I should probably clean that up.) In any event, the flags for the default window are: WS_OVERLAPPEDWINDOW = or_all({ WS_OVERLAPPED, WS_CAPTION, WS_SYSMENU, WS_THICKFRAME, WS_MINIMIZEBOX, WS_MAXIMIZEBOX}) Try using these attributes: or_all({WS_OVERLAPPED, WS_CAPTION, WS_THICKFRAME }) Hope this helps! -- David Cuny