Click here to Skip to main content
15,904,023 members
Home / Discussions / C#
   

C#

 
AnswerRe: Implementing arrays in C# Pin
James Poulose18-Nov-06 1:32
James Poulose18-Nov-06 1:32 
GeneralRe: Implementing arrays in C# Pin
Debun18-Nov-06 1:52
Debun18-Nov-06 1:52 
GeneralRe: Implementing arrays in C# Pin
James Poulose19-Nov-06 4:54
James Poulose19-Nov-06 4:54 
QuestionNamespace Pin
shanisnathan17-Nov-06 23:12
shanisnathan17-Nov-06 23:12 
AnswerRe: Namespace Pin
Stefan Troschuetz18-Nov-06 0:12
Stefan Troschuetz18-Nov-06 0:12 
GeneralRe: Namespace Pin
shanisnathan18-Nov-06 2:28
shanisnathan18-Nov-06 2:28 
QuestionPlease Help me!! My pc is not going to shutdown when application is running Pin
Irfan Kothari17-Nov-06 22:50
Irfan Kothari17-Nov-06 22:50 
AnswerRe: Please Help me!! My pc is not going to shutdown when application is running Pin
Stefan Troschuetz18-Nov-06 0:10
Stefan Troschuetz18-Nov-06 0:10 
Add the following code to your form. It filters the session end message and sets a flag that can be tested in the Closing event handler.
protected override void WndProc(ref Message m)
{
    if (m.Msg == 0x0011)//WM_QUERYENDSESSION
        // Allow the application to close, if the current session ends.
        this.allowClosing = true;

    base.WndProc(ref m);
}



"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook

www.troschuetz.de

GeneralRe: Please Help me!! My pc is not going to shutdown when application is running Pin
Irfan Kothari18-Nov-06 1:32
Irfan Kothari18-Nov-06 1:32 
GeneralRe: Please Help me!! My pc is not going to shutdown when application is running Pin
Yustme18-Nov-06 7:30
Yustme18-Nov-06 7:30 
GeneralRe: Please Help me!! My pc is not going to shutdown when application is running Pin
Irfan Kothari19-Nov-06 17:51
Irfan Kothari19-Nov-06 17:51 
QuestionHow to know if CTRL + A are pressed Pin
quiteSmart17-Nov-06 21:05
quiteSmart17-Nov-06 21:05 
AnswerRe: How to know if CTRL + A are pressed Pin
sbj hnagar17-Nov-06 21:15
sbj hnagar17-Nov-06 21:15 
JokeRe: How to know if CTRL + A are pressed Pin
quiteSmart17-Nov-06 21:19
quiteSmart17-Nov-06 21:19 
AnswerRe: How to know if CTRL + A are pressed Pin
Ashish Derhgawen17-Nov-06 21:53
Ashish Derhgawen17-Nov-06 21:53 
GeneralRe: How to know if CTRL + A are pressed Pin
quiteSmart17-Nov-06 22:49
quiteSmart17-Nov-06 22:49 
GeneralRe: How to know if CTRL + A are pressed Pin
Christian Graus17-Nov-06 23:10
protectorChristian Graus17-Nov-06 23:10 
GeneralRe: How to know if CTRL + A are pressed Pin
quiteSmart17-Nov-06 23:24
quiteSmart17-Nov-06 23:24 
GeneralRe: How to know if CTRL + A are pressed Pin
Stefan Troschuetz18-Nov-06 0:01
Stefan Troschuetz18-Nov-06 0:01 
GeneralRe: How to know if CTRL + A are pressed Pin
Thomas Stockwell18-Nov-06 6:07
professionalThomas Stockwell18-Nov-06 6:07 
Questionshockwave flash object Pin
Nafiseh Salmani17-Nov-06 19:17
Nafiseh Salmani17-Nov-06 19:17 
QuestionKill the process during UnInstall Process Pin
AB777117-Nov-06 19:10
AB777117-Nov-06 19:10 
QuestionMonitor what comes over the web Pin
Zinc Oianoid17-Nov-06 15:41
Zinc Oianoid17-Nov-06 15:41 
QuestionDisable Scroll In a Container Pin
Iridania17-Nov-06 12:27
Iridania17-Nov-06 12:27 
AnswerRe: Disable Scroll In a Container Pin
praveen pandey17-Nov-06 21:31
praveen pandey17-Nov-06 21:31 

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.