Software Support > DOS/WinCab

Any "Action" to quit program?

(1/1)

dougman:
This is for my Media center/touchscreen/jukebox.
the system is PURELY touchscreen. No keyboard, no mouse, no physical buttons.
When running the wincab, I cannot seem to figure out how to quit the program via the screen. There doesn't seem to be an "exit" action for the skin configuration... (or is there?)

anyone have a solution to this?

Chris:
There isn't one in the default skin, you'll have to add one.
Pick a spot on the screen for the button, add a graphic if you want it visible, and assign the action to BTN_SHUTDOWN.

So it would look something like this:

--- Code: ---[Icon21]
x=0
y=600
w=30
h=30
OffImage=exitbtn.jpg
Clickable=True
Action=BTN_SHUTDOWN

--- End code ---

Note that these numbers are all made up and exitbtn.jpg doesn't exist; you'll need to find the appropriate coordinates (based on the background image) and create the button image if you want one.

Navigation

[0] Message Index

Go to full version