Click here to Skip to main content
15,888,610 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Ex: Globals in MFC Pin
toxcct29-Sep-05 2:20
toxcct29-Sep-05 2:20 
AnswerRe: Globals in MFC Pin
tbrake29-Sep-05 1:37
tbrake29-Sep-05 1:37 
AnswerRe: Globals in MFC Pin
David Crow29-Sep-05 3:15
David Crow29-Sep-05 3:15 
AnswerRe: Globals in MFC Pin
Tim Smith29-Sep-05 6:38
Tim Smith29-Sep-05 6:38 
Questionmsflexgrid Pin
cell5129-Sep-05 1:23
cell5129-Sep-05 1:23 
AnswerRe: msflexgrid Pin
Gary R. Wheeler1-Oct-05 2:39
Gary R. Wheeler1-Oct-05 2:39 
QuestionCan open Software by Double Clicking the reistrated Filetype - but no reading Pin
tbrake29-Sep-05 1:18
tbrake29-Sep-05 1:18 
QuestionUser message Pin
karmendra_js29-Sep-05 0:43
karmendra_js29-Sep-05 0:43 
I have created user message as follows:

define a user message in stdafx.h
#define WM_MYMESSAGE (WM_USER+1)


now in message map on class X add following messagemap
ON_MESSAGE (WM_MYMESSAGE, MyMessageHandler)

MyMessageHandler function is defined in class X.

Now to post message use the following code in the function where you want to.
PostMessage(WM_MYMESSAGE, 0, 0);


Now MyMessageHandler function is executed.

but the problem here is MyMessageHandler function is executed only if message is posted from within the member function.

if i post it form some other class member function nothing happens.

Can anyone tell me How can i post message from outside the class X.
AnswerRe: User message Pin
ddmcr29-Sep-05 0:56
ddmcr29-Sep-05 0:56 
GeneralRe: User message Pin
Mircea Puiu29-Sep-05 1:32
Mircea Puiu29-Sep-05 1:32 
GeneralRe: User message Pin
bishbosh0229-Sep-05 12:20
bishbosh0229-Sep-05 12:20 
QuestionHow to get the system volume value using mixer apis Pin
ashwath200529-Sep-05 0:27
ashwath200529-Sep-05 0:27 
AnswerRe: How to get the system volume value using mixer apis Pin
mark novak29-Sep-05 2:21
mark novak29-Sep-05 2:21 
QuestionCreateprocess Issue. Pin
.NetRams29-Sep-05 0:04
.NetRams29-Sep-05 0:04 
AnswerRe: Createprocess Issue. Pin
jeffrey@toad.net29-Sep-05 14:46
sussjeffrey@toad.net29-Sep-05 14:46 
QuestionEnable/Disable Menu items Pin
lavate malllik28-Sep-05 23:50
lavate malllik28-Sep-05 23:50 
QuestionPointer to function and templates Pin
vmaltsev28-Sep-05 23:19
vmaltsev28-Sep-05 23:19 
AnswerRe: Pointer to function and templates Pin
prasad_som29-Sep-05 0:05
prasad_som29-Sep-05 0:05 
GeneralRe: Pointer to function and templates Pin
vmaltsev29-Sep-05 0:24
vmaltsev29-Sep-05 0:24 
GeneralRe: Pointer to function and templates Pin
prasad_som29-Sep-05 1:29
prasad_som29-Sep-05 1:29 
AnswerRe: Pointer to function and templates Pin
Steen Krogsgaard30-Sep-05 3:00
Steen Krogsgaard30-Sep-05 3:00 
QuestionMFC object CFormView Pin
karmendra_js28-Sep-05 23:11
karmendra_js28-Sep-05 23:11 
AnswerRe: MFC object CFormView Pin
prasad_som29-Sep-05 0:36
prasad_som29-Sep-05 0:36 
QuestionRe: MFC object CFormView Pin
karmendra_js29-Sep-05 0:54
karmendra_js29-Sep-05 0:54 
AnswerRe: MFC object CFormView Pin
Steen Krogsgaard30-Sep-05 3:07
Steen Krogsgaard30-Sep-05 3:07 

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.