Functions | |
int | mdlFuncKey_attachMenu (WCharP fullFileSpec, WCharCP filename) |
Attaches a function key menu. More... | |
void | mdlFuncKey_currentMenu (WCharP filename) |
Gets the current function key menu file name. More... | |
int | mdlFuncKey_getKeyByIndex (WCharP keyName, WCharCP *string, int *virtualKey, int index) |
Gets the key name, key definition and virtual key code for a function key definition. More... | |
int | mdlFuncKey_getKeyByVirtualKey (WCharP keyName, WCharCP *string, int *index, int virtualKey) |
Gets the key name, key definition and index of a function key, given the virtual key. More... | |
void | mdlFuncKey_getKeyName (WCharP funcKeyName, int virtualKey) |
Gets the name of the function key given virtual key code. More... | |
int | mdlFuncKey_numKeys () |
Gets the number of function keys available. More... | |
int | mdlFuncKey_saveMenu (WCharP fullFileSpec, WCharCP filename) |
Saves the current function key menu settings to the specified file. More... | |
int | mdlFuncKey_define (int virtualKey, WCharCP definition) |
Adds a definition to the internal list of function key definitions. More... | |
int | mdlFuncKey_remove (int virtualKey) |
Removes the definition for the key virtualKey from the internal list of function key definitions. More... | |
Attaches a function key menu.
The menu name is passed in filename. If this file specification is not complete, the environment variables MS_FKEYMNU and MS_DATA complete the specification. The complete file specification is returned in fullFileSpec.
[out] | fullFileSpec | full menu filename |
[in] | filename | file name to attach |
void mdlFuncKey_currentMenu | ( | WCharP | filename | ) |
Gets the current function key menu file name.
[out] | filename | full menu name |
int mdlFuncKey_define | ( | int | virtualKey, |
WCharCP | definition | ||
) |
Adds a definition to the internal list of function key definitions.
If a definition already exists for the virtual key virtualKey, the definition passed by definition overwrites it.
[in] | virtualKey | virtual key |
[in] | definition | definition for key |
Gets the key name, key definition and virtual key code for a function key definition.
[out] | keyName | key name |
[out] | string | key definition |
[out] | virtualKey | virtual key |
[in] | index | position of the definition in the internal list of function key definitions. |
Gets the key name, key definition and index of a function key, given the virtual key.
[out] | keyName | key name |
[out] | string | key definition |
[out] | index | index in the linked list of function key definitions |
[in] | virtualKey | specifies the function key's virtual key code. |
void mdlFuncKey_getKeyName | ( | WCharP | funcKeyName, |
int | virtualKey | ||
) |
Gets the name of the function key given virtual key code.
[out] | funcKeyName | key name. |
[in] | virtualKey | virtual key |
int mdlFuncKey_numKeys | ( | ) |
Gets the number of function keys available.
int mdlFuncKey_remove | ( | int | virtualKey | ) |
Removes the definition for the key virtualKey from the internal list of function key definitions.
[in] | virtualKey | virtual key |
Saves the current function key menu settings to the specified file.
[out] | fullFileSpec | full menu file specification and name |
[in] | filename | file to save function key settings to |