G
Guest
Hi all,
I want to create a customized MessageBox. In .net the MessageBox
class will wrap the SDK MessageBox. And it has a private constructor. So
surely I cant derive from the MessageBox class.
So I tried deriving the messageBox class from System.Object and the
static methods like MB.Show() calls the CreateWindow() of another calls which
is derived from NativeWindow. but with static methods one cant call the
createWindow and pass the Handle to it.
I'm fixed here. is deriving it from the form is a option or what
else are the possibilities i can do it.
please respond if anyone know about this,
thank you,
Harry
I want to create a customized MessageBox. In .net the MessageBox
class will wrap the SDK MessageBox. And it has a private constructor. So
surely I cant derive from the MessageBox class.
So I tried deriving the messageBox class from System.Object and the
static methods like MB.Show() calls the CreateWindow() of another calls which
is derived from NativeWindow. but with static methods one cant call the
createWindow and pass the Handle to it.
I'm fixed here. is deriving it from the form is a option or what
else are the possibilities i can do it.
please respond if anyone know about this,
thank you,
Harry