Jump to content

Com Equivalent For Cmdline Param "-c"


UPollaehne

Recommended Posts

Hi,

 

is there a COM equivalent of the command line parameter "-c" which sets the currently displayed channel?

I've browsed through the COM docs but was not able to find some property or function to achieve this. Is it me or is there really no function to change the currently tuned channel?

Link to comment
Thanks. There the "Read only Property." statement is missing. ;-)

Hm, maybe a bit too fast. ;-)

What is this channel number?

Or better: If I have the channel list which property gives me the channel number to be used for currentChannelNr?

Link to comment

have a look at the channelcollection interface. function GetNr(const ID: WideString): Integer;

 

or if you use the Getchannellist: ChannelNr=Position in list.

Link to comment
have a look at the channelcollection interface. function GetNr(const ID: WideString): Integer;

 

or if you use the Getchannellist: ChannelNr=Position in list.

I did not dare to hope for an answer that easy to implement. Thanks again.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...