|
-
May 4th, 1999, 01:53 AM
#1
Replay of a session in Windows Application
Hi,
I have a general MFC application containing several menus, views, dialog boxes, wizards etc. I have a requirement where in I have to capture the events right from the beginning of a session capturing the menus invoked, dialogs invoked, buttons clicked, selections made, 3D operations performed etc (which will be recorded in a file called session file) till the application is aborted or exited. The user can open this file during the next session resulting in the playback of the previous session.How to implement the above requirement in a Event based environment like Windows.
-
May 4th, 1999, 03:36 AM
#2
Re: Replay of a session in Windows Application
You need to set a hook function to do this.
You'll find most of the info you need if you check out the following:
SetWindowsHookEx() using WH_JOURNALRECORD and WH_JOURNALPLAYBACK hooks.
JournalRecordProc(), JournalPlaybackProc().
Regards,
Paul McKenzie
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|