Re: [Harbour] Some more HB_GTI_ slots

2008-06-12 Thread Lorenzo Fiorini
On Wed, Jun 11, 2008 at 11:39 PM, Pritpal Bedi [EMAIL PROTECTED] wrote: Can you explain how tou would like to implement this functionality. It is available in GTWVG but am not sure what you are looking for. If I had to implement it I'd use an hash like { color0 = #ff55ff, color1 = bc9df2, ...

Re: [Harbour] GT- Multi-platform Messaging Interface

2008-06-12 Thread Lorenzo Fiorini
On Thu, Jun 12, 2008 at 7:52 AM, Szakáts Viktor [EMAIL PROTECTED] wrote: But the fundamental problem with both is that we're again introducing a way to make the GTs behave differently. So it kind of ruins the concept. +1 For me the first question is: what do we expect from GTs? For me GTs

Re: [Harbour] Window updates vs. long Harbour processes

2008-06-12 Thread Mindaugas Kavaliauskas
Hi, One way, specific to GTWVT, is to implement a timer with unique id whose sole function is to refresh the window. WM_TIMER event will not be delivered until GetMessage/DispatchMessage loop will be reached. So, it does not solves problem at all. Or maybe something completely

Re: [Harbour] GT- Multi-platform Messaging Interface

2008-06-12 Thread Szakáts Viktor
But the fundamental problem with both is that we're again introducing a way to make the GTs behave differently. So it kind of ruins the concept. +1 For me the first question is: what do we expect from GTs? For me GTs are like RDDs, a compatibility layer with old code. I would add only few

[Harbour] 2008-06-12 08:55 UTC+0200 Viktor Szakats (harbour.01 syenar hu)

2008-06-12 Thread Szakáts Viktor
2008-06-12 08:55 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * contrib/hbct/fcopy.prg ! Fixed crash in FILECOPY() (reported by Mario H. Sabado) [TOMERGE RC1 - if correct] * contrib/hbodbc/odbc.c * Using sizeof() wherever possible. ! SQLGETDATA(): One strcpy()

[Harbour] 2008-06-12 00:40 UTC+0800 Pritpal Bedi ([EMAIL PROTECTED])

2008-06-12 Thread Pritpal Bedi
2008-06-12 00:40 UTC+0800 Pritpal Bedi ([EMAIL PROTECTED]) * harbour/source/rtl/gtwvt/gtwvt.c ! Completely removed flickering under Mark and Copy operation without lengthy calculations. Forwarded by Andy Wos - thanks. ; Viktor, now first row and column are being selected.

Re: [Harbour] 2008-06-12 00:40 UTC+0800 Pritpal Bedi ([EMAIL PROTECTED])

2008-06-12 Thread Szakáts Viktor
Hi Pritpal, 2008-06-12 00:40 UTC+0800 Pritpal Bedi ([EMAIL PROTECTED]) * harbour/source/rtl/gtwvt/gtwvt.c ! Completely removed flickering under Mark and Copy operation without lengthy calculations. Forwarded by Andy Wos - thanks. Nice! Thanks to Andy. ; Viktor, now first

Re: [Harbour] offline note

2008-06-12 Thread Szakáts Viktor
Hi Przemek, Have a nice time! Brgds, Viktor On 2008.06.12., at 10:12, Przemyslaw Czerpak wrote: Hi All, I'll be offline for about two weeks. best regards, Przemek ___ Harbour mailing list Harbour@harbour-project.org

Re: [Harbour] Some more HB_GTI_ slots

2008-06-12 Thread Szakáts Viktor
hb_gtInfo( HB_GTI_PALETTE, nColor[, nNewRGB ] ) - nOldRGB Is Gt_Info() accepts 3 parameters? I think it does not, may be I am missing something. There is nothing which would limit hb_gtInfo() to only two parameters. hb_gtInfo( HB_GTI_PALETTE[, aNewRGB ] ) - aOldRGB This is the format

