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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T11:57:18+00:00 2026-06-17T11:57:18+00:00

You know when you have a window that is frozen, but when you drag

  • 0

You know when you have a window that is frozen, but when you drag another window over the top it leaves a trail? Sometimes it looks a little bit like the end of Solitaire for Windows 3 🙂 when you get done (like my screenshot).

I’d like to make a C# windows (winforms/wpf) application that creates a surface like this and allows me to capture the image, but I’m a little bit at a loss of where to start.

Picture:
Almost looks like Solitaire

  • 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-17T11:57:20+00:00Added an answer on June 17, 2026 at 11:57 am

    It would be easier with WPF. You can create a VisualBrush from any control, including a Window or FrameworkElement. Once you have that VisualBrush, you can paint it all over your form and it will create that same effect. Alternatively, you could use an ImageBrush if you want to do it with a picture rather than a UI element.

    When you paint, just offset it by a couple X/Y each time and it will look just like that as it overwrites (er.. overpaints?) itself!

    You can create your own class FrozenVisualHost that derives from FrameworkElement to host a DrawingVisual that you render. See: MSDN: Using DrawingVisual Objects

    Overriding your FrozenVisualHost.OnRender() method would allow you to draw your ‘frozen snapshots’ as you recorded mouse movement (via MouseMove). Just make sure that you call the InvalidateVisual() method to update the host control.

    One caveat: Creating a VisualBrush from a window will not capture the title bar or window border chrome. If you want that, you’ll have to grab a snapshot manually (GDI): As described here. You can use that Bitmap however for your ImageBrush and do rendering similarly.

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

Sidebar

Related Questions

I know we have ILdasm, but is there any tool out there that will
I have a window control that I show on my app. Sometimes, the window
I have a WPF window that has TopMost=true . When I call another Window
I have a pygame window that I want to know when a file has
I have already download the windows phone develop tools but I don't know how
I know there have been some similar questions to this, but they haven't helped
I know I have that my connection to the database works, and a test
I know and have Xcode, but I was wondering if there were any other
I know people have asked similar questions, but I believe the causes of their
I know there have been a million questions asking this, but mine is different.

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.