Modeless CDialogbar
-
:((Hi all; I am a final year student @ Uni and i'm building an SDI application for my studies.I am using a dialogbar acting as a modeless dialog with some controls scattered on it here and there. The problem is that i need to handle these controls (e.g ListControls etc..) within another class. When i try to do so, the compilers harshly complains that the window handle is not valid. I know that Modeless dialogs do lose their handles after creation, but i really need to access the controls on the dialogbar. Can anybody please help me, I really need this guys. Thank you; Kruger
-
:((Hi all; I am a final year student @ Uni and i'm building an SDI application for my studies.I am using a dialogbar acting as a modeless dialog with some controls scattered on it here and there. The problem is that i need to handle these controls (e.g ListControls etc..) within another class. When i try to do so, the compilers harshly complains that the window handle is not valid. I know that Modeless dialogs do lose their handles after creation, but i really need to access the controls on the dialogbar. Can anybody please help me, I really need this guys. Thank you; Kruger
krugger wrote: I know that Modeless dialogs do lose their handles after creation normally, for modeless dialogs, you will need to have either a class variable for it ( or a global variable ) to hold it.
Maximilien Lincourt Your Head A Splode - Strong Bad