Click here to Skip to main content
15,893,668 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionVisual C++ 2008 and Ultragrid 2.0 Pin
sujipal24-Jul-11 19:56
sujipal24-Jul-11 19:56 
AnswerRe: Visual C++ 2008 and Ultragrid 2.0 Pin
Code-o-mat24-Jul-11 22:07
Code-o-mat24-Jul-11 22:07 
AnswerRe: Visual C++ 2008 and Ultragrid 2.0 Pin
Maximilien25-Jul-11 3:27
Maximilien25-Jul-11 3:27 
QuestionHelp Regarding XML Parsing Pin
pix_programmer24-Jul-11 19:55
pix_programmer24-Jul-11 19:55 
AnswerRe: Help Regarding XML Parsing Pin
_AnsHUMAN_ 24-Jul-11 20:32
_AnsHUMAN_ 24-Jul-11 20:32 
GeneralRe: Help Regarding XML Parsing Pin
pix_programmer24-Jul-11 20:52
pix_programmer24-Jul-11 20:52 
GeneralRe: Help Regarding XML Parsing Pin
_AnsHUMAN_ 24-Jul-11 22:46
_AnsHUMAN_ 24-Jul-11 22:46 
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 
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 
The header you refer to is given in hundreds of examples, but nowhere in my code can I find anything like that which is why I don't know what the parent window calsss is.
This is probably because I started the project as a Win32 application. If I start a project as a WindowsForm application then the form class does show the parent form as

System::Windows::Forms::Form

but I cannot find the winproc function anywhere. In fact searching all files in solution for "switch" finds nothing.

I have found aother examples where an if clause is used in winproc and so I assume that what I did should be ok, and it does detect the message from another app. So maybe my problem is just that I don't know the correct way to send a message because as soon as I use SendMessage in my main loop the message is recieved in the app I send the message to but I can no longer detect messages from that app even though the app says they have been received.
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 

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.