04-15-2011, 01:25 PM
sorry i didnt explain it claer enough and prolly took ur answer wrong...
my idea was to declare an id of the window as hwndOwner instead the window so it would keep the position even if the window got resized.
i did it like ; (below WM_TIMER)
Macro Macro
i have tried to mix it up with your code but cant get it to work is there a way?
my idea was to declare an id of the window as hwndOwner instead the window so it would keep the position even if the window got resized.
i did it like ; (below WM_TIMER)
Macro Macro
int hwnd=win("" "Notepad")
RECT r xr rr
GetWindowRect(hwnd &r)
GetWindowRect(id(15 hwnd) &xr)
MoveWindow hDlg .....i have tried to mix it up with your code but cant get it to work is there a way?
