Dialog with options (1 Viewer)

rtv

Retired Team Member
  • Premium Supporter
  • April 7, 2005
    3,622
    301
    Osnabruck
    Home Country
    Germany Germany
    Create the dialog and before calling DoModal() just assign your string IDs to heading and buttons
     

    boozelclark

    Portal Pro
    March 26, 2007
    191
    10
    Johannesburg/Cape Town
    Home Country
    South Africa South Africa
    hi thanks alot for your help. i can create the dialog just fine but i'm just not sure how to use the language file to turn the yes into ignor and the no into reject. i searched for code but cant find any could you please just give me a short example. thanks a lot.
     

    rtv

    Retired Team Member
  • Premium Supporter
  • April 7, 2005
    3,622
    301
    Osnabruck
    Home Country
    Germany Germany
    i searched for code but cant find any could you please just give me a short example. thanks a lot.

    public void SetHeading(int iString)
    and
    public void SetLine(int iLine, int iString)

    so after creating your dialog named dlg you call:
    dlg.SetLine(<the dialog's string line you want to set (1-3)>, <your language string ID>);
     

    boozelclark

    Portal Pro
    March 26, 2007
    191
    10
    Johannesburg/Cape Town
    Home Country
    South Africa South Africa
    thanks for all your help. thant just changes the lines of text not the labels on the actual buttons. i need it to say "ignore" on the button on which it normally says yes and "reject" on the button where it normally says no. am i doing something wrong? what do i put in the language file and how do i implement that. thanks for your time i really apreciate it.
     

    Users who are viewing this thread


    Write your reply...

    Similar threads

    MP1 MP2 Windscribe VPN DE
    I have just installed Windscribe but it is blocking access to my TV Server. I get the following message "Please specify the IP address or Host Name of the Master TV Service". I have a single seat build running the latest X64 version of MP1. Can anyone point me to a solution please? It's probably a really obvious one..... Cheers Fangio
    I have just installed Windscribe but it is blocking access to my TV Server. I get the following message "Please specify the IP...
    I have just installed Windscribe but it is blocking access to my TV Server. I get the following message "Please specify the IP...
    Replies
    0
    Views
    554
    MP1 MP2 Design questions. DE
    No No
    No No
    Is there an xml display utility that will allow graphically checking of dialog and osd text and graphics element placement? or Is...
    Replies
    1
    Views
    512
    If your XMLTV guide isn’t populating, setting up an EPG Collector can solve the issue by giving you control over your guide data. This tool lets you customize the EPG to match your needs, ensuring accurate and complete listings. The main benefit of using an EPG Collector is flexibility. You can pull data from reliable sources, adjust...
    If your XMLTV guide isn’t populating, setting up an EPG Collector can solve the issue by giving you control over your guide data...
    Hi everyone, I hope you are all well My Mum's Mediaportal lost it's marbles thanks to Microsoft update, (even though I had update...
    Replies
    3
    Views
    557
    That screen is generated by the file "MyVideo.xml", but it uses various other files too. When the list on the right is a list of episodes, the area in the middle contains the programme information for the episode that has the focus. In your screen shot, the list on the right is a list of folders. You could fill the area in the...
    That screen is generated by the file "MyVideo.xml", but it uses various other files too. When the list on the right is a list of...
    Can someone please assist me in the file name and location of which XML controls this screen. I want to create an additional box...
    Replies
    1
    Views
    191
    Oh, thank you I will read it immediately
    Oh, thank you I will read it immediately
    How can you play copy-protected Blu-rays with MP after AnyDVD has stopped working? And I don't mean converting the movies...
    Replies
    2
    Views
    689
    Top Bottom