Re: w32feature()

new topic     » goto parent     » topic index » view thread      » older message » newer message

CChris wrote:
> 
> 
> I don't expect to put this in win32lib v0.70.4a, but perhaps in 70..
> 
> Some behaviours of the library are not quite right, but they have been that
> way for a long time and code is using or working around the behaviour.
> 
> I'm contemplting the addition of a w32feature(name) or
> w32feature(name,state=on)
> proedure that would act a little like a with/without directive in this egard.
> 
> Here are the first wo features I thought about:
> 
> 1/It had been requested that getRect'Screen) return th usable screen area (ie
> withut the taskbar, appbars and stuff) raher than the whole screen area. But
> this has disturbed some code (search EuForum for win32lib docked). A call to
> w32feature("screen_actual_rect") would activate the current behaviour, default
> being the older one.
> 
> 2/ ...
> Any thoughts?
> 
> CChris

I think it should only be getClientRect(Screen) that returns the usable area.
getRect(Screen) should return the full screen as before.
Compare getClientRect(<Window>) and getRect(<Window>) which return the
areas inside and outside the borders.

Arthur Crump (UK)

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu