Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8704735
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T03:11:01+00:00 2026-06-13T03:11:01+00:00

I am currently writing a simple snake clone game for Windows 8 using MonoGame.

  • 0

I am currently writing a simple snake clone game for Windows 8 using MonoGame. I am using the XAML – MonoGame template and trying to include advertising support. I have found an issue, pretty sure it’s with the AdControl itself, not MonoGame, however it is stealing keyboard focus every time an ad is loaded.

I have tried to reinitialize the MonoGame ‘MetroGameWindow’ instance to try and get focus back with no luck. Eg,

void GamePage_LostFocus(object sender, RoutedEventArgs e)
{
    MetroGameWindow.Instance.Initialize(Window.Current.CoreWindow,this)
    // 'this' is 'GamePage' which inherits from 'SwapChainBackgroundPanel'
}

Does any one know any workarounds for this problem? Any help would be appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T03:11:02+00:00Added an answer on June 13, 2026 at 3:11 am

    This ia a known problem with AdControl. As of now best solution is to set IsEnabled property of AdControl to false. Doing so will prevent AdControl from taking focus on ad reloads while remaining clickable. See following discussion on bing ads forum: http://community.bingads.microsoft.com/ads/en/publisher/f/63/t/73548.aspx

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm currently writing a node.js app which is a simple Snake/Tron style game, however
I'm currently writing a very simple game using python and pygame. It has stuff
I'm currently writing a very simple game engine for an assignment and to make
I'm currently writing a simple FTP client (using C# and .NET). It's important that
I'm currently writing a simple client/server in Java using sockets. I want the server
I am currently writing a small application in Windows Mobile using CF.NET. The application
I'm currently writing a screen capture app for Windows and Linux using PyGTK, and
I'm currently writing a simple game. My graphics code runs once per frame (approximately
I'm currently writing a simple Python (2.7) program using the Python Image Library .
This is a follow-up to this question . I'm currently writing a simple game

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.