Hi Pritpal,

Active-X windows do not work with ESC except only those
which pass key events back to the parent window procedure.
You need to click on task-bar and then press ESC.

Weird. Anyhow I've found out since, that Alt+F4 works
on those stuck windows. But it's yet another combination
which is a bit confusing, I think a user initiated GUI window
should always be closable by close button and Alt+F4, optionally
some custom keys (ESC) or custom buttons (preferably Close/Cancel/OK).
But that's a bit off topic and probably I'm confused by the
mixed GUI/CUI concept.

This is always a problem with windows protocol. You only know
it where you have focus. It is a general behavior.

When main appln window is in focus and you press <ESC> appln quits.

Question is how to recognize the main window :)

I was bargaining a trade off in between previou vs current behavior.
Both have flaws. The best solution is to change the visual properties
in Windows which I have documented for my applns. You are correct
in your assertion. BTW this can be controlled with a switch in pWVT,
what do you think?

No, I think we should have one way done right, instead of two
not really right. This one (for WVT) should be the current
one IMO, because it's superior in multiple ways. So far I cannot
see why the new method is any better, it's just replaced
some tolerable flickering with other artifacts and less
usability. I imagine the fully proper solution would be
something like those snapping move/resize borders of toolbars
in Visual Studio IDE for example. Dunno how they did it.

Overall the refresh looks now indeed better, with some price
paid by extra flickering.


"extra flickering" ? In refresh context what do you mean by it?

Some controls (notably the toolbar icons - like shrink/expand)
maybe some others, when doing certain window movements above it.
Can't give you specific keys to reproduce, cause they were visible
after randomly clicking all over the demo. Maybe some screen
elements are redrawn in a fashion that the whole control area
is cleared then image/text redrawn, but I'm not really into Windows
programming, so maybe it's something else.

Brgds,
Viktor

_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to