Window DC Question

Posted on 2005-02-27
Medium Priority
Last Modified: 2010-05-18
I was wondering if anybody knew of a way to prevent another app from access a different programs Window DC. I basically Want to prevent screen shots of a certain window....does anybody know how I could do something like this???

Question by:BrianGEFF719
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Accepted Solution

mortar earned 750 total points
ID: 13413969
No luck unfortunately, if the user can see it, they can get a screen shot of it.  You'd have to disable the output to the screen!
LVL 55

Expert Comment

by:Jaime Olivares
ID: 13414159
I think if you use OpenGL or Directx to draw the window, it will be harder...
LVL 19

Author Comment

ID: 13437254
Mortar, I was thinking writing my own GetDC Routine...and replacing it in memory....I dunno about this though.

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
Q&A with Course Creator, Mark Lassoff, on the importance of HTML5 in the career of a modern-day developer.
Six Sigma Control Plans
Starting up a Project
Suggested Courses
Course of the Month7 days, 21 hours left to enroll

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question