01-20-2009, 01:07 PM
How can I position my dialog box relative to a window displayed on the screen?
Dialog Box related to a window
|
01-20-2009, 01:07 PM
How can I position my dialog box relative to a window displayed on the screen?
01-20-2009, 01:52 PM
If that window is owner of the dialog, just remove DS_CENTER style.
Function Dialog14 \Dialog_Editor
01-20-2009, 03:27 PM
Is it possible to move with the movement of Dialog Box ??
01-20-2009, 07:33 PM
like here?
Dialog Sticks together
03-18-2009, 01:18 PM
In the code above that you posted Ginstras, i canno't figure out how controls will work in the dialog... here is my code, & it is not working correctly, will not grab the input into the Edit box...
int hwnd=val(_command) str controls = "4 5" str e4 c5Aut if(!ShowDialog(DLG 0 0 hwnd 0 0 0 200 140 &controls)) ret out e4;; e4 is nothing, it was working til i tried this code...
03-18-2009, 01:19 PM
In the code above that you posted Ginstras, i canno't figure out how controls will work in the dialog... here is my code, & it is not working correctly, will not grab the input into the Edit box...
int hwnd=val(_command) str controls = "4 5" str e4 c5Aut if(!ShowDialog(DLG 0 0 hwnd 0 0 0 200 140 &controls)) ret out e4;; e4 is nothing, it was working til i tried this code...
03-18-2009, 02:10 PM
ShowDialog
function# [$macro] [dlgproc] [!*controls] [hwndowner] [flags] [style] [notstyle] [param] [x] [y] [$icon] [$menu] ;;flags: 1 nonmodal, 2 macro is DD, 4 set style (default is to add), 64 raw x y. &controls is 3rd argument str controls = "4 5" str e4 c5Aut if(!ShowDialog(DLG 0 &controls hwnd 0 0 0 200 140)) ret that should do it. |
« Next Oldest | Next Newest »
|