[Harbour] command syntax for multi weindows

2009-02-14 Thread Massimo Belgrano
harbour now support multiwindows clipper user are command driven so i proposal a command syntax that will be stantard a good idea will be a common syntax common to minigui, fivewin or xbase, visual fox I think something like #inglude "harbwind" define window main width 400 height 400 clientarea @ 1

[Harbour] SF.net SVN: harbour-project:[10267] trunk/harbour

2009-02-14 Thread druzus
Revision: 10267 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=10267&view=rev Author: druzus Date: 2009-02-14 09:44:23 + (Sat, 14 Feb 2009) Log Message: --- 2009-02-14 10:49 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/mem

[Harbour] SF.net SVN: harbour-project:[10268] trunk/harbour

2009-02-14 Thread vszakats
Revision: 10268 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=10268&view=rev Author: vszakats Date: 2009-02-14 12:18:24 + (Sat, 14 Feb 2009) Log Message: --- 2009-02-14 13:17 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * make_b32.mak * make_vc.

[Harbour] SF.net SVN: harbour-project:[10269] trunk/harbour

2009-02-14 Thread vszakats
Revision: 10269 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=10269&view=rev Author: vszakats Date: 2009-02-14 12:26:53 + (Sat, 14 Feb 2009) Log Message: --- 2009-02-14 13:25 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * utils/hbmk/hbmk.prg +

[Harbour] SF.net SVN: harbour-project:[10270] trunk/harbour

2009-02-14 Thread vszakats
Revision: 10270 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=10270&view=rev Author: vszakats Date: 2009-02-14 13:26:30 + (Sat, 14 Feb 2009) Log Message: --- 2009-02-14 14:23 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * utils/hbmk/hbmk.prg -

[Harbour] SF.net SVN: harbour-project:[10271] trunk/harbour

2009-02-14 Thread vszakats
Revision: 10271 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=10271&view=rev Author: vszakats Date: 2009-02-14 16:35:17 + (Sat, 14 Feb 2009) Log Message: --- 2009-02-14 17:34 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * utils/hbmk/hbmk.prg !

[Harbour] SF.net SVN: harbour-project:[10272] trunk/harbour

2009-02-14 Thread vszakats
Revision: 10272 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=10272&view=rev Author: vszakats Date: 2009-02-14 18:47:59 + (Sat, 14 Feb 2009) Log Message: --- 2009-02-14 19:50 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * utils/hbmk/hbmk.prg +

[Harbour] WINAPI Functions .C Namespace

2009-02-14 Thread Pritpal Bedi
Hello, What we had decided on this topic? I mean, should we use .C file name based on .DLL or .H ? WAPI_ImageList_*() .C is ready and I have named it as c_commctrl.c. MSDN : Minimum DLL Version comctl32.dll version 6.0 or later Header commctrl.h Minimum operating systems Windows XP R

Re: [Harbour] WINAPI Functions .C Namespace

2009-02-14 Thread Pritpal Bedi
Sorry Pritpal Bedi wrote: > > c_commctrl.c. > c_commctrl.cX w_commctrl.c Regards Pritpal Bedi -- View this message in context: http://www.nabble.com/WINAPI-Functions-.C-Namespace-tp22016531p22016551.html Sent from the Harbour - Dev mailing list archive at Nabble.com. _

Re: [Harbour] WINAPI Functions .C Namespace

2009-02-14 Thread Viktor Szakáts
Hi Pritpal, The final agreement was on wapi_commctrl.c. Brgds, Viktor On Sat, Feb 14, 2009 at 9:23 PM, Pritpal Bedi wrote: > > Sorry > > > Pritpal Bedi wrote: > > > > c_commctrl.c. > > > > c_commctrl.cX > w_commctrl.c > > Regards > Pritpal Bedi > > -- > View this message in context: > http:/

Re: [Harbour] WINAPI Functions .C Namespace

2009-02-14 Thread Pritpal Bedi
Hi Viktor Szakáts wrote: > > Hi Pritpal, > The final agreement was on wapi_commctrl.c. > So make it crystal clear: MSDN .H ( Header File Name ) where function is declared will be ppstfixed to "wapi_?.c". Regards Pritpal Bedi -- View this message in context: http://www.nabble.com/WINAPI-

[Harbour] SF.net SVN: harbour-project:[10273] trunk/harbour

2009-02-14 Thread vouchcac
Revision: 10273 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=10273&view=rev Author: vouchcac Date: 2009-02-14 21:46:19 + (Sat, 14 Feb 2009) Log Message: --- 2009-02-14 13:32 UTC-0800 Pritpal Bedi (prit...@vouchcac.com) + harbour/contrib/hbwin/wapi_

Re: [Harbour] WINAPI Functions .C Namespace

