Developers

From DigiTV eHub Help

Jump to: navigation, search

Contents


Although every effort has been made to ensure that this information is correct, as with all information suplpied on this Wiki it is supplied WITHOUT WARRANTY. No guarantee of fitness for use or merchantability is implied or should be inferred.


Windows Messages

Access to DigiTV's internal data and functions is granted to 3rd-pary applications via the Windows messaging interface. When using this interface (ie SendMessage, PostMessage etc) it is important for most of the messages to be directed to the currently active DigiTV window.

DigiTV assigns a window to each connected tuner and simply activates and shows the window that contains the currently viewed device. It is important that the user ascertain which window is the active one before sending any messages so that they are directed to the DigiTV instance currently in view. To do this, use the 'Get Active HWND' message described below.

General

Get Active HWND
Exit the application
Set digital TV mode
Set analogue input (A/V) mode

Cursor Control

Move the GUI cursor down 1 place
Move the GUI cursor up 1 place
Move the GUI cursor left 1 place
Move the GUI cursor right 1 place
Spoof the 'Enter' key ('OK' on remote)
Move the GUI cursor up 8 places
Move the GUI cursor down 8 places

Functional

Message ID Moniker Description
32854 IDC_DESCR Show the programme description overlay
32855 IDC_GLANCE Show the EPG Menu
124 IDC_MUTE Toggle the audio mute on/off
173 IDC_USER_0 Clear the screen of any menus
174 IDC_USER_1 Decrement the channel
175 IDC_USER_2 Increment the channel
176 IDC_USER_3 Decrement the volume
177 IDC_USER_4 Increment the volume
250 IDC_ON_NOW Show the mini-guide overlay
133 IDC_POWEROFF Power down the PC


Recording/Playback

Message ID Moniker Description
1019 IDC_FF Fast Forward
1017 IDC_RW Rewind
1001 IDC_STOP Stop
32781 IDC_PAUSE Pause
32774 IDC_PLAY Play
180 IDC_USER_7 Jump back
181 IDC_USER_8 Jump forward
Personal tools