10-05-2015, 04:44 PM
Function test
I want to adjust the size of control "3" (multine inputfield) when the dialog get's resized.
I want to give the control the same dimensions as the dialog size.
In the dialog init I tried the code beneath, but I can't to get the "controls" parameter set correctly within the function "DT_SetAuto..."
Also I don't know how give control "3" the same size as the window size after resize (Parameter "Action - m (move) or s (resize)).
(Or does the function itself take care of that?)
I tried first under "WM_INIT..." and after that I it under tried "WM_SIZE"
str dd=
;BEGIN DIALOG
;0 "" 0x90CC0AC8 0x0 0 0 420 63 "test"
;3 Edit 0x54231044 0x200 0 0 420 63 ""
;END DIALOG
;DIALOG EDITOR: "" 0x2040301 "*" "" "" ""
I want to adjust the size of control "3" (multine inputfield) when the dialog get's resized.
I want to give the control the same dimensions as the dialog size.
In the dialog init I tried the code beneath, but I can't to get the "controls" parameter set correctly within the function "DT_SetAuto..."
Also I don't know how give control "3" the same size as the window size after resize (Parameter "Action - m (move) or s (resize)).
(Or does the function itself take care of that?)
I tried first under "WM_INIT..." and after that I it under tried "WM_SIZE"