Quote: Originally Posted by
Deadeye 
Yes I have read that and I did use the example as a base.
My problem is that after I call
module = app.CreateModule("StreetDeckDestinatorAddin");
I have a white window with nothing except the media arrow and track name on the bottom of the screen.
The overlay I created with
StreetDeck.Panel btnShowOverlay = (StreetDeck.Panel)module.CreatePanel(StreetDeck.en umCreatePanelType.eCPTButton, "BUTTONOVERLAY.BACK",
"DestinatorBack", //This is the function name that will be given back to us in any OnExec call and for all intents and purposes is the name of this panel
app.GetSystemMetric(StreetDeck.enumSystemMetrics.e SMGenericModuleClientX),
app.GetSystemMetric(StreetDeck.enumSystemMetrics.e SMGenericModuleClientY),
96, 96);
Does NOT go over the white background.
I would just like my overlay (the back button) to stay on top like the media section at the bottom of the page.
You are also not creating an overlay there. You are just creating a button. An overlay is on the same level as a module... it contains other panels (controls) in it. To have a button show above your embedded window, you would have to create an overlay, then create a button on it.
This would look something like this:
Code:
StreetDeck.ScriptOverlay overlayRecognition;
//Create an overlay that will contain the other controls. Overlays are global and will be shown
//above every other module
overlayRecognition = app.CreateOverlay("VoiceShowRecognitionOverlay");
StreetDeck.Panel btnShowOverlay = (StreetDeck.Panel)overlayRecognition.CreatePanel(StreetDeck.enumCreatePanelType.eCPTButton, "BUTTONOVERLAY.BACK",
"DestinatorBack", //This is the function name that will be given back to us in any OnExec call and for all intents and purposes is the name of this panel
app.GetSystemMetric(StreetDeck.enumSystemMetrics.eSMGenericModuleClientX),
app.GetSystemMetric(StreetDeck.enumSystemMetrics.eSMGenericModuleClientY),
96, 96);