Re: [Harbour] 2008-06-12 00:40 UTC+0800 Pritpal Bedi ([EMAIL PROTECTED])

2008-06-12 Thread Szakáts Viktor
You've readded the previous fix... :-( But if it is not done like this, last row and columns get messy. I have another suggestion by Andy. I will fix it soon. For a finished solution check the Windows console mark feature. You can observe that there, the selection is calculated relative to

Re: [Harbour] 2008-06-12 00:40 UTC+0800 Pritpal Bedi ([EMAIL PROTECTED])

2008-06-12 Thread Szakáts Viktor
Hi Pritpal, I gave up on both of these issue, and committed just a minor optim for Andy's code. So what we have left is: 1/a) Trashing (unupdated regions) when window is too small. 1/b) Trashing when frame is larger than content (flat and tall windows). 2) Impossible to select leftmost col,

[Harbour] RE: Harbour Digest, Vol 20, Issue 73

2008-06-12 Thread Horodyski Marek (PZUZ)
Date: Wed, 11 Jun 2008 22:32:55 +0200 From: ABIX - Adam Jurkiewicz [EMAIL PROTECTED] Subject: [Harbour] Web site in Polish ... Dears, I'm writing presentation about Harbour and Ive found on main page link to polish version: http://www.harbour.pl.eu.org/ This site is still Under Construction ...

Re: [Harbour] offline note

2008-06-12 Thread Szakáts Viktor
Support (especially phone support!) is more effectively killing brain cells than any alcohol :) On 2008.06.12., at 11:22, Pritpal Bedi wrote: And don't forget to FORGET mobile ;-) Well said Adam! mobile - the worst enemy of developers especially if support is also expected from them.

Re: [Harbour] Some more HB_GTI_ slots

2008-06-12 Thread Szakáts Viktor
Hi Pritpal, There is nothing which would limit hb_gtInfo() to only two parameters. Any example? There is no example, but just like we have 'gtInfo.pNewVal' we could instead have 'gtInfo.pParam1' and 'gtInfo.pParam2'. Then the low level hb_gtInfo() call could process these accordingly. At

RE: [Harbour] GT- Multi-platform Messaging Interface

2008-06-12 Thread Massimo Belgrano
IMO the best is integrate a GUI inside GT for permit to same GUI of EXTEND windows created by GT -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Szakáts Viktor Sent: Thursday, June 12, 2008 8:49 AM To: Harbour Project Main Developer List. Subject: Re:

Re: [Harbour] 2008-06-07 13:26 UTC+0100 Viktor Szakats (harbour.01 syenar hu)

2008-06-12 Thread Javier
) // = [It's number] [ 5.5] 2) some 'plain portable format' flag for printing date; time in '20080612' instead of _SET_DATE '12/06/08'. If we find a way to specify a full date formating, I see it also usefull, example: %'-MM-DD hh:mm:ss.ttt't. This I like much.- %{MMDD

RE: [Harbour] RE: Harbour Digest, Vol 20, Issue 73

2008-06-12 Thread Massimo Belgrano
Sorry but where is published Harbour Diges Vol ? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Horodyski Marek (PZUZ) Sent: Thursday, June 12, 2008 12:23 PM To: harbour@harbour-project.org Subject: [Harbour] RE: Harbour Digest, Vol 20, Issue 73 Date:

RE: [Harbour] 2008-06-07 13:26 UTC+0100 Viktor Szakats (harbour.01syenar hu)

2008-06-12 Thread Massimo Belgrano
data of all types: string, numeric, date (respecting _SET_DATE format), etc. New flags worth to be implemented can be: 1) string and numbers trimming (it would be usefull because .dbf fields are space PADR'ed); 2) some 'plain portable format' flag for printing date; time in '20080612

Re: [Harbour] GT- Multi-platform Messaging Interface

2008-06-12 Thread Lorenzo Fiorini
On Thu, Jun 12, 2008 at 12:23 PM, Szakáts Viktor [EMAIL PROTECTED] wrote: Mine has three features which makes it different from the CT one (maybe we can gather these and form a common direction): ... - Not-CT dependent. (irrelevant with Harbour) Mine is not so sophisticated :) just a

