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

C / C++ / MFC

 
AnswerRe: C++ program help counting frequency of char. entered. Pin
Bram van Kampen2-Jul-08 12:28
Bram van Kampen2-Jul-08 12:28 
Questionabout Win32 DLL Pin
zhoogle2-Jul-08 21:42
zhoogle2-Jul-08 21:42 
AnswerRe: about Win32 DLL Pin
Iain Clarke, Warrior Programmer2-Jul-08 23:11
Iain Clarke, Warrior Programmer2-Jul-08 23:11 
GeneralRe: about Win32 DLL Pin
Bram van Kampen3-Jul-08 0:32
Bram van Kampen3-Jul-08 0:32 
Question(MFC/SDI App) Deliver the user-defined messages from MainFrame to Document Object failed... Pin
oppstp2-Jul-08 6:25
oppstp2-Jul-08 6:25 
QuestionRe: (MFC/SDI App) Deliver the user-defined messages from MainFrame to Document Object failed... Pin
Mark Salsbery2-Jul-08 6:31
Mark Salsbery2-Jul-08 6:31 
AnswerRe: (MFC/SDI App) Deliver the user-defined messages from MainFrame to Document Object failed... Pin
oppstp2-Jul-08 9:27
oppstp2-Jul-08 9:27 
GeneralRe: (MFC/SDI App) Deliver the user-defined messages from MainFrame to Document Object failed... Pin
Mark Salsbery2-Jul-08 10:49
Mark Salsbery2-Jul-08 10:49 
oppstp wrote:
Is the only way to solve above potential problem by making each USER_DEFINED_MESSAGE unique ?


YES! They MUST be unique.

See WM_APP[^] for what values are safe to use.

You can also use RegisterWindowMessage()[^] if you need messages unique system-wide.

Mark

Mark Salsbery
Microsoft MVP - Visual C++

Java | [Coffee]

GeneralRe: (MFC/SDI App) Deliver the user-defined messages from MainFrame to Document Object failed... Pin
oppstp2-Jul-08 15:55
oppstp2-Jul-08 15:55 
QuestionSaferGetLevelInformation Fails!!! Pin
Aabid2-Jul-08 3:21
Aabid2-Jul-08 3:21 
AnswerRe: SaferGetLevelInformation Fails!!! Pin
rp_suman2-Jul-08 5:00
rp_suman2-Jul-08 5:00 
GeneralRe: SaferGetLevelInformation Fails!!! Pin
Aabid2-Jul-08 5:13
Aabid2-Jul-08 5:13 
QuestionRe: SaferGetLevelInformation Fails!!! Pin
David Crow2-Jul-08 5:22
David Crow2-Jul-08 5:22 
AnswerRe: SaferGetLevelInformation Fails!!! Pin
krmed2-Jul-08 5:23
krmed2-Jul-08 5:23 
AnswerRe: SaferGetLevelInformation Fails!!! Pin
Aabid2-Jul-08 5:31
Aabid2-Jul-08 5:31 
QuestionRe: SaferGetLevelInformation Fails!!! Pin
David Crow2-Jul-08 5:47
David Crow2-Jul-08 5:47 
GeneralRe: SaferGetLevelInformation Fails!!! Pin
krmed2-Jul-08 6:59
krmed2-Jul-08 6:59 
AnswerRe: SaferGetLevelInformation Fails!!! Pin
krmed2-Jul-08 5:22
krmed2-Jul-08 5:22 
QuestionDrawing a grayscale Icon Pin
__DanC__2-Jul-08 3:13
__DanC__2-Jul-08 3:13 
AnswerRe: Drawing a grayscale Icon Pin
KarstenK2-Jul-08 3:39
mveKarstenK2-Jul-08 3:39 
GeneralRe: Drawing a grayscale Icon Pin
__DanC__2-Jul-08 3:44
__DanC__2-Jul-08 3:44 
AnswerRe: Drawing a grayscale Icon Pin
Mark Salsbery2-Jul-08 6:53
Mark Salsbery2-Jul-08 6:53 
AnswerRe: Drawing a grayscale Icon Pin
Mark Salsbery2-Jul-08 6:59
Mark Salsbery2-Jul-08 6:59 
Questiontypedef enum & typecasting [modified] Pin
testcrap2-Jul-08 2:49
testcrap2-Jul-08 2:49 
AnswerRe: typedef enum & typecasting Pin
_AnsHUMAN_ 2-Jul-08 2:54
_AnsHUMAN_ 2-Jul-08 2:54 

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.