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 557783
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T12:03:46+00:00 2026-05-13T12:03:46+00:00

I am integrating with an application that uses plugins. I have my own plugin

  • 0

I am integrating with an application that uses plugins. I have my own plugin that is provided an HDC to draw on, this works fine using C#

Graphics gfx = Graphics.FromHdc(hdc);

I can then draw using GDI without issue.

I would like to start experimenting with XNA, I’ve loaded a few sample projects and had a look through the code. It appears that by default XNA handles the creation of the window and when I should be redrawing each frame.

What I need to be able to do is use XNA to render a frame when the plugin’s render event is raised. Then either render directly to the plugin HDC or to copy the XNA image to it.

Can this be done? Does anyone have any examples? I’m very new to XNA.

Thanks

  • 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-05-13T12:03:47+00:00Added an answer on May 13, 2026 at 12:03 pm

    There is a winforms sample that shows you how to custom create the XNA graphics device and then render it onto a windows form control.
    http://creators.xna.com/en-US/sample/winforms_series1

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

Sidebar

Related Questions

I'm integrating my application so that it can edit files stored in SharePoint. I'm
I am introducing automated integration testing to a mature application that until now has
I'm having some problems integrating MS MapPoint 2009 into my WinForms .Net 2.0 application
We have a distributed application containing C++ and Java modules, interacting via CORBA. Are
I'm considering integrating some D3D code I have with WPF via the new D3DImage
Does anyone have a good solution for integrating some C# code into a java
I have a problem in integrating PHP and JQuery: My main file is MyFile.html
I am having trouble integrating two products, one of which is mine and they
looking tutorials for integrating OpenId feature in .net
I am integrating growl into my Objective-C app. However If I build and run

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.