Click here to Skip to main content
15,887,267 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Strange Problem Pin
john563221-Aug-11 23:11
john563221-Aug-11 23:11 
GeneralRe: Strange Problem Pin
Richard MacCutchan22-Aug-11 0:28
mveRichard MacCutchan22-Aug-11 0:28 
GeneralRe: Strange Problem Pin
Stefan_Lang22-Aug-11 4:10
Stefan_Lang22-Aug-11 4:10 
QuestionRe: Strange Problem Pin
David Crow22-Aug-11 3:32
David Crow22-Aug-11 3:32 
QuestionPropertySheet Pin
john563221-Aug-11 5:47
john563221-Aug-11 5:47 
AnswerRe: PropertySheet Pin
«_Superman_»21-Aug-11 16:32
professional«_Superman_»21-Aug-11 16:32 
Questiontrouble with "Windows Journal Hook" Pin
Cold_Fearing_Bird21-Aug-11 4:26
Cold_Fearing_Bird21-Aug-11 4:26 
AnswerRe: trouble with "Windows Journal Hook" Pin
«_Superman_»21-Aug-11 16:48
professional«_Superman_»21-Aug-11 16:48 
During Journal Record, you need to make copies of the EVENTMSG structures passed in lParam.
You can do this by creating a vector or EVENTMSG structures - std::vector<EVENTMSG> vEventMsgs;
Whenever the journal hook callback is called you can use std::vector::push_back to make copies of this structure.

During playback, copy back the stored EVENTMSG structures to lParam.
The return value from the journal playback callback must be the amount of time to wait till the next journal playback callback is called.
You can calculate this from the time member of the EVENTMSG structure.

Take a look at this article to find out how its done - Writing a Macro Recorder/Player using Win32 Journal Hooks[^]
«_Superman 
I love work. It gives me something to do between weekends.


Microsoft MVP (Visual C++)

Polymorphism in C

QuestionHow to change the Vista boot logo ? Pin
CString(0xcccccccc)21-Aug-11 0:42
CString(0xcccccccc)21-Aug-11 0:42 
AnswerRe: How to change the Vista boot logo ? Pin
Richard MacCutchan21-Aug-11 7:43
mveRichard MacCutchan21-Aug-11 7:43 
GeneralRe: How to change the Vista boot logo ? Pin
CString(0xcccccccc)21-Aug-11 12:33
CString(0xcccccccc)21-Aug-11 12:33 
GeneralRe: How to change the Vista boot logo ? Pin
Richard MacCutchan21-Aug-11 21:31
mveRichard MacCutchan21-Aug-11 21:31 
GeneralRe: How to change the Vista boot logo ? Pin
CString(0xcccccccc)21-Aug-11 22:53
CString(0xcccccccc)21-Aug-11 22:53 
GeneralRe: How to change the Vista boot logo ? Pin
Richard MacCutchan22-Aug-11 0:26
mveRichard MacCutchan22-Aug-11 0:26 
GeneralRe: How to change the Vista boot logo ? Pin
David Crow22-Aug-11 3:43
David Crow22-Aug-11 3:43 
GeneralRe: How to change the Vista boot logo ? Pin
Richard MacCutchan22-Aug-11 5:20
mveRichard MacCutchan22-Aug-11 5:20 
GeneralRe: How to change the Vista boot logo ? Pin
David Crow22-Aug-11 3:38
David Crow22-Aug-11 3:38 
GeneralRe: How to change the Vista boot logo ? Pin
enhzflep21-Aug-11 21:21
enhzflep21-Aug-11 21:21 
AnswerRe: How to change the Vista boot logo ? Pin
JohnNawrocki23-Aug-11 4:20
JohnNawrocki23-Aug-11 4:20 
GeneralRe: How to change the Vista boot logo ? Pin
JohnNawrocki23-Aug-11 4:21
JohnNawrocki23-Aug-11 4:21 
QuestionCreate a partition from free space of another partition Pin
A_Fa20-Aug-11 20:50
A_Fa20-Aug-11 20:50 
AnswerRe: Create a partition from free space of another partition Pin
MicroVirus21-Aug-11 8:35
MicroVirus21-Aug-11 8:35 
QuestionThread safe output.. Pin
TenFiftyTwo20-Aug-11 5:33
TenFiftyTwo20-Aug-11 5:33 
AnswerRe: Thread safe output.. Pin
Code-o-mat20-Aug-11 9:40
Code-o-mat20-Aug-11 9:40 
GeneralRe: Thread safe output.. Pin
TenFiftyTwo20-Aug-11 9:59
TenFiftyTwo20-Aug-11 9:59 

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.