Click here to Skip to main content
15,913,685 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionwho is it? Pin
includeh1011-Oct-02 21:12
includeh1011-Oct-02 21:12 
AnswerRe: who is it? Pin
Nish Nishant11-Oct-02 22:19
sitebuilderNish Nishant11-Oct-02 22:19 
AnswerRe: who is it? Pin
Stephane Rodriguez.11-Oct-02 23:38
Stephane Rodriguez.11-Oct-02 23:38 
GeneralRe: who is it? Pin
carrie12-Oct-02 0:42
carrie12-Oct-02 0:42 
GeneralA notify icon problem Pin
Kerry Chou11-Oct-02 19:01
Kerry Chou11-Oct-02 19:01 
GeneralRe: A notify icon problem Pin
Nish Nishant11-Oct-02 22:17
sitebuilderNish Nishant11-Oct-02 22:17 
GeneralRe: A notify icon problem Pin
Kerry Chou11-Oct-02 22:58
Kerry Chou11-Oct-02 22:58 
GeneralRe: A notify icon problem Pin
Nish Nishant12-Oct-02 1:19
sitebuilderNish Nishant12-Oct-02 1:19 
Kerry Chou wrote:
Thank you Nish, I have resolved the problem.
But I can not find any information about the 'lpString' parameter of 'RegisterWindowMessage(LPCTSTR lpString)' function in MSDN, how can I identify the lpString parameter when I want to define a new window message?
Thanks!


Kerry,

RegisterWindowMessage is used to register custom messages. Say you have 3 apps all wanting to communicate to each other. Now you can use RegisterWindowMessage to get a unique message ID. For example RegisterWindowMessage("Kerry's special message") will always return the same unique message ID for an entire session. Now you can broadcast this message to all top level windows and the other programs which are expecting this message can handle it.

Regards,
Nish


Author of the romantic comedy

Summer Love and Some more Cricket [New Win]

Review by Shog9
Click here for review[NW]

GeneralDialog Box error Pin
suresh_sathya11-Oct-02 18:44
suresh_sathya11-Oct-02 18:44 
GeneralRe: Dialog Box error Pin
Michael Dunn11-Oct-02 19:48
sitebuilderMichael Dunn11-Oct-02 19:48 
QuestionHow we by pass Window Printer Dialog? Pin
Anonymous11-Oct-02 17:16
Anonymous11-Oct-02 17:16 
AnswerRe: How we by pass Window Printer Dialog? Pin
Paul M Watt11-Oct-02 18:11
mentorPaul M Watt11-Oct-02 18:11 
GeneralRe: How we by pass Window Printer Dialog? Pin
Anonymous12-Oct-02 12:04
Anonymous12-Oct-02 12:04 
GeneralIcon Import/Editor :: MFC Pin
valikac11-Oct-02 12:31
valikac11-Oct-02 12:31 
GeneralRe: Icon Import/Editor :: MFC Pin
Gary R. Wheeler11-Oct-02 15:56
Gary R. Wheeler11-Oct-02 15:56 
GeneralRe: Icon Import/Editor :: MFC Pin
valikac11-Oct-02 16:16
valikac11-Oct-02 16:16 
QuestionPermanent vs. Temporary DC's? Pin
Henry P.11-Oct-02 11:56
Henry P.11-Oct-02 11:56 
AnswerRe: Permanent vs. Temporary DC's? Pin
Neville Franks11-Oct-02 12:41
Neville Franks11-Oct-02 12:41 
GeneralRe: Permanent vs. Temporary DC's? Pin
Henry P.11-Oct-02 12:55
Henry P.11-Oct-02 12:55 
GeneralRe: Permanent vs. Temporary DC's? Pin
Neville Franks11-Oct-02 13:13
Neville Franks11-Oct-02 13:13 
AnswerRe: Permanent vs. Temporary DC's? Pin
Paul M Watt11-Oct-02 14:31
mentorPaul M Watt11-Oct-02 14:31 
GeneralRe: Permanent vs. Temporary DC's? Pin
Henry P.11-Oct-02 15:05
Henry P.11-Oct-02 15:05 
GeneralRe: Permanent vs. Temporary DC's? Pin
Gary R. Wheeler11-Oct-02 16:02
Gary R. Wheeler11-Oct-02 16:02 
QuestionCFormView derived class w/o relying on the resource.h? Pin
dazinith11-Oct-02 10:31
dazinith11-Oct-02 10:31 
AnswerRe: CFormView derived class w/o relying on the resource.h? Pin
Chris Richardson11-Oct-02 11:26
Chris Richardson11-Oct-02 11: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.