KClient internal $DECLAREs
Bookmarking functions
KCMLCommandLine | Get the '-C' command line arguments from the client |
KCMLGetConnectionName | Get the name of the connection |
Clipboard functions
KCMLGetClipboardLength | Returns the length of the text (if any) in the Windows clipboard which would be returned by KCMLReadClipboard. |
KCMLReadClipboard | Reads CF_TEXT formatted data from the Windows clipboard. |
KCMLWriteClipboard | Writes a string to the Windows clipboard using the CF_TEXT format. |
Communication functions
KCMLClosePort | Closes a serial or parallel port on the client previously opened with KCMLOpenPort. |
KCMLDebugBackProcess | Send the request and magick cookie to debug the given process via Listening Unix Domain Socket. |
KCMLGetClientIP_TOS | Get the Type Of Service field used in the Internet Protocol (IP) headers of all outgoing packets from the client. |
KCMLOpenPort | Opens a serial or parallel port on the client |
KCMLReadPort | Reads data from a serial or parallel port on the client previoulsy opened with KCMLOpenPort. |
KCMLSetClientIP_TOS | Get the Type Of Service field used in the Internet Protocol (IP) headers of all outgoing packets from the client. |
KCMLWritePort | Writes data to a serial or prallel port on the client previoulsy opened with KCMLOpenPort. |
KCMLWritePortName | Open, write data to and close a serial or parallel port on the client. |
DDE functions
KCMLDDEServerInit | Registers the KCML program with Windows as a DDE server. |
KCMLDdeAddTopic | This function is used to register the client as a DDE server application. You can supply a topic (sTopic$) of your choice, and then wait for data requests to arrive from other DDE client programs. |
KCMLDdeClose | Closes a DDE conversation. |
KCMLDdeDestroy | This function is used to unregister Kclient as a DDE client/server application with the Windows DDE manager library. Once you have finished using DDE commands, you should make a call to this function. |
KCMLDdeExec | Execute the command cmd$ on the DDE conversation channel conv. |
KCMLDdeInit | Registers KClient as a DDE client application with the Windows DDE manager. |
KCMLDdeLoad | Checks to see if the server sModule$ is running, if not it launches the program sProgram$. |
KCMLDdeOpen | Attempts to open a DDE conversation with another Windows application, and if successful, returns a conversation handle. |
KCMLDdePoke | Insert a value sPoke$, at address sItem$ on the DDE conversation channel hConv |
KCMLDdeRequest | Transfers data from a DDE server to a KCML program. |
Editor magic functions
KCMLResetEditorMagicMenu | Resets the editor magic menu. |
KCMLSetEditorMagicMenuItemText | Sets the text for an item in the editor magic menu. |
Forms functions
KCMLAddNotifyIcon | Display a notification bubble to the user. |
KCMLDeferHiddenControls | Do not create controls hidden at form create time until they are shown |
KCMLDlgMessageBox | Display a message box. |
KCMLEnableBufferKeys | Enable BufferKeys. |
KCMLEnableDropdownPreFill | DBedit dropdowns will select the first list item added provided it matches Text$. |
KCMLEnableModalPopups | Disable menu TrackPopup method for test purposes. |
KCMLForceChromium | |
KCMLGetBufferKeys | Get BufferKeys buffer. |
KCMLGetChromiumShimVersion | |
KCMLGetChromiumVersion | |
GetLocalTime | GetLocalTime emulated by browser client |
KCMLGetWindow | Returns the window handle of the current topmost form or text window. This can be used to supply a window handle for use by other Win32 $DECLAREs. |
KCMLHideErrorDialogs | Hide fatal error message dialogs. For use in testing. |
KCMLHookIEOCX | Force IE OCX controls to use KCML HTML control instead. |
MessageBox | Display a message box. |
KCMLRemoveNotifyIcon | Remove a notification bubble. |
KCMLSetBrowserDebugPort | Set port for debugging embedded browser (Chromium & WebView) |
KCMLSetBufferKeyBreakKey | Set key code for BufferKeys break key. VK_TAB by default. |
KCMLSetBufferKeyTimeout | Set timeout after last keypress before sending buffered keys. |
KCMLSetBufferKeys | Set BufferKeys buffer. |
KCMLSetCenturyThreshold | Set threshold for assuming the century of two digit years. Values below this are assumed to be 21st century. Default is 32 so 31 will become 2031 and 32 will become 1932 |
KCMLSetChromiumAcceptLang | Change the Accept-Language header sent by the Chromium Shim. |
KCMLSetDollarConvert | Pass $CONVERT value to KClient after a form is open (changing $CONVERT after a form is open has no effect in the client) |
KCMLSetHTMLCtrlRelativeURL | Control whether HTML controls assume the URL in the Navigate method is relative or absolute. Only effective in browser client. |
KCMLSetTitleTemplate | Set a title template to be used on all subsequent top level forms. |
KCMLTouchScreenMode | Help forms work using a touch interface. |
Installer functions
KCMLGetInstalledProductInfo | Given a product code GUID detect if a product is installed and return information about it. |
KCMLGetMSIInfo | Get information about a MSI install file. |
KCMLGetMachineIdentifiers | Get machine id for licence. |
KClient cache functions
KCMLGetCacheDir | Returns the path to Kclient's cache directory |
KCMLGetCacheFileName | Return the path to a file in Kclient's cache using the name supplied to COPY OBJECT. |
KClient image manipulation functions
KCMLCaptureForm | Capture and return a PNG image of the current form. |
KCMLImageCapture | Captures a PNG image of the current form. |
KCMLImageLoad | Open the file on the client and load an image to hold in memory. |
KCMLImageResize | Resize an image previously created by 'KCMLImageCapture() or 'KCMLImageLoad(). |
KCMLImageReturn | Retrieve an image previously created by 'KCMLImageCapture() or 'KCMLImageLoad(). |
KCMLImageSave | Save on the client the current in-memory image. |
Text window functions
KCMLFnKeyDefault | Resets the function key button titles to their defaults and hides them. |
KCMLFnKeyTitle | Display programmable function key buttons below a text mode window. |
Miscellaneous functions
KCMLGetClientIP | Get the client IP address as reported by the client. |
KCMLGetServerIP | Get the IP address KClient used to connect to the server. |
KCMLGetServerIPport | Get the port KClient used to connect to the server. |