Jump to content
LaunchBox Community Forums

[API Question] System Event for Paused?


Recommended Posts

Again its not ideal... 

If your not to familiar with xaml/wpf im not sure this will be much help. Anyway if you wanna give it a go.

Download this New folder (3).zip

Unblock it.

Move the folder "Default - Copy" to Launchbox/Pause Themes

In "Default - Copy"... If you open Default.xaml in notepad your notice this line:

xmlns:tst="clr-namespace:Test;assembly=Test"

Near the top. And near the bottom just above </Canvas>, this line:

<tst:TestControl Height="{Binding Source={x:Static SystemParameters.PrimaryScreenHeight}}" Width="{Binding Source={x:Static SystemParameters.PrimaryScreenWidth}}" HorizontalAlignment="Center" VerticalAlignment="Center"/>

(you cant change BB's default pause theme to include a user control, you have to use a different pause theme or like me just make a copy of the default theme)

Move Test.dll into Launchbox/Plugins.

Open BB and select "default - Copy" from the manage pause themes section.

Load a game, open pause and your get a message box.

The source is included in the zip.

Link to comment
Share on other sites

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...