w32feature()

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

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/ Controls on TabItems currently need to adjust their y position if they don't
want to overlap the tabs, which is something I wouldn't usually do. It would be
possile to have proper client adjustment in TabControls, but it is not there and
much code is working around it. w32feature("adjust_tabctrl_rect") would enable
the newer, nicer behaviour, default being the current.

Any thoughts?

CChris

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

Search



Quick Links

User menu

Not signed in.

Misc Menu