Click here to Skip to main content
15,889,852 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
JokeRe: How to detect a laptop lid is closed? Pin
Rage12-Jan-06 7:11
professionalRage12-Jan-06 7:11 
GeneralRe: How to detect a laptop lid is closed? Pin
Gary R. Wheeler12-Jan-06 12:10
Gary R. Wheeler12-Jan-06 12:10 
GeneralRe: How to detect a laptop lid is closed? Pin
Amarelia12-Jan-06 18:08
Amarelia12-Jan-06 18:08 
QuestionHow to build a function in different file Pin
Pierre,Hsieh12-Jan-06 3:54
Pierre,Hsieh12-Jan-06 3:54 
AnswerRe: How to build a function in different file Pin
Vipin Aravind12-Jan-06 4:08
Vipin Aravind12-Jan-06 4:08 
QuestionHow to change resource of exported class from a DLL? Pin
jahfer12-Jan-06 1:31
jahfer12-Jan-06 1:31 
AnswerRe: How to change resource of exported class from a DLL? Pin
Michael Dunn12-Jan-06 6:49
sitebuilderMichael Dunn12-Jan-06 6:49 
QuestionHow to determine network cable unplugged? Pin
Amarelia12-Jan-06 0:44
Amarelia12-Jan-06 0:44 
Hi
I have developed a dialoged based MFC application and I want to alert user when network cable is unpluged? Is there a way to determine when a network cable is unplugged? (I mean to say in the same way as Windows system tray icon for network changes as soon as we unplugg the network.)

I want to run this programm on Windows 2000 and WindowsXP.

I think there must be some events occuring while network cable is unplugged. I want to know how to get such event or something like that.

Any link or help........?

With tons of thankx...



Mahesh

-- modified at 9:01 Thursday 12th January, 2006
AnswerRe: How to determine network cable unplugged? Pin
ThatsAlok12-Jan-06 1:35
ThatsAlok12-Jan-06 1:35 
GeneralRe: How to determine network cable unplugged? Pin
Amarelia12-Jan-06 3:01
Amarelia12-Jan-06 3:01 
GeneralRe: How to determine network cable unplugged? Pin
ThatsAlok12-Jan-06 17:21
ThatsAlok12-Jan-06 17:21 
QuestionGetting Font information Pin
<color>Aljechin 11-Jan-06 23:42
<color>Aljechin 11-Jan-06 23:42 
AnswerRe: Getting Font information Pin
Owner drawn11-Jan-06 23:47
Owner drawn11-Jan-06 23:47 
GeneralRe: Getting Font information Pin
<color>Aljechin 12-Jan-06 0:02
<color>Aljechin 12-Jan-06 0:02 
GeneralRe: Getting Font information Pin
Owner drawn12-Jan-06 0:05
Owner drawn12-Jan-06 0:05 
JokeRe: Getting Font information Pin
ThatsAlok12-Jan-06 1:49
ThatsAlok12-Jan-06 1:49 
GeneralRe: Getting Font information Pin
Owner drawn12-Jan-06 17:29
Owner drawn12-Jan-06 17:29 
QuestionCustom menu Pin
Nishad S11-Jan-06 23:40
Nishad S11-Jan-06 23:40 
AnswerRe: Custom menu Pin
Vipin Aravind12-Jan-06 1:40
Vipin Aravind12-Jan-06 1:40 
QuestionA function pointer problem... Pin
Owner drawn11-Jan-06 23:33
Owner drawn11-Jan-06 23:33 
AnswerRe: A function pointer problem... Pin
Prakash Nadar11-Jan-06 23:38
Prakash Nadar11-Jan-06 23:38 
GeneralRe: A function pointer problem... Pin
Owner drawn11-Jan-06 23:41
Owner drawn11-Jan-06 23:41 
GeneralRe: A function pointer problem... Pin
Prakash Nadar12-Jan-06 0:07
Prakash Nadar12-Jan-06 0:07 
GeneralRe: A function pointer problem... Pin
Owner drawn12-Jan-06 0:10
Owner drawn12-Jan-06 0:10 
General[Message Deleted] Pin
Kedar Potdar12-Jan-06 0:30
Kedar Potdar12-Jan-06 0:30 

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.