2009-02-14 Thread Viktor Szakáts
> > > > > Hi Pritpal, > > The final agreement was on wapi_commctrl.c. > > > > So make it crystal clear: > > MSDN .H ( Header File Name ) where function is declared > will be ppstfixed to "wapi_?.c". I was thinking of the Library File Name where the given function is implemented. Reading back the

Re: [Harbour] SF.net SVN: harbour-project:[10273] trunk/harbour

2009-02-14 Thread Viktor Szakáts
Hi Pritpal, --- wapi_commctrl.c (now) #include #include #include "hbapi.h" #include "hbwapi.h" --- Please don't explicitly #include , it's not necessary, as it's automatically pulled in by hbapi.h by #defining HB_OS_WIN_USED. This is the clean way (notice that commctrl.h is moved after Harbour

Re: [Harbour] SF.net SVN: harbour-project:[10273] trunk/harbour

2009-02-14 Thread Viktor Szakáts
Hi Pritpal, Ops, sorry I forgot one important issue, could you please use ANSI C comments only? This rule wasn't lifted from hbwin, so we should stick to it to be ANSI C compliant. --- wapi_commctrl.c (now) //--// //

Re: [Harbour] SF.net SVN: harbour-project:[10273] trunk/harbour

2009-02-14 Thread Pritpal Bedi
Viktor < --- wapi_commctrl.c (now) #include #include #include "hbapi.h" #include "hbwapi.h" --- Please don't explicitly #include , it's not necessary, as it's automatically pulled in by hbapi.h by #defining HB_OS_WIN_USED. This is the clean way (notice that commctrl.h is moved after Harbo

Re: [Harbour] SF.net SVN: harbour-project:[10273] trunk/harbour

2009-02-14 Thread Viktor Szakáts
Hi Pritpal, > > > I agree your implementation is valid, but then it > holds good for new PRG code only. > > If we return pointers and in the next call we sent it back to > another function, then it has to be retried as wapi_par_POINTER()? > Or I am missing something. Yes, it should be retr

Re: [Harbour] SF.net SVN: harbour-project:[10273] trunk/harbour

2009-02-14 Thread Pritpal Bedi
Hi Viktor I agree with whole concept. Let us do it right, right now. Only pointers, no numeric handles at all. Basically, if we have to use existing code too, we will be changing the function calls and there stays the whole effort. So, it should be like: #define wapi_par_HWND( n ) ( ( HWND )

Re: [Harbour] SF.net SVN: harbour-project:[10273] trunk/harbour

2009-02-14 Thread Pritpal Bedi
Hi Viktor I did changed hbwapi.h as #define wapi_par_WNDPROC( n )( ( WNDPROC) ( ISNUM( n ) ? ( HB_PTRDIFF ) hb_parnint( n ) : hb_parptr( n ) ) ) #define wapi_par_WPARAM( n ) ( ( WPARAM ) ( ISNUM( n ) ? ( HB_PTRDIFF ) hb_parnint( n ) : hb_parptr( n ) ) ) #define wapi_par_

Re: [Harbour] SF.net SVN: harbour-project:[10273] trunk/harbour

2009-02-14 Thread Pritpal Bedi
Hi And this sets everything right, please review: #define wapi_par_WNDPROC( n )( ( WNDPROC) ( ISNUM( n ) ? ( HB_PTRDIFF ) hb_parnint( n ) : ( HB_PTRDIFF ) hb_parptr( n ) ) ) #define wapi_par_WPARAM( n ) ( ( WPARAM ) ( ISNUM( n ) ? ( HB_PTRDIFF ) hb_parnint( n ) : ( HB_PTRDI

[Harbour] SF.net SVN: harbour-project:[10274] trunk/harbour

2009-02-14 Thread vszakats
Revision: 10274 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=10274&view=rev Author: vszakats Date: 2009-02-15 01:21:12 + (Sun, 15 Feb 2009) Log Message: --- 2009-02-15 02:22 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * utils/hbmk/hbmk.prg +

[Harbour] SF.net SVN: harbour-project:[10275] trunk/harbour

2009-02-14 Thread vszakats
Revision: 10275 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=10275&view=rev Author: vszakats Date: 2009-02-15 01:29:22 + (Sun, 15 Feb 2009) Log Message: --- 2009-02-15 02:30 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * utils/hbmk/hbmk.prg !

[Harbour] SF.net SVN: harbour-project:[10276] trunk/harbour

2009-02-14 Thread vszakats
Revision: 10276 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=10276&view=rev Author: vszakats Date: 2009-02-15 07:58:03 + (Sun, 15 Feb 2009) Log Message: --- 2009-02-15 08:56 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * utils/hbmk/hbmk.prg +