CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Dec 2003
    Location
    Spain
    Posts
    52

    how to disablñe alt+f4 ?

    Hello,
    I'd like to know how to disable alt+f4 in a given form to prevent user from closing that way

  2. #2
    Join Date
    May 2006
    Location
    Norway
    Posts
    1,709

    Re: how to disablñe alt+f4 ?

    This thread should give you some hints even tough it is for an MFC app. Read that thread carefully and see what you can do!

    Laitinen

  3. #3
    Join Date
    Jul 2007
    Location
    london
    Posts
    247

    Re: how to disablñe alt+f4 ?

    DefWindowProc(...) catches it(i think), so if you catch it yourself you should be ok

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