J
Johan Johansson
I will in response to external events need to get rid of a yes/no
messagebox. I'm aware of the FindWindow/EndDialog solution, but I don't
like it as its limits my choices in terms of window titles. Instead I
opted for my own Form displayed using ShowDialog, which would let me
keep "a handle" to the dialog, but given that this was originally a
message box I don't want a full screen dialog. I then however need to
set BorderStyle to none. But then I don't get any border (duh)!
I'll try to explain that "dialogs are supposed to be full-screen anyway"
and so on, but if I don't get an OK for that, is there a reasonable way
to do what I want or am I stuck with the FindWindow/EndDialog solution?
Thanks,
Johan
messagebox. I'm aware of the FindWindow/EndDialog solution, but I don't
like it as its limits my choices in terms of window titles. Instead I
opted for my own Form displayed using ShowDialog, which would let me
keep "a handle" to the dialog, but given that this was originally a
message box I don't want a full screen dialog. I then however need to
set BorderStyle to none. But then I don't get any border (duh)!
I'll try to explain that "dialogs are supposed to be full-screen anyway"
and so on, but if I don't get an OK for that, is there a reasonable way
to do what I want or am I stuck with the FindWindow/EndDialog solution?
Thanks,
Johan