Click here to Skip to main content
15,900,973 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Message Box Pin
2-Jul-01 20:06
suss2-Jul-01 20:06 
GeneralWM_INPUTLANGCHANGEREQUEST Pin
28-Jun-01 4:03
suss28-Jun-01 4:03 
GeneralRe: WM_INPUTLANGCHANGEREQUEST Pin
28-Jun-01 4:50
suss28-Jun-01 4:50 
GeneralRe: WM_INPUTLANGCHANGEREQUEST Pin
28-Jun-01 5:15
suss28-Jun-01 5:15 
GeneralRe: WM_INPUTLANGCHANGEREQUEST Pin
28-Jun-01 9:49
suss28-Jun-01 9:49 
Generalcatch value with vc++ Pin
Gérald Mercet28-Jun-01 4:03
Gérald Mercet28-Jun-01 4:03 
Generalcatch value with vc++ Pin
28-Jun-01 3:59
suss28-Jun-01 3:59 
GeneralVirtual directory Pin
28-Jun-01 2:59
suss28-Jun-01 2:59 
GeneralRe: Virtual directory Pin
Erik Funkenbusch28-Jun-01 11:17
Erik Funkenbusch28-Jun-01 11:17 
QuestionHow to use RegQueryMultipleValues fnc Pin
28-Jun-01 2:44
suss28-Jun-01 2:44 
Generalmouse click problem in ownerdraw menu Pin
Paul Goodyear28-Jun-01 1:47
Paul Goodyear28-Jun-01 1:47 
GeneralRe: mouse click problem in ownerdraw menu Pin
Paul Goodyear28-Jun-01 5:33
Paul Goodyear28-Jun-01 5:33 
GeneralPreprocessor defines and MFC Pin
Serge A. Zhirko28-Jun-01 1:15
Serge A. Zhirko28-Jun-01 1:15 
Generalcursor position Pin
28-Jun-01 1:11
suss28-Jun-01 1:11 
GeneralRe: cursor position Pin
Anders Molin28-Jun-01 3:01
professionalAnders Molin28-Jun-01 3:01 
GeneralOLE Drag Drop in an ActiveX control Pin
28-Jun-01 0:52
suss28-Jun-01 0:52 
GeneralMulti page TIF Pin
28-Jun-01 0:30
suss28-Jun-01 0:30 
GeneralRe: Multi page TIF Pin
PhoenixHawke23-Aug-07 8:57
PhoenixHawke23-Aug-07 8:57 
QuestionHow do i implement a context menu and a Right Mouse button Double click at the same time? Pin
28-Jun-01 0:27
suss28-Jun-01 0:27 
AnswerRe: How do i implement a context menu and a Right Mouse button Double click at the same time? Pin
Tomasz Sowinski28-Jun-01 0:39
Tomasz Sowinski28-Jun-01 0:39 
GeneralAPI question - dealing with messages Pin
Gennady Oster28-Jun-01 0:22
Gennady Oster28-Jun-01 0:22 
Hi!
I've posted this question in the "Suggestion" board, because there is no API discussion, and was advised to post it to C++ board. Sorry for long story.

I've created the NT service that in the case of error not only register event in the Application EventLog, but also may send this event by mail to the predefined SMTP address. In the configuration applet for this service I'd like to let the user to select, what events he/she wants to receive in mail. So I'd like to extract the list of events from the event source, registered in HKLM\SYSTEM\CurrentControlSet\Services\Eventlog\Application\EventMessageFile.
I can extract the single event with FormatMessage, if I know the ID. But if I don't? The question is: How I can enumerate the events in the EventMessageFile? Sure I can do it "manualy" analyzing the message file structure. But I prefer something more safe in the case, they in MS will change the message file structure. And using API (if there is any) will save me from unskilled labour. I don't afraid to do such a work, but if I can avoid it ...

Thanks in advance.
Regards,
Gennady


GeneralRe: API question - dealing with messages Pin
Tomasz Sowinski28-Jun-01 0:48
Tomasz Sowinski28-Jun-01 0:48 
GeneralRe: API question - dealing with messages Pin
Gennady Oster28-Jun-01 1:22
Gennady Oster28-Jun-01 1:22 
Generalcout<< Pin
Rejeesh28-Jun-01 0:00
Rejeesh28-Jun-01 0:00 
GeneralRe: cout<< Pin
markkuk28-Jun-01 1:05
markkuk28-Jun-01 1:05 

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.