close a dialog from constructor

I want to close a dialog box from its constructor under some conditions
but the Close() methos doesn't work. Do you know any way to do that?

Comments

  • : I want to close a dialog box from its constructor under some conditions
    : but the Close() methos doesn't work. Do you know any way to do that?
    :
    'PostMessage' the WM_CLOSE message to the dialog.

    Greets,
    Eric Goldstein
    http://www.gvh-maatwerk.nl


Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion