i use
- Code: Select all Expand view RUN
- #define CTRL_CLASS "SysListView32"
and
- Code: Select all Expand view RUN
- CLASS TGrid FROM TControl
::Create( CTRL_CLASS )
but i have Problem when use FW_SetUnicode( .T. )
now i saw this in c:\BCC7\include\windows\commctrl.h
- Code: Select all Expand view RUN
- #define WC_LISTVIEWA "SysListView32"
#define WC_LISTVIEWW L"SysListView32"
#ifdef UNICODE
#define WC_LISTVIEW WC_LISTVIEWW
#else
#define WC_LISTVIEW WC_LISTVIEWA
#endif
#else
#define WC_LISTVIEW "SysListView"
#endif
but this is for HB_FUNC()
Question : how can i use it for PRG Level
i have try
- Code: Select all Expand view RUN
- #define CTRL_CLASS "SysListView32W"
but that is wrong to create Control
- Code: Select all Expand view RUN
- #define CTRL_CLASS L"SysListView32"
Error E0030 Syntax error "syntax error at 'SysListView32'"
so how can i use Unicode Version
or must i use HB_FUNC() to create Unicode Control