Hi.
I want to retrieve the value of an edit control from a class that is different from the one that is controlling the dialog.
Class A displays dialogB controlled by Class B.
EditControl is in dialog B.
When I use GetDlgItemText from Class B OnButtonClick event I can retrieve the value of the edit control.
However I try to use GetDlgItemText from Class A and I get a debug assertion error... ?? Anyone know what I am missing?
I want to retrieve the value of an edit control from a class that is different from the one that is controlling the dialog.
Class A displays dialogB controlled by Class B.
EditControl is in dialog B.
When I use GetDlgItemText from Class B OnButtonClick event I can retrieve the value of the edit control.
However I try to use GetDlgItemText from Class A and I get a debug assertion error... ?? Anyone know what I am missing?