Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Dialog TAB - unicode text problem
#1
Hello ~! Gintaras ~!!!

I found unicode text doesn't show correctly on dialog tab

I tried to find the answer on Forum but I couldn't
 
Code:
Copy      Help
 
 \Dialog_Editor

str dd=
 BEGIN DIALOG
 0 "" 0x90000AC8 0x8 0 0 454 222 "탭연습" "4"
 4 Button 0x54022000 0x0 384 192 66 26 "Close"
 3 SysTabControl32 0x54000040 0x0 0 0 454 188 ""
 END DIALOG
 DIALOG EDITOR: "" 0x2040802 "*" "" "" ""

if(!ShowDialog(dd &sub.DlgProc 0)) ret


#sub DlgProc
function# hDlg message wParam lParam

ARRAY(str) pTXT.createlb(3 1)

pTXT[1]="1번 탭"
pTXT[2]="2번 탭"
pTXT[3]="3번 탭"

sel message
case WM_INITDIALOG

int htb=id(3 hDlg)
TCITEM ti.mask=WINAPI.TCIF_TEXT
ti.pszText=pTXT[1]
SendMessage htb WINAPI.TCM_INSERTITEMA 0 &ti
ti.pszText=pTXT[2]
SendMessage htb WINAPI.TCM_INSERTITEMA 1 &ti
ti.pszText=pTXT[3]
SendMessage htb WINAPI.TCM_INSERTITEMA 2 &ti

case WM_DESTROY
case WM_COMMAND goto messages2
ret
 messages2
sel wParam
case 4
shutdown -7
case (IDOK) ifk(Y) ret 0
case (IDCANCEL) ifk(Z) ret 0
ret 1

and could I know the plan on QM3?

Always Thank you


Messages In This Thread
Dialog TAB - unicode text problem - by luvu2des - 07-09-2019, 12:27 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)