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

FilterFunctions.h File Reference


Functions

bool triggerEvent (const WPARAM& wParam, const bool& isExcel)
 keystrokes that need to trigger output of the numbers or signal the engine's character buffer to be reset. More...

bool isPasteMsg (const WPARAM& wParam)
 returns true for a paste sequence.

bool compareTimes (const UINT& thisTime, const UINT& lastTime)
 returns true if thisTime occurred more that 10 time units from the lastTime used to distinguish a group of like messages from other messages.

const WPARAM toLowercase (WPARAM wp)
 converts a Keydown message to its ASCII lowercase equivalent.

const WCHAR keydownConvertor (const bool& useLowercase, bool& bufferableKeystroke, WPARAM wParam, const bool& isExcel)
 converts keydown message to character messages. More...

bool parentWindowFinder (HWND hChild, const LPCTSTR cwin)
 determines whether the window with the current focus is a child of the main app(cwin).

void emulateKeyboard (const WPARAM& wp)
 simulates a keystroke going down & back up.

void emulateMouseEvent (const WPARAM& wp, const LPARAM& lp)
 simulates a mouse event.

bool arrowKey (const WPARAM wp)
 returns true if the Keystrokes is one of the arrow keys.

void emulateArrowShift (const WPARAM wp)
 emualtes the pressing of the shift key in conjunction with an arrow key.

bool isWinNTandWord (HWND hwnd)
 return true if the user is in WinNT and editing with Word.

bool isANum (const int& var)
 returns true if the input is numeric.

void shiftUp ()
 simulates the shift-key going back up necessary b/c the shift being down interfers with the ctrl in the paste sequence.


Function Documentation

bool arrowKey ( const WPARAM wp )
 

bool compareTimes ( const UINT & thisTime,
const UINT & lastTime )
 

void emulateArrowShift ( const WPARAM wp )
 

void emulateKeyboard ( const WPARAM & wp )
 

void emulateMouseEvent ( const WPARAM & wp,
const LPARAM & lp )
 

bool isANum ( const int & var )
 

bool isPasteMsg ( const WPARAM & wParam )
 

bool isWinNTandWord ( HWND hwnd )
 

const WCHAR keydownConvertor ( const bool & useLowercase,
bool & bufferableKeystroke,
WPARAM wParam,
const bool & isExcel )
 

bufferable keystrokes are those which should be run through the engine and thus placed in the clipboard to be pasted in the document trigger events, function keys, and other non-character strokes do not need to be pasted into a doc; they can pass through the Keystroke filter function as normal

bool parentWindowFinder ( HWND hChild,
const LPCTSTR cwin )
 

void shiftUp ( )
 

const WPARAM toLowercase ( WPARAM wp )
 

bool triggerEvent ( const WPARAM & wParam,
const bool & isExcel )
 

These are basically support functions for the UniGeezLibdll.cpp


Generated at Tue Jan 30 17:03:28 2001 for UniGeez by doxygen1.2.1 written by Dimitri van Heesch, © 1997-2000