Search found 224 matches: listview

Searched query: listview

by Jimmy
Mon Sep 23, 2024 1:48 pm
Forum: FiveWin for Harbour/xHarbour
Topic: is there a Error in DrXlsx32.lib 32 Bit ?
Replies: 17
Views: 2957

Re: is there a Error in DrXlsx32.lib 32 Bit ?

... to add this to one of your PRGs:

#pragma BEGINDUMP
int _streams;
#pragma ENDDUMP
YES, now it work

but when use
c:\fwh\samples>buildh ..\0\LISTVIEW\DRXLS
it does NOT generate c:\fwh \0\LISTVIEW \DRXLS.c

it does generate c:\fwh\ samples \DRXLS.c
i have to copy c:\fwh\ samples \DRXLS.c to c ...
by Jimmy
Mon Sep 23, 2024 11:59 am
Forum: FiveWin for Harbour/xHarbour
Topic: is there a Error in DrXlsx32.lib 32 Bit ?
Replies: 17
Views: 2957

Re: is there a Error in DrXlsx32.lib 32 Bit ?

hi,

have now installed harbour_and_xharbour_builds-master\harbour_bcc770_32_20240814.zip
buildh ..\0\listview\drxls
but still got Error
Compiling...
Harbour 3.2.0dev (r2407221137)
Copyright (c) 1999-2021, https://harbour.github.io/
Compiling '..\0\listview\drxls.prg' and generating preprocessed ...
by Jimmy
Mon Sep 23, 2024 10:25 am
Forum: FiveWin for Harbour/xHarbour
Topic: is there a Error in DrXlsx32.lib 32 Bit ?
Replies: 17
Views: 2957

Re: is there a Error in DrXlsx32.lib 32 Bit ?

hi,

OK found out that the Syntax must be
buildh ..\0\LISTVIEW\DRXLS
without "extension", but now i get this Error
Compiling...
Harbour 3.2.0dev (r2304211101)
Copyright (c) 1999-2021, https://harbour.github.io/
Compiling '..\0\LISTVIEW\DRXLS.prg' and generating preprocessed output to '..\0\LISTVIEW ...
by Jimmy
Mon Sep 23, 2024 9:37 am
Forum: FiveWin for Harbour/xHarbour
Topic: is there a Error in DrXlsx32.lib 32 Bit ?
Replies: 17
Views: 2957

Re: is there a Error in DrXlsx32.lib 32 Bit ?

... please
cd \fwh\samples
buildh ...
Let \fwh\samples be the current\default path.

i have try your Way, but FAIL
c:\fwh\samples>buildh c:\fwh\0\LISTVIEW\DRXLS.PRG
The specified PRG c:\fwh\0\LISTVIEW\DRXLS.PRG does not exist

c:\fwh\samples>dir c:\fwh\0\LISTVIEW\DRXLS.PRG
Verzeichnis von c:\fwh\0 ...
by Antonio Linares
Sun Dec 03, 2023 4:46 pm
Forum: WhatsNew / Novedades
Topic: New FTDN October/Octubre 2023 (FWH 23.10)
Replies: 1
Views: 6652

Re: New FTDN October/Octubre 2023 (FWH 23.10)

... source\classes\timaglst.prg)
- Nuevo método AddImage( cImage )
Para añadir cualquier imagenm no sólo mapas de bits e iconos.

* Clase TListView: (source\classes\tlistvie.prg)
- Nuevo método SetStyle( nStyle )
Por favor, revisa el código fuente prg para conocer la lista de estilos ...
by Antonio Linares
Thu Nov 02, 2023 9:53 am
Forum: WhatsNew / Novedades
Topic: New FTDN October/Octubre 2023 (FWH 23.10)
Replies: 1
Views: 6652

New FTDN October/Octubre 2023 (FWH 23.10)

... ReadImage()

* TImageList Class: (source\classes\timaglst.prg)
- New Method AddImage( cImage )
To add any image, not only bitmaps and icons.

* TListView class: (source\classes\tlistvie.prg)
New Method SetStyle( nStyle )
Refer prg source for the list of styles.

* ListView: Samples: (1) revised ...
by Jimmy
Mon Sep 04, 2023 9:53 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Listview Unicode for CLASS TGrid()
Replies: 7
Views: 944

Re: Listview Unicode for CLASS TGrid()

hi,

i do understand that East Asian Languages are not the biggest Problem for Fivewin