RE: [Harbour] GT- Multi-platform Messaging Interface

2008-06-12 Thread Massimo Belgrano
What is MINE? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lorenzo Fiorini Sent: Thursday, June 12, 2008 2:40 PM To: Harbour Project Main Developer List. Subject: Re: [Harbour] GT- Multi-platform Messaging Interface On Thu, Jun 12, 2008 at 12:23 PM,

Re: [Harbour] GT- Multi-platform Messaging Interface

2008-06-12 Thread Lorenzo Fiorini
On Thu, Jun 12, 2008 at 2:45 PM, Massimo Belgrano [EMAIL PROTECTED] wrote: What is MINE? Isn't it english? If it isn't I apologize. I meant My custom window system. best regards, Lorenzo ___ Harbour mailing list Harbour@harbour-project.org

[Harbour] RE: Harbour Digest, Vol 20, Issue 77

2008-06-12 Thread Horodyski Marek (PZUZ)
Date: Thu, 12 Jun 2008 14:27:32 +0200 From: Massimo Belgrano [EMAIL PROTECTED] Subject: RE: [Harbour] RE: Harbour Digest, Vol 20, Issue 73 To: Harbour Project Main Developer List. harbour@harbour-project.org Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=us-ascii

[Harbour] Re: FileCopy() Argument error

2008-06-12 Thread Mario H. Sabado
-- Message: 3 Date: Thu, 12 Jun 2008 10:42:44 +0800 From: Mario H. Sabado [EMAIL PROTECTED] Subject: [Harbour] FileCopy() Argument error To: harbour@harbour-project.org Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=iso-8859-1 Hi, I have the

[Harbour] 2008-06-12 17:57 UTC+0200 Viktor Szakats (harbour.01 syenar hu)

2008-06-12 Thread Szakáts Viktor
2008-06-12 17:57 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * contrib/hbmisc/strfmt.c + contrib/hbmisc/tests/tsstrfmt.prg + StrFormat() extended to automatically convert parameters to strings, above that the result will AllTrim()-med too before being inserted into

[Harbour] 2008-06-13 09:12 UTC+0800 Pritpal Bedi ([EMAIL PROTECTED])

2008-06-12 Thread Pritpal Bedi
2008-06-13 09:12 UTC+0800 Pritpal Bedi ([EMAIL PROTECTED]) * harbour/source/rtl/gtwvt/gtwvt.c * harbour/include/hbgtinfo.ch + Added functionality to change Palette. Hb_GtInfo( HB_GTI_PALETTE, aNewPalette ) - aOldPalette aNewPalette must be of 16 elements containg RGB

Re: [Harbour] 2008-06-13 09:12 UTC+0800 Pritpal Bedi ([EMAIL PROTECTED])

2008-06-12 Thread Szakáts Viktor
2008-06-13 09:12 UTC+0800 Pritpal Bedi ([EMAIL PROTECTED]) * harbour/source/rtl/gtwvt/gtwvt.c * harbour/include/hbgtinfo.ch + Added functionality to change Palette. Hb_GtInfo( HB_GTI_PALETTE, aNewPalette ) - aOldPalette aNewPalette must be of 16 elements containg RGB colors.

Re: [Harbour] Migrating from xHarbour to Harbour

2008-06-12 Thread Rodrigo Miguel
All, Just a feedback. Everything is working pretty good. I'm able to get my apps working fine with harbour. Thanks a lot. Rodrigo On Tue, Jun 10, 2008 at 11:14 AM, Szakáts Viktor [EMAIL PROTECTED] wrote: Hi folks, I've added the two crypt functions to xhb. I'll also add HB_FReadLine() to

Re: [Harbour] Window updates vs. long Harbour processes

