UPollaehne Posted March 18, 2007 Share Posted March 18, 2007 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? Quote Link to comment
Lars_MQ Posted March 18, 2007 Share Posted March 18, 2007 You're looking for idvbviewer.CurrentChannelNr Quote Link to comment
UPollaehne Posted March 18, 2007 Author Share Posted March 18, 2007 Hi Lars, You're looking for idvbviewer.CurrentChannelNr Thanks. There the "Read only Property." statement is missing. ;-) Quote Link to comment
UPollaehne Posted March 18, 2007 Author Share Posted March 18, 2007 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? Quote Link to comment
Lars_MQ Posted March 18, 2007 Share Posted March 18, 2007 have a look at the channelcollection interface. function GetNr(const ID: WideString): Integer; or if you use the Getchannellist: ChannelNr=Position in list. Quote Link to comment
UPollaehne Posted March 18, 2007 Author Share Posted March 18, 2007 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. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.