my TGrid() ANSI Version work so far but when enable LVS_OWNERDATA it does not work with FW_SetUnicode( .T. ) :(
::nStyle := nOR( ::nStyle, LVS_OWNERDATA )
::bDisplay := { | nPtrNMHDR | ::OnDISPINFO( nPtrNMHDR ...
by nageswaragunupudi
Mon Sep 04, 2023 2:25 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Listview Unicode for CLASS TGrid()
Replies: 7
Views: 944

Re: Listview Unicode for CLASS TGrid()

i try to learn "C" but for these "Problem" my "C" Knowledge is to small

I am also still learning Sir.
We will surely assist you on this.
Please give me a little more time.
Too many things on hand right now.

Note:
This is my personal opinion. I will stand corrected if I am wrong.
I think if the ...
by Jimmy
Thu Aug 31, 2023 3:21 am
Forum: FiveWin for Harbour/xHarbour
Topic: Listview Unicode for CLASS TGrid()
Replies: 7
Views: 944

Re: Listview Unicode for CLASS TGrid()

hi,
can I see the full HB_FUNC?
you can find Source of CLASS TGrid and Hb_Func.PRG ( all "C" Code ) at
https://github.com/AugeOhr/TGRID

---

i try to learn "C" but for these "Problem" my "C" Knowledge is to small
my ANSI Version , using TCHAR / LPSTR , work but how with Unicode :?:

need some ...
by nageswaragunupudi
Wed Aug 30, 2023 6:11 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Listview Unicode for CLASS TGrid()
Replies: 7
Views: 944

Re: Listview Unicode for CLASS TGrid()

how to use this with Unicode
Code:
lvi.pszText = (TCHAR*) hb_parvc (2, 1);
can I see the full HB_FUNC?
Or you can send to me.
by nageswaragunupudi
Wed Aug 30, 2023 6:08 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Listview Unicode for CLASS TGrid()
Replies: 7
Views: 944

Re: Listview Unicode for CLASS TGrid()

i guess it is while i have not use fw_parWide() / LPWSTR but LPTSTR
Yes.
If you like we can make the modifications.
by nageswaragunupudi
Wed Aug 30, 2023 6:06 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Listview Unicode for CLASS TGrid()
Replies: 7
Views: 944

Re: Listview Unicode for CLASS TGrid()

#define UNICODE // Made Unicode compatible 2023-07-07
#include <CommCtrl.h>
#undef UNICODE
#include "fwh.h"

Sole purpose of this def and undef is to get the our program defines to work with Wide structures and Wide api functions.
Beyond that we have no use for this define.


In some cases Wide ...
by nageswaragunupudi
Wed Aug 30, 2023 2:50 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Listview Unicode for CLASS TGrid()
Replies: 7
Views: 944

Re: Listview Unicode for CLASS TGrid()

Question : is fw_parWide() the same as AnsiToWide() :?:

No.
if the parameter is UTF8 it uses "MultiByteToWideChar()", Windows API function and if not, then it is ANSI and uses AnsiToWide()
See:
https://learn.microsoft.com/en-us/windows/win32/api/stringapiset/nf-stringapiset-multibytetowidechar ...
by Jimmy
Wed Aug 30, 2023 1:14 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Listview Unicode for CLASS TGrid()
Replies: 7
Views: 944

Listview Unicode for CLASS TGrid()

hi,

i have found in c:\fwh\source\winapi\listview.c what was change for Unicode

LPWSTR pWide = fw_parWide( 3 );

// lvi.pszText = ( LPTSTR ) hb_parc( 3 );
lvi.pszText = pWide;
Question : is fw_parWide() the same as AnsiToWide() :?:

---

i have now include
#define UNICODE // Made Unicode ...
by nageswaragunupudi
Sun Aug 27, 2023 9:12 am
Forum: FiveWin for Harbour/xHarbour
Topic: FWH2307: List View Unicode compatible
Replies: 1
Views: 345

FWH2307: List View Unicode compatible

... com/v2/xq70/922/Uw5Nfd.png

#include "FiveWin.ch"

function Main()

local oWnd, oLvw, nOption := 1, oImageList

DEFINE WINDOW oWnd TITLE "ListView Test"

DEFINE IMAGELIST oImageList SIZE 32, 32

oImageList:AddIcon( "console" )
oImageList:AddIcon( "form" )
oImageList:AddIcon( "library ...