Click here to Skip to main content
15,900,816 members
Home / Discussions / C#
   

C#

 
GeneralProhibit user enter key char Pin
DucLinh11-Apr-04 16:37
DucLinh11-Apr-04 16:37 
GeneralRe: Prohibit user enter key char Pin
Heath Stewart12-Apr-04 5:47
protectorHeath Stewart12-Apr-04 5:47 
GeneralCouldn't close my application Pin
yu-yu11-Apr-04 15:09
yu-yu11-Apr-04 15:09 
GeneralRe: Couldn't close my application Pin
Heath Stewart12-Apr-04 5:52
protectorHeath Stewart12-Apr-04 5:52 
GeneralRe: Couldn't close my application Pin
yu-yu13-Apr-04 17:20
yu-yu13-Apr-04 17:20 
GeneralRe: Couldn't close my application Pin
yu-yu13-Apr-04 18:12
yu-yu13-Apr-04 18:12 
GeneralDIsable Alt+F4 Pin
Michael Timoney11-Apr-04 14:57
Michael Timoney11-Apr-04 14:57 
GeneralRe: DIsable Alt+F4 Pin
Heath Stewart12-Apr-04 5:54
protectorHeath Stewart12-Apr-04 5:54 
Alt+F4 is a key sequence reserved by Windows for closing applications. Without using a system hook, I doubt very highly that you can override the default behavior.

IIRC, Alt+F4 will only close windows if they are owned by your main application window instead of the application itself. For more information on this, see the documentation for the Form.AddOwnedForm method and Form.Owner property in the .NET Framework SDK.

 

Microsoft MVP, Visual C#
My Articles
GeneralRe: DIsable Alt+F4 Pin
Jay Shankar12-Apr-04 22:42
Jay Shankar12-Apr-04 22:42 
GeneralRe: DIsable Alt+F4 Pin
Michael Timoney14-Apr-04 6:08
Michael Timoney14-Apr-04 6:08 
GeneralRe: DIsable Alt+F4 Pin
Jay Shankar14-Apr-04 16:10
Jay Shankar14-Apr-04 16:10 
GeneralProblems with char typecast's Pin
Franz Pentenrieder11-Apr-04 14:42
Franz Pentenrieder11-Apr-04 14:42 
GeneralNeed Urgent Help With Remoting Pin
Michael Timoney11-Apr-04 14:29
Michael Timoney11-Apr-04 14:29 
GeneralRe: Need Urgent Help With Remoting Pin
leppie11-Apr-04 15:03
leppie11-Apr-04 15:03 
GeneralRe: Need Urgent Help With Remoting Pin
Michael Timoney11-Apr-04 15:15
Michael Timoney11-Apr-04 15:15 
GeneralRe: Need Urgent Help With Remoting Pin
leppie11-Apr-04 15:49
leppie11-Apr-04 15:49 
GeneralRe: Need Urgent Help With Remoting Pin
Michael Timoney14-Apr-04 6:16
Michael Timoney14-Apr-04 6:16 
GeneralPS: Need Urgent Help With Remoting Pin
Michael Timoney11-Apr-04 15:25
Michael Timoney11-Apr-04 15:25 
Generalusing inherited listviewitem Pin
Anonymous11-Apr-04 13:41
Anonymous11-Apr-04 13:41 
GeneralRe: using inherited listviewitem Pin
leppie11-Apr-04 15:07
leppie11-Apr-04 15:07 
GeneralRe: using inherited listviewitem Pin
Anonymous12-Apr-04 5:18
Anonymous12-Apr-04 5:18 
GeneralRe: using inherited listviewitem Pin
Heath Stewart12-Apr-04 5:59
protectorHeath Stewart12-Apr-04 5:59 
GeneralIcon associated with file type Pin
DrGreen11-Apr-04 10:26
DrGreen11-Apr-04 10:26 
GeneralRe: Icon associated with file type Pin
Anonymous11-Apr-04 13:53
Anonymous11-Apr-04 13:53 
GeneralRe: Icon associated with file type Pin
Anonymous11-Apr-04 13:55
Anonymous11-Apr-04 13:55 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.