|IMG Developer's Kit: Developer's Kit Guide and Technical Documentation; Version 1.90; User's Guide
|Chapter 8. Developer Tools and Examples
TYPE: Utility / Stand-alone Executable with Source
LANGUAGE: C++ / Windows API
IDE: Microsoft Visual C++ 6
MTSDock interface is primarily for My-T-Soft 2.20 (Build-A-Board Run-Time MSWIN32) - not tested with other builds. When run with the example Keyboard Files (KBFs) and the MSWIN32 target, there is a side panel (right-side) and bottom full keyboard that can be toggled. By using this with a maximized application (i.e. a browser based interface/maximized) a clean and workable entire interface can be handled with specialized keystrokes and access to a full keyboard.
The MTSDock source code was modified from the MTSAppBar example (parent folder)
The MTSDock executable creates a side or bottom based "AppBar" or a special window that changes the desktop window size. There are some sample 2.20 KBF files that can show off an 800x600 resolution, and respond to portrait or landscape changes (WM_DISPLAYCHANGE message/TypeFile.exe)
This has a timer running (internal ID: IDT_MONITOR) that watches the My-T-Soft keyboard window, and reacts if the window is sized or moved - this resets the appbar to go to the side or bottom & size to the current keyboard size.
The code was modified from Microsoft sample code that created a more customizable appbar, similar to the Windows taskbar - so certain modifications were done to limit what could be done with this implementation of the AppBar.
See README.TXT and MAIN.C for specifics and changes from MTSAppBar.
Expects My-T-Soft 2.20 to be running before it is launched (otherwise messagebox shown). Option to add a "WAIT" command line option to run in a "Sleep" (pause) loop to wait for My-T-Soft to open & paint (in case both are started at the same time (i.e. Windows StartUp Group). Run in a shortcut with "...\MTSDock.exe" WAIT
The code was built & tested in Microsoft Visual Studio 6 with Windows Vista.
AppBar example Copyright Microsoft Corporation.
Developers Kit Version 1.79 - 8/14/2012
Copyright © 2007-2012 by Innovation Management Group, Inc.
All Rights Reserved.
As seen in ...