Click here to Skip to main content
15,909,051 members
Home / Discussions / Article Writing
   

Article Writing

 
QuestionHow to get letter under mouse cursor in other programs ? Pin
12-Jul-01 17:47
suss12-Jul-01 17:47 
Questionhas anybody programmed some MAPI? Pin
Erik Yuzwa12-Jul-01 11:16
Erik Yuzwa12-Jul-01 11:16 
Questionhow to call outp (from conio.h) Pin
Alper Saracoglu12-Jul-01 9:23
professionalAlper Saracoglu12-Jul-01 9:23 
AnswerRe: how to call outp (from conio.h) Pin
Nikhil Dabas15-Jul-01 8:13
Nikhil Dabas15-Jul-01 8:13 
AnswerRe: how to call outp (from conio.h) Pin
Albert van Peppen16-Aug-01 23:27
professionalAlbert van Peppen16-Aug-01 23:27 
AnswerRe: how to call outp (from conio.h) Pin
Alper Saracoglu17-Aug-01 11:17
professionalAlper Saracoglu17-Aug-01 11:17 
GeneralWindows remote control ? Need help.. Pin
Sandro Stella12-Jul-01 7:16
Sandro Stella12-Jul-01 7:16 
GeneralRe: Windows remote control ? Need help.. Pin
TomKat14-Mar-03 16:35
TomKat14-Mar-03 16:35 
you are kidding me ! check this out ! thank me later :

i made a remote control programme about subseven fans said it`s way better !

mouse_event
The mouse_event function synthesizes mouse motion and button clicks.

Windows NT: This function has been superseded. Use SendInput instead.

VOID mouse_event(
DWORD dwFlags, // flags specifying various motion/click variants
DWORD dx, // horizontal mouse position or position change
DWORD dy, // vertical mouse position or position change
DWORD dwData, // amount of wheel movement
DWORD dwExtraInfo
// 32 bits of application-defined information
);

Parameters
dwFlags
A set of flag bits that specify various aspects of mouse motion and button clicking. The bits in this parameter can be any reasonable combination of the following values: Value Meaning
MOUSEEVENTF_ABSOLUTE Specifies that the dx and dy parameters contain normalized absolute coordinates. If not set, those parameters contain relative data: the change in position since the last reported position. This flag can be set, or not set, regardless of what kind of mouse or mouse-like device, if any, is connected to the system. For further information about relative mouse motion, see the following Remarks section.
MOUSEEVENTF_MOVE Specifies that movement occurred.
MOUSEEVENTF_LEFTDOWN Specifies that the left button is down.
MOUSEEVENTF_LEFTUP Specifies that the left button is up.
MOUSEEVENTF_RIGHTDOWN Specifies that the right button is down.
MOUSEEVENTF_RIGHTUP Specifies that the right button is up.
MOUSEEVENTF_MIDDLEDOWN Specifies that the middle button is down.
MOUSEEVENTF_MIDDLEUP Specifies that the middle button is up.
MOUSEEVENTF_WHEEL Windows NT: Specifies that the wheel has been moved, if the mouse has a wheel. The amount of movement is given in dwData


dx
Specifies the mouse's absolute position along the x-axis or its amount of motion since the last mouse event was generated, depending on the setting of MOUSEEVENTF_ABSOLUTE. Absolute data is given as the mouse's actual x-coordinate; relative data is given as the number of mickeys moved. A mickey is the amount that a mouse has to move for it to report that it has moved.
dy
Specifies the mouse's absolute position along the y-axis or its amount of motion since the last mouse event was generated, depending on the setting of MOUSEEVENTF_ABSOLUTE. Absolute data is given as the mouse's actual y-coordinate; relative data is given as the number of mickeys moved.
dwData
If dwFlags is MOUSEEVENTF_WHEEL, then dwData specifies the amount of wheel movement. 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. One wheel click is defined as WHEEL_DELTA, which is 120.
If dwFlags is not MOUSEEVENTF_WHEEL, then dwData should be zero.

dwExtraInfo
Specifies an additional 32-bit value associated with the mouse event. An application calls GetMessageExtraInfo to obtain this extra information.


I am the mighty keeper of the book on knowledge . Contact me to get your copy .
General*** help *** simple Pin
12-Jul-01 6:22
suss12-Jul-01 6:22 
GeneralRe: *** help *** simple Pin
Steve T13-Jul-01 11:23
Steve T13-Jul-01 11:23 
QuestionCode flexibility - possible? Pin
11-Jul-01 19:54
suss11-Jul-01 19:54 
QuestionMHTML component ? Pin
11-Jul-01 10:30
suss11-Jul-01 10:30 
QuestionHow to capture the mouse on the Topmost window? Pin
inforix9-Jul-01 8:06
inforix9-Jul-01 8:06 
AnswerRe: How to capture the mouse on the Topmost window? Pin
TomKat14-Mar-03 16:41
TomKat14-Mar-03 16:41 
GeneralResource Monitor Pin
9-Jul-01 2:56
suss9-Jul-01 2:56 
GeneralRe: Resource Monitor Pin
Tomasz Sowinski9-Jul-01 3:03
Tomasz Sowinski9-Jul-01 3:03 
GeneralRe: Resource Monitor Pin
10-Jul-01 9:06
suss10-Jul-01 9:06 
Generalsource code on buffer manager and page Pin
8-Jul-01 12:00
suss8-Jul-01 12:00 
QuestionIs file opened by another application? Pin
jantow8-Jul-01 1:43
jantow8-Jul-01 1:43 
AnswerRe: Is file opened by another application? Pin
8-Jul-01 1:53
suss8-Jul-01 1:53 
GeneralRe: Is file opened by another application? Pin
jantow8-Jul-01 8:12
jantow8-Jul-01 8:12 
GeneralRe: Is file opened by another application? Pin
jantow10-Jul-01 10:03
jantow10-Jul-01 10:03 
GeneralRe: Is file opened by another application? Pin
Erik Yuzwa12-Jul-01 11:21
Erik Yuzwa12-Jul-01 11:21 
GeneralMaunder combo grid Pin
abir6-Jul-01 18:46
abir6-Jul-01 18:46 
Generalprocessor status Pin
6-Jul-01 9:30
suss6-Jul-01 9:30 

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.