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

  • Home
  • SEARCH
  • 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 3428296
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T06:56:31+00:00 2026-05-18T06:56:31+00:00

I am using an animation to show a custom showdialog popup (Border control with

  • 0

I am using an animation to show a custom showdialog popup (Border control with some TextBlock and Button). After taking the WinFormHost if iam runnig the Animation , the border control and other will be going behind the WinFormHost. Is there any round about for that?

  • 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-18T06:56:31+00:00Added an answer on May 18, 2026 at 6:56 am

    There is no workaround for this if you want the WPF and Windows Forms content to share the same window.

    WPF renders via Direct3D, whereas Windows Forms uses GDI+, which is ultimately based on the old GDI32 rendering mechanisms. Windows itself doesn’t provide a way to render to the same region of a window with these two different technologies – you end up with an HWND owned and rendered by Direct3D (as used by WPF), and a different HWND owned and rendered by Windows Forms. These HWNDs carve up the space in their containing window between them and can’t overlap.

    If you want overlapping WPF and Windows Forms content, the only supported way to do that is to put them in separate top-level windows – Windows does support overlapping Win32 and Direct3D content at the desktop level. You can use per-pixel transparency to make a non-rectangular window (either in WPF or Windows Forms). So you can turn off all the window borders in your WPF app, and make the background transparent, and if you’ve enabled transparency, you can then position that window in exactly the same place on screen as your Windows Forms window, at which point you can now have WPF content on top of your Windows Forms content.

    Needless to say, this is a tedious thing to do. But unfortunately, that’s what you need to do if you really need WPF content on top of Windows Forms content – you need to put the WPF content in a separate window.

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

Sidebar

Related Questions

No related questions found

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.