01-25-2013, 05:49 PM
Function Dialog116
\Dialog_Editor
function# hDlg message wParam lParam
if(hDlg) goto messages
str controls = "6"
str e6
e6="aaaaaaaaaaaaaaaa bbbbbbbbbbbbbbbbbbbb ccccccccccccccccccc dddddddddddddddd"
if(!ShowDialog("Dialog116" &Dialog116 &controls)) ret
;BEGIN DIALOG
;0 "" 0x90C80AC8 0x0 0 0 223 135 "Dialog"
;3 Button 0x54032000 0x0 2 4 48 14 "Scroll"
;6 Edit 0x54830880 0x200 2 20 200 18 ""
;1 Button 0x54030001 0x4 120 116 48 14 "OK"
;2 Button 0x54030000 0x4 170 116 48 14 "Cancel"
;END DIALOG
;DIALOG EDITOR: "" 0x2030406 "*" "" "" ""
ret
;messages
sel message
,case WM_INITDIALOG
,case WM_DESTROY
,case WM_COMMAND goto messages2
ret
;messages2
sel wParam
,case 3
,int he=id(6 hDlg)
,SetFocus he
,SendMessage he EM_SETSEL 1000000000 1000000000
ret 1