Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Passing variable values to a Dialog
#1
Hi Gintaras,
I am trying to figure out how to pass variables to a smart dialog (e.g. the calling windows Hwnd for purposes of parent and some string variable). The problem is that the dlgproc already uses the function line

Code:
Copy      Help
function# hDlg message wParam lParam

so I can't pass anything in with the initial call like I would like to such as:

Code:
Copy      Help
mac "SampleDlg" 0 CallingHwnd SomeStrVar

I see that this is handled in a sub in the latest versions of QM

Code:
Copy      Help
#sub DlgProc
function# hDlg message wParam lParam

but unfortunately I haven't been able to update past 2.3.6.5 yet.

Is there another way you can suggest?
Thanks,
S


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)