CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Threaded View

  1. #3
    Join Date
    Jun 1999
    Location
    Germany (south)
    Posts
    147

    Re: How to catch Alt+F4?

    hi,

    thank your for your answer!
    it works fine.

    meanwhile i found an answer for my other key event question:

    this.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.OnKeyPressEvent);
    ...
    ...
    ...
    ...
    ...
    private void OnKeyPressEvent(object sender, System.Windows.Forms.KeyPressEventArgs e)
    {
    //.........
    }


    thanx a lot,
    andi
    Last edited by Andi; January 3rd, 2005 at 12:57 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured