Magnify Other Applications
-
mercredi 8 août 2012 12:28I have a transparent click-through application and I need to magnify the portion of the screen below the mouse position in other applications, I've tried the Magnifier in the Extended Toolkit but it just magnifies UI Elements in the "same application", Is there any way to magnify a portion of the screen that is not in my application?
- Modifié Ali Abdelfattah mercredi 8 août 2012 12:29
Toutes les réponses
-
mercredi 8 août 2012 12:38Modérateur
Actually, you're not the first to ask this:
http://social.msdn.microsoft.com/Forums/en-US/wpf/thread/9f47b868-e63e-48e3-ad29-061c69570be5/
http://social.msdn.microsoft.com/Forums/en-US/wpf/thread/30ff9fb7-b0a2-4910-b839-0e0a59ddc1b5/
http://social.msdn.microsoft.com/forums/en-US/wpf/thread/be381dd9-12a3-44f4-9f6c-cfaf0d7a053a/
http://msdn.microsoft.com/en-us/library/windows/desktop/ms692402(v=vs.85).aspx
#PEJL
- Proposé comme réponse XAML guyMicrosoft Community Contributor, Moderator mercredi 8 août 2012 14:38
- Marqué comme réponse Ali Abdelfattah mercredi 8 août 2012 14:44
-
mercredi 8 août 2012 12:43The term Magnification API didn't come to my mind, I'll check them out. Thanks.
- Modifié Ali Abdelfattah mercredi 8 août 2012 12:44
-
mercredi 8 août 2012 13:06None of the those links really help in anyway, its either in C++, questions with no answers or problems that is far from mine.
- Modifié Ali Abdelfattah mercredi 8 août 2012 13:07
-
mercredi 8 août 2012 13:17
That stuff you see in c++ code.
They're calls to windows messages.
That can be translated into P/Invoke and used in c#.
- Proposé comme réponse XAML guyMicrosoft Community Contributor, Moderator mercredi 8 août 2012 14:38
- Marqué comme réponse Ali Abdelfattah mercredi 8 août 2012 14:45
-
mercredi 8 août 2012 13:58Thanks for your response Andy, but I don't know how to do that sorry.
-
mercredi 8 août 2012 14:38Modérateur
So I'm guessing your final answer is Andy's and mine combined, with this : http://msdn.microsoft.com/en-us/library/aa288468(v=vs.71).aspx
This is a coding forum. We offer advice as best to our knowledge, snippets wherever possible.
But sometimes the only answer is, it's not drag & drop designer stuff. But that's the fun isn't it? Learn new stuff?
Alternatively, you could buy a third party application to do it?#PEJL
-
mercredi 8 août 2012 14:43I was just in the middle of that link you posted :) I figured no one could give me an absolute answer/implementation on how to do this. I'll try my luck figuring it out on my own, Thank you all for your time.
-
jeudi 9 août 2012 11:01
The way I do this sort of thing.
I find the call ( which is in the C++ examples ).
I don't even try folowing most of the C++
Look up each of them on pinvoke.net
Copy and paste the declarations.
Call them.
Frequently, once you know which you're calling then you can search on them and find something fairly similar.
Before I did some Win CE stuff I used to pretty much steer clear.
The cut down CE framework means you have to do this weird stuff loads though.

