4D plugin to help 4D run as kiosk software by inhibiting certain user actions.
carbon | cocoa | win32 | win64 |
---|---|---|---|
![]() |
![]() |
![]() |
![]() |
mode:=KIOSK Get mode
KIOSK SET MODE (mode)
Parameter | Type | Description |
---|---|---|
mode | INT32 | KIOSK_ON (1 ) or KIOSK_OFF (0 ) |
This plugin allow 4D to run as a pseudo kiosk software.
Note: The objective here is to inhibit certain user operations that might terminate the application or move it to the background. It is your responsibility to resize and locate your windows should you wish to completely hide the Desktop (e.g. run full screen).
On Mac:
SetSystemUIMode or NSApplicationPresentationOptions is used to
- Hide all system UI elements (including the menu bar and Dock).
- Disable the
cmd
+tab
andcmd
+shift
+tab
key sequences to switch active processes. - Disable the
cmd
+option
+escape
key sequence and the Force Quit menu item. - Disable the Power key (if present) and the Restart, Shut Down, and Log Out menu items in the Apple menu.
- Disable the Hide menu item in the Application menu.
On Windows:
- Key combination to flip 3D (
Windows
+Tab
,Windows
+Shift
+Tab
) is disabled. - Key combination for flip (
Alt
+Tab
,Alt
+Shift
+Tab
) is disabled. - Key combination to switch application (
Alt
+Esc
,Alt
+Shift
+Esc
) is disabled. - Key combination to display Task Manager (
Ctrl
+Shift
+Esc
) is disabled. - Key combination to quit application (
Alt
+F4
) is disabled. - Start Menu key combination (
Windows
,Ctrl
+Esc
) is disabled. - The Task Tray is hidden.
- The MDI window title bar is hidden.
Note: Hot Keys (such as Ctrl
+Alt
+Delete
) are NOT disabled.