Hi Priptal,
If you don't mind I'd remove the symbol based
methods, as it doesn't seem to be std core
language way to control such things. It causes
problems where other libs define this symbol for
example.
Also back to FireEvent:
Since IMO the whole point of GTs is to give an
abstraction level above the very different terminal
types, we should apply this level of abstraction
to the callback event, too. Meaning that I think
we should remove any "wparam", "lparam" refs,
as the beauty of core Harbour is that it doesn't
deal with this level of system specific stuff
diirectly. This stuff is to be implemented outside
of the scope of the GT core. I'm also not sure
if this is a good way to pass mouse/keyboard events
in a generic way, some GTs may not work like this,
plus we'd rather need a core key/mouse pipeline,
I think there has been discussion about this, but
it's still not implemented (I'm not sure).
So the idea is: Let's pass _abstracted_, _high level_
and platform neutral messages to these callbacks
to notify about these the underlying app. And we
need only one notifier block. Any user data may
be passed through the callback, so IMO we don't
need a duplicate way to do this.
hb_gtInfo( HB_GTI_NOTIFIERBLOCK, {|nEvent, xPar|
myEventCatcher( nEvent, xPar, myappdata ) })
Brgds,
Viktor
On 2008.06.09., at 1:15, Pritpal Bedi wrote:
2008-06-08 16:03 UTC+0800 Pritpal Bedi ([EMAIL PROTECTED]
* harbour/source/rtl/gtwvt/gtwvt.c
* harbour/source/rtl/gtwvt/gtwvt.h
* harbour/source/rtl/hbgtcore.c
* harbour/include/hbgtinfo.ch
+ HB_GTI_MARKCOPY
Added feature to toggle "Mark and Copy" Sysmenu option with:
Hb_GtInfo( HB_GTI_MARKCOPY, TRUE|FALSE ) -> lPrevState
Removed necessity to have Hb_NoCopyConsole() to not include it.
Now appln always HAS this SysMenu option.
+ HB_GTI_RESIZEABLE
Added feature to toggle resizing of appln window as:
Hb_GtInfo( HB_GTI_RESIZEABLE, TRUE|FALSE ) -> lPrevState
Function Hb_NoResizeableWindow() still hold good for startup.
You always can activate/deactivate this feature from within
appln.
Few more optimizations while resizing, still work in progress.
* harbour/tests/wvtext.prg
* Updated to demonstrate above functionality.
Regards
Pritpal Bedi
--
View this message in context:
http://www.nabble.com/2008-06-08-16%3A03-UTC%2B0800-Pritpal-Bedi-%28pritpal%40vouchcac.com-tp17724278p17724278.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