Click here to Skip to main content
15,916,945 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Where's iostream? Pin
Christian Graus17-Jan-05 10:36
protectorChristian Graus17-Jan-05 10:36 
AnswerRe: Where's iostream? Pin
Michael Dunn17-Jan-05 14:43
sitebuilderMichael Dunn17-Jan-05 14:43 
AnswerRe: Where's iostream? Pin
thompsons17-Jan-05 18:01
thompsons17-Jan-05 18:01 
GeneralRe: Where's iostream? Pin
Aamir Butt17-Jan-05 18:48
Aamir Butt17-Jan-05 18:48 
GeneralUsing filename from VC6 DirectX sample to C project Pin
rocman17-Jan-05 6:57
rocman17-Jan-05 6:57 
Generalcorrectly play WM_MOUSEWHEEL Pin
Member 166110217-Jan-05 6:35
Member 166110217-Jan-05 6:35 
GeneralRe: correctly play WM_MOUSEWHEEL Pin
greba17-Jan-05 7:29
greba17-Jan-05 7:29 
GeneralRe: correctly play WM_MOUSEWHEEL Pin
Member 166110217-Jan-05 9:29
Member 166110217-Jan-05 9:29 
Thanks for reply

But I mean to playback with JournalPlaybackProc :

Syntax

LRESULT CALLBACK JournalPlaybackProc( int code,
WPARAM wParam,
LPARAM lParam
);
Parameters

code
[in] Specifies a code the hook procedure uses to determine how to process the message. If code is less than zero, the hook procedure must pass the message to the CallNextHookEx ..........

wParam
This parameter is not used !!!!!!!!!!!!!!!!!!!
.

lParam
[in] Pointer to an EVENTMSG structure that represents a message being processed by the hook procedure.
-----------------------------------------------------------------------
The source of data to fill EVENTMSG structure is WM_MOUSEWHEEL message what returns

WPARAM wParam
LPARAM lParam;

Parameters

wParam
The high-order word indicates the distance the wheel is rotated, expressed in multiples or divisions of WHEEL_DELTA, which is 120. A positive value indicates that the wheel was rotated forward, away from the user; a negative value indicates that the wheel was rotated backward, toward the user.

The low-order word indicates whether various virtual keys are down. This parameter can be one or more of the following values.
MK_CONTROL
The CTRL key is down.
MK_LBUTTON
The left mouse button is down.
MK_MBUTTON
The middle mouse button is down.
MK_RBUTTON
The right mouse button is down.
MK_SHIFT
The SHIFT key is down.
MK_XBUTTON1
Windows 2000/XP: The first X button is down.
MK_XBUTTON2
Windows 2000/XP: The second X button is down.

lParam
The low-order word specifies the x-coordinate of the pointer, relative to the upper-left corner of the screen.

The high-order word specifies the y-coordinate of the pointer, relative to the upper-left corner of the screen.
----------------------------------------------------------------------------
As it turns out there is no place in EVENTMSG for data stored in WM_MOUSEWHEEL message wParam.


typedef struct
{
UINT message;
UINT paramL; // place for x-coordinate
UINT paramH; // place for y-coordinate
DWORD time;
HWND hwnd;} EVENTMSG, *PEVENTMSG;
GeneralRe: correctly play WM_MOUSEWHEEL Pin
greba17-Jan-05 9:56
greba17-Jan-05 9:56 
GeneralRe: correctly play WM_MOUSEWHEEL Pin
Member 166110218-Jan-05 0:05
Member 166110218-Jan-05 0:05 
GeneralRe: correctly play WM_MOUSEWHEEL Pin
Member 166110225-Jan-05 4:44
Member 166110225-Jan-05 4:44 
QuestionDesktopbackround handle? Pin
Nico Grüner17-Jan-05 6:21
sussNico Grüner17-Jan-05 6:21 
AnswerRe: Desktopbackround handle? Pin
Martin Koorts17-Jan-05 6:34
Martin Koorts17-Jan-05 6:34 
GeneralRe: Desktopbackround handle? Pin
Nico Grüner17-Jan-05 19:19
sussNico Grüner17-Jan-05 19:19 
GeneralRe: Desktopbackround handle? Pin
Martin Koorts17-Jan-05 23:07
Martin Koorts17-Jan-05 23:07 
GeneralATL service crashes when being stopped by system Pin
Cruelty17-Jan-05 5:42
Cruelty17-Jan-05 5:42 
GeneralPrinting Output Pin
BRIMID17-Jan-05 5:29
BRIMID17-Jan-05 5:29 
GeneralRe: Printing Output Pin
Martin Koorts17-Jan-05 5:40
Martin Koorts17-Jan-05 5:40 
GeneralRe: Printing Output Pin
BRIMID17-Jan-05 6:02
BRIMID17-Jan-05 6:02 
GeneralRe: Printing Output Pin
David Crow17-Jan-05 6:34
David Crow17-Jan-05 6:34 
GeneralDigital Camera API Pin
Franz Klein17-Jan-05 5:01
Franz Klein17-Jan-05 5:01 
GeneralRe: Digital Camera API Pin
Mike Dimmick17-Jan-05 6:35
Mike Dimmick17-Jan-05 6:35 
GeneralBreak point Pin
Surya Prakash Adari17-Jan-05 4:11
Surya Prakash Adari17-Jan-05 4:11 
GeneralRe: Break point Pin
Antony M Kancidrowski17-Jan-05 6:40
Antony M Kancidrowski17-Jan-05 6:40 
GeneralVisual C++ 2003 and Profiler Pin
Defenestration17-Jan-05 4:07
Defenestration17-Jan-05 4:07 

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.