Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

winmouse.cpp File Reference

#include <odin.h>
#include <odinwrap.h>
#include <os2sel.h>
#include <os2win.h>
#include <misc.h>
#include "win32wbase.h"
#include <winuser32.h>
#include <winuser.h>
#include <win\mouse.h>
#include "winmouse.h"
#include "oslibmsg.h"
#include "pmwindow.h"
#include "oslibwin.h"
#include "dbglocal.h"

Include dependency graph for winmouse.cpp:

Include dependency graph

Go to the source code of this file.

Defines

#define DBG_LOCALLOG   DBG_winmouse

Functions

void WINAPI MOUSE_Enable (LPMOUSE_EVENT_PROC lpMouseEventProc)
void WINAPI KEYBOARD_Enable (WNDPROC handler)
BOOL DInputKeyBoardHandler (MSG *msg)
BOOL DInputMouseHandler (HWND hwnd, ULONG msg, ULONG x, ULONG y)
HWND WINAPI GetCapture (void)
HWND WINAPI SetCapture (HWND hwnd)
BOOL WINAPI ReleaseCapture (void)
UINT WINAPI GetDoubleClickTime (void)
BOOL WINAPI SetDoubleClickTime (UINT uInterval)
BOOL _System __SwapMouseButton (BOOL swapFlag)
BOOL _SwapMouseButton (BOOL swapFlag)
BOOL WINAPI SwapMouseButton (BOOL fSwap)
void WINAPI mouse_event (DWORD dwFlags, DWORD dx, DWORD dy, DWORD cButtons, DWORD dwExtraInfo)
DWORD WINAPI TrackMouseEvent (DWORD param1)
UINT WINAPI SendInput (UINT nInputs, LPINPUT pInputs, int chSize)
BOOL WINAPI DragDetect (HWND hwnd, POINT pt)

Variables

LPMOUSE_EVENT_PROC mouseHandler = NULL
WNDPROC keyboardHandler = NULL
HWND hwndWin32Capture = 0


Define Documentation

#define DBG_LOCALLOG   DBG_winmouse
 

Definition at line 30 of file winmouse.cpp.


Function Documentation

void WINAPI MOUSE_Enable LPMOUSE_EVENT_PROC    lpMouseEventProc
 

Definition at line 48 of file winmouse.cpp.

void WINAPI KEYBOARD_Enable WNDPROC    handler
 

Definition at line 58 of file winmouse.cpp.

BOOL DInputKeyBoardHandler MSG *    msg
 

Definition at line 64 of file winmouse.cpp.

BOOL DInputMouseHandler HWND    hwnd,
ULONG    msg,
ULONG    x,
ULONG    y
 

Definition at line 73 of file winmouse.cpp.

HWND WINAPI GetCapture void   
 

Definition at line 131 of file winmouse.cpp.

Referenced by BUTTON_MouseMove(), BUTTON_SetFocus(), CBDropDown(), KBD_translate_accelerator(), LISTBOX_HandleLButtonDownCombo(), LISTBOX_HandleLButtonUp(), LISTBOX_HandleMouseMove(), OS2ToWinMsgTranslate(), ReleaseCapture(), SCROLL_DrawScrollBar(), SetCapture(), and SetMenu().

HWND WINAPI SetCapture HWND    hwnd
 

Definition at line 141 of file winmouse.cpp.

Referenced by BUTTON_LButtonDown(), CBDropDown(), COMBO_LButtonDown(), COMBO_LButtonUp(), EDIT_WM_LButtonDown(), LISTBOX_HandleLButtonDown(), LISTBOX_HandleLButtonDownCombo(), MENU_DoNextMenu(), MENU_TrackMenu(), and SCROLL_HandleScrollEvent().

BOOL WINAPI ReleaseCapture void   
 

Definition at line 177 of file winmouse.cpp.

Referenced by BUTTON_LButtonUp(), BUTTON_SysKeyUp(), COMBO_LButtonDown(), COMBO_MouseMove(), EDIT_WM_LButtonUp(), LISTBOX_HandleLButtonDownCombo(), LISTBOX_HandleLButtonUp(), MENU_DoNextMenu(), MENU_TrackMenu(), SCROLL_HandleScrollEvent(), SetCapture(), and SetMenu().

UINT WINAPI GetDoubleClickTime void   
 

Definition at line 196 of file winmouse.cpp.

Referenced by OS2ToWinMsgTranslate().

BOOL WINAPI SetDoubleClickTime UINT    uInterval
 

Definition at line 207 of file winmouse.cpp.

BOOL _System __SwapMouseButton BOOL    swapFlag
 

Referenced by _SwapMouseButton().

BOOL _SwapMouseButton BOOL    swapFlag [inline]
 

Definition at line 223 of file winmouse.cpp.

Referenced by SwapMouseButton().

BOOL WINAPI SwapMouseButton BOOL    fSwap
 

Definition at line 236 of file winmouse.cpp.

void WINAPI mouse_event DWORD    dwFlags,
DWORD    dx,
DWORD    dy,
DWORD    cButtons,
DWORD    dwExtraInfo
 

Definition at line 262 of file winmouse.cpp.

DWORD WINAPI TrackMouseEvent DWORD    param1
 

Definition at line 280 of file winmouse.cpp.

UINT WINAPI SendInput UINT    nInputs,
LPINPUT    pInputs,
int    chSize
 

Definition at line 306 of file winmouse.cpp.

Referenced by keybd_event(), and mouse_event().

BOOL WINAPI DragDetect HWND    hwnd,
POINT    pt
 

Definition at line 431 of file winmouse.cpp.

Referenced by LISTBOX_HandleLButtonDown().


Variable Documentation

LPMOUSE_EVENT_PROC mouseHandler = NULL
 

Definition at line 41 of file winmouse.cpp.

WNDPROC keyboardHandler = NULL
 

Definition at line 42 of file winmouse.cpp.

HWND hwndWin32Capture = 0 [static]
 

Definition at line 129 of file winmouse.cpp.


Generated on Wed Jan 23 23:21:55 2002 for ODIN-user32 by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001