Re: Measure point to point



Rael wrote:

Thanks for useful post. I've been thinking about how this is done.

One further question:
What I would like to do is have a panel within the "screen capture"
form that has total transparency, while the form itself has partial
transparency. This way the selected region is nicely highlighted.

Any ideas on how to do this?

You have to fake it, no way around that. Before you show the form you
copy the screen content to a TBitmap. Then you show that (or part of
it) on the panel you want to appear transparent.

You can make a form with a "hole" in it using the SetWindowRgn API, but
you cannot easily draw anything on top of the hole, since it is not
part of your form.



--
Peter Below (TeamB)
Don't be a vampire (http://slash7.com/pages/vampires),
use the newsgroup archives :
http://www.tamaracka.com/search.htm
http://groups.google.com
.



Relevant Pages

  • Re: Drawing a simple pixel to the foreground
    ... If your dx scene is attached and rendered to the winform, ... the Graphics object in gdi of the panel. ... Placing controls and so forth that dont require transparency over the ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: [kde] transparent panel and KDM colour
    ... The panel is transparent by default. ... you need composite enabled ("Desktop Effects" in System Settings.) ... In kde3 there was a transparency setting and in advanced a sliding scale to ... transparency level. ...
    (KDE)
  • Re: Help with Picture
    ... Multiple objects with transparency gradient (if you are using Powerpoint ... to the bright green circle. ... Picture - and navagate to your saved file and click Insert. ... I simply need a semi-transparent square with a hole ...
    (microsoft.public.powerpoint)
  • Re: fancy GUI programming
    ... already been done but I wanted to know if it was possible under Java: which libraries for transparency, for round window corners, fluid ... The standard trick is to take a screen capture, and then use a regular rectangular frame on which you first draw the image you got from the screen capture (to fake transparency), and then draw on top of that whatever shape you want. ...
    (comp.lang.java.gui)
  • [opensuse] RE: KDE Desktop KDE4 - Assign Transparency
    ... Assign transparency on panels ... Assign an External Taskbar panel above the default panel and system ... tray bottom of screen. ...
    (SuSE)