Click here to Skip to main content
15,886,873 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to get unplug the Ethernet cable message in WSAAsyncSelect ? Pin
wangningyu24-Jul-11 16:00
wangningyu24-Jul-11 16:00 
AnswerRe: How to get unplug the Ethernet cable message in WSAAsyncSelect ? Pin
Richard MacCutchan24-Jul-11 21:11
mveRichard MacCutchan24-Jul-11 21:11 
GeneralRe: How to get unplug the Ethernet cable message in WSAAsyncSelect ? Pin
wangningyu24-Jul-11 21:21
wangningyu24-Jul-11 21:21 
GeneralRe: How to get unplug the Ethernet cable message in WSAAsyncSelect ? Pin
Richard MacCutchan24-Jul-11 23:12
mveRichard MacCutchan24-Jul-11 23:12 
GeneralRe: How to get unplug the Ethernet cable message in WSAAsyncSelect ? Pin
wangningyu24-Jul-11 23:13
wangningyu24-Jul-11 23:13 
QuestionVisual C++ Express receiving a custom message Pin
martinmos23-Jul-11 8:18
martinmos23-Jul-11 8:18 
AnswerRe: Visual C++ Express receiving a custom message Pin
Albert Holguin23-Jul-11 8:58
professionalAlbert Holguin23-Jul-11 8:58 
GeneralRe: Visual C++ Express receiving a custom message [modified] Pin
martinmos23-Jul-11 9:12
martinmos23-Jul-11 9:12 
Thanks Albert, I'll read those links.

EDIT:
The examples in the link seem to require MFC but I understand I cannot use them in Visual C++ Express. I found it difficult to find examples of using messages for VS Express.

When you say
"
As far as what they mean by CMyParentWndClass, that just means to specify what CWnd derived class is your base class. CWnd derived classes (and really CCmdTarget defined classes as well) support message maps.
"
it doesn't help me because I know it means the base class but I cannot see anywhere how to know what the window is derived from. As far as it looks to me it isn't derived from anything. The class is registered but there is no reference to an inherited class.

I have all the code needed for the program and all the functions work. The data is sent to another app using StdOut/StdIN but I want to convert to using messages. What I hope for is a simple example of a program in VS C++ Express which shows how to use custom messages, and then I could convert the program.
Probably I should accept that I can't quickly put together a simple program to use messages because I know nowhere near enough to understand what to do. Using messages in Delphi or other languages I use is so simple I expected that C++ would be similar but it is not.


<div class="modified">modified on Saturday, July 23, 2011 3:24 PM</div>
GeneralRe: Visual C++ Express receiving a custom message Pin
Albert Holguin23-Jul-11 19:37
professionalAlbert Holguin23-Jul-11 19:37 
GeneralRe: Visual C++ Express receiving a custom message Pin
martinmos23-Jul-11 22:53
martinmos23-Jul-11 22:53 
GeneralRe: Visual C++ Express receiving a custom message Pin
Albert Holguin25-Jul-11 4:07
professionalAlbert Holguin25-Jul-11 4:07 
GeneralRe: Visual C++ Express receiving a custom message Pin
martinmos25-Jul-11 11:12
martinmos25-Jul-11 11:12 
GeneralRe: Visual C++ Express receiving a custom message Pin
Albert Holguin25-Jul-11 12:30
professionalAlbert Holguin25-Jul-11 12:30 
AnswerRe: Visual C++ Express receiving a custom message Pin
Mark Salsbery23-Jul-11 12:29
Mark Salsbery23-Jul-11 12:29 
GeneralRe: Visual C++ Express receiving a custom message Pin
martinmos23-Jul-11 20:42
martinmos23-Jul-11 20:42 
GeneralRe: Visual C++ Express receiving a custom message Pin
Mark Salsbery23-Jul-11 21:07
Mark Salsbery23-Jul-11 21:07 
GeneralRe: Visual C++ Express receiving a custom message Pin
martinmos24-Jul-11 1:08
martinmos24-Jul-11 1:08 
GeneralRe: Visual C++ Express receiving a custom message Pin
Richard MacCutchan24-Jul-11 1:25
mveRichard MacCutchan24-Jul-11 1:25 
GeneralRe: Visual C++ Express receiving a custom message Pin
martinmos24-Jul-11 5:37
martinmos24-Jul-11 5:37 
QuestionC program to start before windows boot Pin
ayandelhi23-Jul-11 4:31
ayandelhi23-Jul-11 4:31 
AnswerRe: C program to start before windows boot Pin
Richard MacCutchan23-Jul-11 6:22
mveRichard MacCutchan23-Jul-11 6:22 
AnswerRe: C program to start before windows boot Pin
Rajesh R Subramanian23-Jul-11 6:56
professionalRajesh R Subramanian23-Jul-11 6:56 
GeneralRe: C program to start before windows boot Pin
Albert Holguin23-Jul-11 8:07
professionalAlbert Holguin23-Jul-11 8:07 
AnswerRe: C program to start before windows boot Pin
ayandelhi23-Jul-11 22:11
ayandelhi23-Jul-11 22:11 
GeneralRe: C program to start before windows boot Pin
Richard MacCutchan23-Jul-11 22:26
mveRichard MacCutchan23-Jul-11 22:26 

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.