-
-
Notifications
You must be signed in to change notification settings - Fork 8
Messages UI Elements
Dimitri edited this page Feb 11, 2023
·
2 revisions
UI elements and the windows messages that control them
These are Display Locks custom #define
messages. The offsets refer to an offset from the last reserved windows message WM_USER
MESSAGE | INT OFFSET | DESCRIPTION |
---|---|---|
NOTIFY_MSG |
+0x1 |
Used for handling the system tray |
UI ELEMENT | MESSAGE | DESCRIPTION |
---|---|---|
System Tray Menu Start | ID_CONTEXTMENU_START |
The System Tray Menu Start |
System Tray Menu Stop | ID_CONTEXTMENU_STOP |
The System Tray Menu Stop |
System Tray Menu Show Window | ID_CONTEXTMENU_SHOWWINDOW |
Shows the main window |
System Tray Menu Exit | ID_CONTEXTMENU_EXIT |
Exits the program |
Window Menu About | IDM_ABOUT |
Shows the about dialog |
Window Menu Exit | IDM_EXIT |
Exits the program |
UI ELEMENT | MESSAGE | DESCRIPTION |
---|---|---|
Tab Control | TCN_SELCHANGE | When the tab control changes selection |
Main Window Dialog | WINDOW_VIEW | Shows the main window dialog when the tab control is active |
Settings View Dialog | SETTINGS_VIEW | Shows the settings window dialog when the tab control is active |
Application View Dialog | APPLICATIONS_VIEW | Show the Application window dialog when the tab control is active |
UI ELEMENT | MESSAGE | DESCRIPTION |
---|---|---|
Combobox | IDC_COMBO_WINDOW | Notifies when a user interacts with the combobox |
Combobox | IDC_COMBO_WINDOW | Notifies that the combobox dropdown as been activated |
Start Button | IDC_BUTTON_WINDOWS_START | Starts the locking of the cursor |
Stop Button | IDC_BUTTON_WINDOWS_STOP | Stops the locking of the cursor |
UI ELEMENT | MESSAGE | DESCRIPTION |
---|---|---|
Borderless setting | IDC_CHECK_SETTINGS_BORDERLESS | Checkbox for the borderless setting |
Foreground setting | IDC_CHECK_SETTINGS_BORDERLESS | Checkbox for the foreground setting |
Fullscreen setting | IDC_CHECK_SETTINGS_FULLSCREEN | Checkbox for the fullscreen setting |
Minimize setting | IDC_CHECK_SETTINGS_MINIMIZE | Checkbox for the minimize setting |
Save Button | IDC_BUTTON_SETTINGS_SAVE | Button for saving the config |
Cancel Button | IDC_BUTTON_SETTINGS_CANCEL | Button for cancelling all changes to the settings |
UI ELEMENT | MESSAGE | DESCRIPTION |
---|---|---|
List View | IDC_LIST_PROGRAMS | List Box that contains allowed applications |
Add Button | IDC_BTN_APP_ADD | Button that opens a file dialog to point to valid executable |
Remove Button | IDC_BTN_APP_RMV | Button to remove highlighted executable from the list box. Disabled when no list item is selected |
Settings Button | IDC_BTN_APP_SETTINGS | Button to modify application settings |
UI ELEMENT | MESSAGE | DESCRIPTION |
---|---|---|
Enabled Checkbox | IDC_CHK_APP_ENABLED | Checkbox to set application whitelist to the enabled state. |
Borderless Checkbox | IDC_CHK_APP_BORDERLESS | Checkbox to enable application whitelist borderless |
Fullscreen Checkbox | IDC_CHK_APP_FULLSCREEN | Checkbox to enable application whitelist fullscreen |
OK Button | IDC_BTN_APP_SETTINGS_OK | Button to save settings |
Cancel Button | IDC_BTN_APP_SETTINGS_CANCEL | Button to cancel saving settings |