In general, and in most cases, leaving the user in charge of the keyboard focus is recommended. In cases where you have a fixed screen resolution/fixed situation, and want to move and select, using a "fake" mouse click can accomplish this goal. We have modified our mouse click utilities (available in the IMG Developer's Kit) to add some flexibility. You can download MSCLK.EXE here:
Download MSCLK.ZIP (MSCLK.EXE/MSCLK.INI) (17K) (MD5: B0FA955741C130EA2E4A5F13768070D4)
There are various notes in MSCLK.INI (or you can run "MSCLK.EXE HELP").
Here are implementation notes for integrating with Build-A-Board.
You will want to assign an EXEC command function to the appropriately labeled key in Build-A-Board, e.g. [CMD:EXEC=MSCLK.EXE]. If the file MSCLK.INI exists, this will generate the action used by MSCLK.EXE. The files MSCLK.EXE/MSCLK.INI MUST be in the same folder as MYTSOFT.EXE when running. If developing, you will need to place these files in the \Program Files\Build-A-Board\TARGET\[Your Project] and \Program Files\Build-A-Board\TARGET\[Your Project]\MSWIN folders.
|Category: Using||Type: Question/Answer||Product: Build-A-Board||Version: 2.10|