Check out the code attached. Flicker completely gone.
It still has some small quirks, but the direction seems
to be the one.
Applied, but I think RedrawWindow() is still required. But I amy
need more
inputs.
RedrawWindow() is needed to restore the original,
"unselected" state. The above
Viktor
>Check out the code attached. Flicker completely gone.
>It still has some small quirks, but the direction seems
>to be the one.
Applied, but I think RedrawWindow() is still required. But I amy need more
inputs.
Regards
Pritpal Bedi
--
View this message in context:
http://www.nabble.co
Hi Pritpal,
Slightly better than the first version, since it's
not calling RedrawWindow() for smaller mouse movements
now. Still flickers very much, when the selection
changes though.
The culprit here is RedrawWindow() which seems slow and
redraws the whole window, hence the flicker.
My attempt
Hi Pritpal.
Thanks a lot for your answers.
When resizing to a small size, part of the screen gets duplicated.
Do you say that if console is resized to smaller one the parts are
duplicated? Unable to reproduce...
http://www.syenar.hu/harbour/pic1.png
http://www.syenar.hu/harbour/pic2.png
S
Pritpal Bedi wrote:
>
>
>
>> Can you solve it that if users resize with one of the corners,
>> the resize tries to keep the original proportions?
>
> At the moment I have no clue, but constantly on lookups.
>
>
Try it with WM_ENTERSIZEMOVE, WM_EXITSIZEMOVE
Regards,
Petr
--
View this m
Hello Viktor
> Many thanks Pripal.
:-)
> If you move the cursor to the edge of the screen while resizing, the
> window disappears.
Observed.
> While resizing, I've seen the font codepage to change. (maybe because
> the font changed too, I'm not sure)
> On init I change to "Courier", size 14,
2008-06-08 08:57 UTC+0800 Pritpal Bedi ([EMAIL PROTECTED]
* harbour/source/rtl/gtwvt/gtwvt.c
* Fixed flickering in "Mark and Copy" operation.
/* Viktor, see the slight change in your code. */
Regards
Pritpal Bedi
--
View this message in context:
http://www.nabble.com/2008-06-08-0
Many thanks Pripal.
After testing here are a few observations:
- If you move the cursor to the edge of the screen while resizing,
the window disappears.
- While resizing, I've seen the font codepage to change. (maybe because
the font changed too, I'm not sure)
On init I change to "Courier",
2008-06-08 08:57 UTC+0800 Pritpal Bedi ([EMAIL PROTECTED]
* harbour/source/rtl/gtwvt/gtwvt.c
+ Added functionality to disable "Mark and Copy" prompt in the SysMenu.
Include Function Hb_NoCopyConsole() if you do not want this
functionality.
+ Added funtionality to resize the co