Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
get variable in dialog
#2
You can access original dialog variables using function DT_GetVariables or DT_GetControls. Better would be to use user-defined type for dialog variables. If using str variables, the code would be

str* dv=DT_GetVariables(hDlg)
out dv[2]

This function does not populate variables with current values. Function DT_GetControls does.

str* dv=DT_GetControls(hDlg)
out dv[2]


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)