Search found 4 matches: lpwstr

Searched query: lpwstr

by nageswaragunupudi
Wed Aug 30, 2023 6:08 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Listview Unicode for CLASS TGrid()
Replies: 7
Views: 730

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 Jimmy
Wed Aug 30, 2023 1:14 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Listview Unicode for CLASS TGrid()
Replies: 7
Views: 730

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 Jimmy
Wed Jan 04, 2023 5:33 pm
Forum: FiveWin for Harbour/xHarbour
Topic: CLASS TGrid() for FiveWin
Replies: 43
Views: 6283

Re: CLASS TGrid() for FiveWin

hi Antonio,
At the top of your C code place this line:
LPWSTR AnsiToWide( LPSTR cAnsi );
thx for Answer.

still got Warning
Warning W8075 .\\HB_FUNC.PRG 1092: Suspicious pointer conversion in function HB_FUN_SETGRIDQUERYDATA

but i have to use
#define UNICODE
to use Unicode Version so how to ...
by Antonio Linares
Wed Jan 04, 2023 6:59 am
Forum: FiveWin for Harbour/xHarbour
Topic: CLASS TGrid() for FiveWin
Replies: 43
Views: 6283

Re: CLASS TGrid() for FiveWin

Dear Jimmy,

At the top of your C code place this line:

LPWSTR AnsiToWide( LPSTR cAnsi );