01-20-2009, 01:52 PM
If that window is owner of the dialog, just remove DS_CENTER style.
Function Dialog14
Function Dialog14
\Dialog_Editor
int h=win("Notepad")
;if(!ShowDialog("Dialog14" 0 0 h)) ret
if(!ShowDialog("Dialog14" 0 0 h 0 0 0 0 100 30)) ret
;BEGIN DIALOG
;0 "" 0x90C80240 0x100 0 0 223 135 "Dialog"
;1 Button 0x54030001 0x4 120 116 48 14 "OK"
;2 Button 0x54030000 0x4 170 116 48 14 "Cancel"
;END DIALOG
;DIALOG EDITOR: "" 0x2030006 "*" "" ""