KClient internal $DECLAREs

Bookmarking functions

KCMLCommandLineGet the '-C' command line arguments from the client
KCMLGetConnectionNameGet the name of the connection

Clipboard functions

KCMLGetClipboardLengthReturns the length of the text (if any) in the Windows clipboard which would be returned by KCMLReadClipboard.
KCMLReadClipboardReads CF_TEXT formatted data from the Windows clipboard.
KCMLWriteClipboardWrites a string to the Windows clipboard using the CF_TEXT format.

Communication functions

KCMLClosePortCloses a serial or parallel port on the client previously opened with KCMLOpenPort.
KCMLDebugBackProcessSend the request and magick cookie to debug the given process via Listening Unix Domain Socket.
KCMLGetClientIP_TOSGet the Type Of Service field used in the Internet Protocol (IP) headers of all outgoing packets from the client.
KCMLOpenPortOpens a serial or parallel port on the client
KCMLReadPortReads data from a serial or parallel port on the client previoulsy opened with KCMLOpenPort.
KCMLSetClientIP_TOSGet the Type Of Service field used in the Internet Protocol (IP) headers of all outgoing packets from the client.
KCMLWritePortWrites data to a serial or prallel port on the client previoulsy opened with KCMLOpenPort.
KCMLWritePortNameOpen, 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

KCMLAddNotifyIconDisplay a notification bubble to the user.
KCMLDeferHiddenControls Do not create controls hidden at form create time until they are shown
KCMLDlgMessageBoxDisplay 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
GetLocalTimeGetLocalTime emulated by browser client
KCMLGetWindowReturns 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.
MessageBoxDisplay a message box.
KCMLRemoveNotifyIconRemove 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)
KCMLSetHTMLCtrlRelativeURLControl whether HTML controls assume the URL in the Navigate method is relative or absolute. Only effective in browser client.
KCMLSetTitleTemplateSet 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
KCMLGetCacheFileNameReturn the path to a file in Kclient's cache using the name supplied to COPY OBJECT.

KClient image manipulation functions

KCMLCaptureFormCapture and return a PNG image of the current form.
KCMLImageCaptureCaptures a PNG image of the current form.
KCMLImageLoadOpen the file on the client and load an image to hold in memory.
KCMLImageResizeResize an image previously created by 'KCMLImageCapture() or 'KCMLImageLoad().
KCMLImageReturnRetrieve an image previously created by 'KCMLImageCapture() or 'KCMLImageLoad().
KCMLImageSaveSave on the client the current in-memory image.

Text window functions

KCMLFnKeyDefaultResets the function key button titles to their defaults and hides them.
KCMLFnKeyTitleDisplay programmable function key buttons below a text mode window.

Miscellaneous functions

KCMLGetClientIPGet the client IP address as reported by the client.
KCMLGetServerIPGet the IP address KClient used to connect to the server.
KCMLGetServerIPportGet the port KClient used to connect to the server.