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", size 14, and the next proportionally
  smaller step messes the codepage.
- When resizing to a small size, part of the screen gets duplicated.
- Sometimes when resizing using the top edge, the screen gets into
a strange state, with the bottom there but empty, trashed and not updated.
- There is a great amount of flicker while resizing, I wonder
  if this can be reduced?
- I think that the "hb_nocopyconsole()" and "hb_noresizableWindow()"
  methods better be replaced by something else in the future.
  Question: Can these be made runtime options? (HB_GTI_SPECFLAGS
  options f.e.) For the copy feature we'd need a way to remove and
  readd the sysmenu item. For the resize, maybe the window style
  should be always the same and just toggle the resize feature.
- Can you solve it that if users resize with one of the corners,
  the resize tries to keep the original proportions?

Sorry for so much stuff..

Brgds,
Viktor

On 2008.06.08., at 18:00, Pritpal Bedi wrote:


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 console window with mouse
operations.
      /*
         Resizing of console is enabled by default.
         To supress this behavior include a dummy function
Hb_NoResizableWindow()

Resizing is available in both directions. I mean horizontal as
well as verticle.
Maximize button is also enabled. Click it to see to your surprize
that now
         console window will provide you DOS like terminal.

However there is a bug in maximized operation, last row does not
show up correct.
I feel it belongs to some miscalculation, but what that is I am
unable to locate, so far.
         Please experiment.
      */
  * harbour/tests/wvtext.prg
    * Updated to new HB_GT*_ constants and new functionality.

Regards
Pritpal Bedi
--
View this message in context: 
http://www.nabble.com/2008-06-08-08%3A57-UTC%2B0800-Pritpal-Bedi-%28pritpal%40vouchcac.com-tp17720143p17720143.html
Sent from the Harbour - Dev mailing list archive at Nabble.com.

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

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

Reply via email to