2008-06-12 Thread Francesco Saverio Giudice
Hi Pripal and others, sorry to jump in and if I miss something, but, reading fastly I have understood that you have problem with long loops or intensive jobs. In Windows I have solved it using code I have written and attached here. Use it inside heavy loop as shown in example on top of file.

Re: [Harbour] Window updates vs. long Harbour processes

2008-06-12 Thread Randy Portnoff
Hi Francesco, The problem is when the delay is outside the control of the PRG code (eg. a SQL query) where control is transferred to some other non-PRG process and the PRG process must wait until it completes - In this case, anything in the PRG code cannot help as is not running. As I

[Harbour] Testing wvtext.prg

2008-06-12 Thread Guillermo Varona Silupú
How can build wvtext.exe. What LIB missing? I get it's messages of error: Proyecto: tst_CT, Entorno: MinGW_H_DOS_GVS: [1]:gcc.Exe -otst_CT.Exe -Wall -mno-cygwin -mconsole tst_CT.gcl C:\HarbourMinGW\Lib/libgtwvt.a(gtwvt.o):gtwvt.c:(.text+0x56f): undefined reference to [EMAIL PROTECTED]'

Re: [Harbour] GT- Multi-platform Messaging Interface

2008-06-12 Thread Pritpal Bedi
Hello Now we have one more slot in Hb_GtInfo() so back to this point again HB_GTI_GETWINDOWHANDLE HB_GTI_NEWWINDOW Can we use the existing names HB_GTI_???WIN? We can if group agrees. But because these constants are returning values specially HB_GTI_GETWIN, I think these are not the

RE: [Harbour] GT- Multi-platform Messaging Interface

2008-06-12 Thread Massimo Belgrano
I subscribe all assertion -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Szakáts Viktor Sent: Thursday, June 12, 2008 8:49 AM To: Harbour Project Main Developer List. Subject: Re: [Harbour] GT- Multi-platform Messaging Interface For example Teo has a

Re: [Harbour] GT- Multi-platform Messaging Interface

2008-06-12 Thread Szakáts Viktor
Hi Pritpal, Having said that I propose these constants: HB_GTI_MESSAGE HB_GTM_HWND HB_GTM_SHOWWND HB_GTM_CREATEWND HB_GTM_CLOSEWND HB _GTM_SELECTWND HB_GTM_CENTERWND HB_GTM_PROCESSMSG HB_GTM_INVALIDATE HB_GTM_SETTIMER HB_GTM_KILLTIMER HB_GTM_KEYBOARD HB_GTM_MAXIMIZE

Re: [Harbour] GT- Multi-platform Messaging Interface

2008-06-12 Thread Szakáts Viktor
Hi Pritpal, We're very far from having any GUI in core right now, so I'd suggest to plan and discuss before making any moves. GUI, if ever implemented in Harbour core, should be _multiplatform_. This is not a very trivial goal and in fact no one got it right so far. So, I'd suggest to

[Harbour] 2008-06-13 21:56 UTC+0800 Pritpal Bedi ([EMAIL PROTECTED])

2008-06-12 Thread Pritpal Bedi
2008-06-13 21:56 UTC+0800 Pritpal Bedi ([EMAIL PROTECTED]) * harbour/source/rtl/gtwvt/gtwvt.c ! Fixed selection of left most column and top row. Thanks to Andy Wos. Regards Pritpal Bedi -- View this message in context:

RE: [Harbour] Wvt_ChooseFont return incorrect parameter

2008-06-12 Thread Massimo Belgrano
In Attached you see where i see size of font in Italian selection dialog If I choice arial regular size 10 like here http://www.bigbcreations.com/Images/screenshots/ChooseFont.jpg where are size:10 in return parameter? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]

Re: [Harbour] RE: Harbour Digest, Vol 20, Issue 77

2008-06-12 Thread Phil Barnett
On Thursday 12 June 2008 09:51:10 am Massimo Belgrano wrote: Is the name of this post And I don't understand because i I don't know a digest regarding harbour so I am curios When you subscribe to this list, you have a choice of getting each message as it is mailed, or having them all batched