Re: Win32Libv50: How make window invisible (initially?)?
- Posted by Ad Rienks <kwibus at ZONNET.NL> Sep 27, 2000
- 477 views
----- Oorspronkelijk bericht ----- Van: Brian Broker <bkb at CNW.COM> Aan: <EUPHORIA at LISTSERV.MUOHIO.EDU> Verzonden: woensdag 27 september 2000 19:40 Onderwerp: Re: Win32Libv50: How make window invisible (initially?)? > On Wed, 27 Sep 2000 09:44:47 -0700, Matthew Lewis wrote: > > >> From: Brian Broker > > > >Wolf's solution was simply too obvious for most of us to think of. :( We > >got all wrapped up in the API, and forgot about simple programming > >techniques. But this brings something else to mind. > > > >Has anyone created a little library (it shouldn't be too hard, I think) to > >automatically size/position controls based on the display settings. That > >seems to be a big missing point in win32lib, and maybe it shouldn't be a > >part of the main lib, but it would make app's look much nicer when other > >people run them on different machines. I've thought about doing something > >like this, but I guess I haven't gotten up enough energy to do anything > >about it. > > What kind of routines are you looking for? I've created quite a few > already, like my centerwin.ew lib for centering a window in the desktop > workspace. I plan on integrating those into Win32Lib (as I suggested in an > earlier post, e.g. getClientRect( Screen ) should return what my getWorkarea > () function returns) and submitting the changes to Derek. Or are we > looking for an add-on lib? > > -- Brian I think Matt means routines for converting the properties according to screen- and charactersizes. This was one of the first problems I encountered when exchanging programs with Wolf for the tutor: he used a 640 x 480 screen, and I an 800 x 600. Controls and sizes of characters look a lot different in different resolutions, I can tell you. -- Ad