Click here to Skip to main content
15,919,245 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: #pragma once and #ifndef Pin
Alan Chambers4-Jul-02 1:16
Alan Chambers4-Jul-02 1:16 
GeneralRe: #pragma once and #ifndef Pin
Alexandru Savescu4-Jul-02 8:51
Alexandru Savescu4-Jul-02 8:51 
GeneralRe: #pragma once and #ifndef Pin
markkuk4-Jul-02 1:21
markkuk4-Jul-02 1:21 
GeneralRe: #pragma once and #ifndef Pin
Michael Dunn4-Jul-02 7:32
sitebuilderMichael Dunn4-Jul-02 7:32 
GeneralOnUpdate(CCmdUI* pCmdUI) isnt called Pin
John Oliver3-Jul-02 23:47
John Oliver3-Jul-02 23:47 
GeneralRe: OnUpdate(CCmdUI* pCmdUI) isnt called Pin
Michael Dunn4-Jul-02 7:34
sitebuilderMichael Dunn4-Jul-02 7:34 
GeneralRe: OnUpdate(CCmdUI* pCmdUI) isnt called Pin
John Oliver5-Jul-02 0:07
John Oliver5-Jul-02 0:07 
QuestionMAKEWPARAM ??? Pin
Alek3-Jul-02 23:09
Alek3-Jul-02 23:09 
I need my program to send a message which I define.
as below:

#define WM_MYMSG WM_USER+100;
WPARAM wp;
wp = MAKEWPARAM((WORD)0x200, (WORD)0x450);
::PostMessage(NULL, WM_MYMEG, wp, 0);

I code a .dll to get this message and then to do something.

The problem is, in the program, I get the correct wp value,
but when I post the message to the .dll file, it get the wrong value.
I use hook function to get this message. It get the message but the WPARAM parameter is wrong.
Does anyone could give me some suggestion ?
Thanks a lot.
Confused | :confused:
AnswerRe: MAKEWPARAM ??? Pin
4-Jul-02 23:23
suss4-Jul-02 23:23 
Generaldevice context question Pin
3-Jul-02 22:32
suss3-Jul-02 22:32 
GeneralRe: device context question Pin
4-Jul-02 9:19
suss4-Jul-02 9:19 
GeneralVersion info managing Pin
56789012343-Jul-02 22:29
56789012343-Jul-02 22:29 
Generalhelp me in MFC Pin
HoldMe3-Jul-02 22:13
HoldMe3-Jul-02 22:13 
Generalautologin with Win2000 Pin
Jerome Conus3-Jul-02 20:13
Jerome Conus3-Jul-02 20:13 
GeneralRe: autologin with Win2000 Pin
benjymous3-Jul-02 23:20
benjymous3-Jul-02 23:20 
GeneralRe: autologin with Win2000 Pin
Mike Nordell4-Jul-02 6:19
Mike Nordell4-Jul-02 6:19 
GeneralRe: autologin with Win2000 Pin
Michael Dunn4-Jul-02 7:38
sitebuilderMichael Dunn4-Jul-02 7:38 
QuestionShrinking a WAV (audio formats)? Pin
3-Jul-02 19:03
suss3-Jul-02 19:03 
AnswerRe: Shrinking a WAV (audio formats)? Pin
Christian Graus3-Jul-02 19:38
protectorChristian Graus3-Jul-02 19:38 
GeneralRe: Shrinking a WAV (audio formats)? Pin
Larry Antram3-Jul-02 20:04
Larry Antram3-Jul-02 20:04 
GeneralRe: Shrinking a WAV (audio formats)? Pin
Mike Nordell4-Jul-02 16:46
Mike Nordell4-Jul-02 16:46 
GeneralRe: Shrinking a WAV (audio formats)? Pin
Larry Antram4-Jul-02 17:18
Larry Antram4-Jul-02 17:18 
GeneralRe: Shrinking a WAV (audio formats)? Pin
5-Jul-02 7:21
suss5-Jul-02 7:21 
GeneralRe: Shrinking a WAV (audio formats)? Pin
Mike Nordell6-Jul-02 6:42
Mike Nordell6-Jul-02 6:42 
GeneralRe: Shrinking a WAV (audio formats)? Pin
haronis26-Jul-02 1:40
haronis26-Jul-02 1:40 

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.