Opening a user defined screen
  • Acolyte of the Butterfly
    Acolyte of the Butterfly
    Daytona675x
    Posts: 109 from 2013/12/5
    Hi,

    I have a little problem here.
    No matter what I do to open a screen a user defined in the Screens prefs by name, it won't open. Instead a clone of the ambient screen is opened.

    Can someone please provide a code snippet on how to do it correctly?

    Thanks!
    Daniel

    [ Editiert durch Daytona675x 29.01.2014 - 05:59 ]
  • »28.01.14 - 19:48
    Profile Visit Website
  • MorphOS Developer
    itix
    Posts: 1520 from 2003/2/24
    From: Finland
    Uhm, I dont understand what you mean here? Screens defined in screen preferences are available to MUI applications. Non-MUI applications cant access it.

    You either embed your code to MUI framework or use usual OpenScreenTags() to open your own screen with your own preferences. IIRC you can use different skin if you want to but you would have to build your own configuration dialog which is probably too much hassle without MUI... ;-)
    1 + 1 = 3 with very large values of 1
  • »28.01.14 - 21:34
    Profile
  • Acolyte of the Butterfly
    Acolyte of the Butterfly
    Daytona675x
    Posts: 109 from 2013/12/5
    Well, I thought the MorphOS screens prefs would more or less work like the AOS4 screen prefs, as described here (section 3.1 Automatic public screens).
    Too bad if that isn't working in that or a similar way on MorphOS :(


    Thanks for clarifying!

    [ Editiert durch Daytona675x 29.01.2014 - 08:15 ]
  • »28.01.14 - 21:37
    Profile Visit Website