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

msgfilter.h File Reference


Functions

void handleExcelMode (AmharicEngine& myEngine, const bool& isExcel, bool& shiftLeftForExcel)
 set ExcelMode if we are in Excel. More...

void mouseClickForTriggerEvent (const WPARAM& msg, bool& isMouseClick, AmharicEngine& myEngine)
 we want to know when the mouse is clicked so that we can use it as a trigger event.

void handleWM_CHAR (WPARAM& msg, const bool& bufferableKeystroke, const WPARAM& wparam)
 throw out character messages; however, some apps need the char equivalent of ctrl-v(0x16) to enact a paste message and only perform when we are not in ROMAN mode.

void handleWM_KEYUP (const MSG* msg, bool& overrideStateRM, const WPARAM& timeShiftDown, bool& useLowercase, bool& shiftState, MODE& Mode)
 so that events such as CTRL-A, etc. will work, we need the overrideStateRM to temporarily place us in ROMAN mode, and once this is true and the CTRL key is released, we can return to GEEZ mode.

void switchToRM (MODE& Mode, const WPARAM& previousKeydown, const WPARAM& wparam, bool& overrideStateRM)
 switch to Roman mode for keyboard events that involve the CTRL-key.

void shiftModes (bool& shiftState, WPARAM& timeShiftDown, bool& useLowercase, bool& capsToggled, const WPARAM& time)
 handle everything that deals with the shift-key & caps lock.

void handleBackspacing (AmharicEngine& myEngine, const WPARAM& previousKeydown, const WPARAM& wparam, bool& allowBackSpace, const bool& ExcelMode, NTandWord& NTandWord)
 handle backspacing in general.

void backspacingForExcel (WCHAR& ch, WPARAM& msg, bool& bufferableKeystroke, AmharicEngine& myEngine)
 handles backspacing specifically for Excel.

void handleNumbers (WCHAR& ch, AmharicEngine& myEngine, const WPARAM& wparam, const bool& isMouseClick, bool& bufferOvrdNum, const bool& shiftState, const bool& bufferableKeystroke, NTandWord& NTandWord)
 handle tasks related to the numbers.

void handleAsciiConversion (const WPARAM& wparam, AmharicEngine& myEngine, NTandWord& NTandWord, bool& shiftLeftForExcel, const bool& isMouseClick, Clipboard& clipboard, const WCHAR& ch, bool& allowBackSpace, const HWND& hwndUniGeez, const bool& bufferOvrdNum)
 Converting ASCII to Ge'ez.


Function Documentation

void backspacingForExcel ( WCHAR & ch,
WPARAM & msg,
bool & bufferableKeystroke,
AmharicEngine & myEngine )
 

void handleAsciiConversion ( const WPARAM & wparam,
AmharicEngine & myEngine,
NTandWord & NTandWord,
bool & shiftLeftForExcel,
const bool & isMouseClick,
Clipboard & clipboard,
const WCHAR & ch,
bool & allowBackSpace,
const HWND & hwndUniGeez,
const bool & bufferOvrdNum )
 

void handleBackspacing ( AmharicEngine & myEngine,
const WPARAM & previousKeydown,
const WPARAM & wparam,
bool & allowBackSpace,
const bool & ExcelMode,
NTandWord & NTandWord )
 

void handleExcelMode ( AmharicEngine & myEngine,
const bool & isExcel,
bool & shiftLeftForExcel )
 

These are support functions for LRESULT CALLBACK MsgFilterFunc (INT nCode, WPARAM wParam, LPARAM lParam)

void handleNumbers ( WCHAR & ch,
AmharicEngine & myEngine,
const WPARAM & wparam,
const bool & isMouseClick,
bool & bufferOvrdNum,
const bool & shiftState,
const bool & bufferableKeystroke,
NTandWord & NTandWord )
 

void handleWM_CHAR ( WPARAM & msg,
const bool & bufferableKeystroke,
const WPARAM & wparam )
 

void handleWM_KEYUP ( const MSG * msg,
bool & overrideStateRM,
const WPARAM & timeShiftDown,
bool & useLowercase,
bool & shiftState,
MODE & Mode )
 

void mouseClickForTriggerEvent ( const WPARAM & msg,
bool & isMouseClick,
AmharicEngine & myEngine )
 

void shiftModes ( bool & shiftState,
WPARAM & timeShiftDown,
bool & useLowercase,
bool & capsToggled,
const WPARAM & time )
 

void switchToRM ( MODE & Mode,
const WPARAM & previousKeydown,
const WPARAM & wparam,
bool & overrideStateRM )
 


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