I want just to move it there. The following work-around works. It seem that it needs a short delay :
Function Dialog52
Thank you for your last advice (WM_TIMER ). It works perfectly. Best Regards.
Function Dialog52
str dd=
;BEGIN DIALOG
;0 "" 0x90C80AC8 0x0 0 0 224 136 "Dialog"
;5 ComboBox 0x54230242 0x0 11 54 96 212 ""
;4 Edit 0x54030080 0x200 10 33 96 12 ""
;3 Button 0x54032000 0x0 10 9 48 14 "Button"
;1 Button 0x54030000 0x4 116 116 48 14 "OK"
;2 Button 0x54030000 0x4 168 116 48 14 "Cancel"
;END DIALOG
;DIALOG EDITOR: "" 0x2040700 "*" "" "" ""
str controls = "5 4"
str cb5 e4
cb5="1[]2[]a[]c"
if(!ShowDialog(dd &sub.DlgProc &controls)) ret
#sub DlgProc
function# hDlg message wParam lParam
sel message
,case WM_INITDIALOG
,mac "sub.mm" "" hDlg
,case WM_DESTROY
,case WM_COMMAND goto messages2
ret
;messages2
sel wParam
,
,case IDOK
,case IDCANCEL
ret 1
#sub mm
function int'hDlg
0.1
mou 150 9 id(5 hDlg) 1 ;;combo box, push button 'Open'
Thank you for your last advice (WM_TIMER ). It works perfectly. Best Regards.