Re: Transparent window




"MD" <michel.dominique@xxxxxxxxxx> wrote in message
news:436509b1$0$7854$8fcfb975@xxxxxxxxxxxxxxxxxx
> Hi !
>
> I'm looking for a way to make transparent a form's client area while
> dragging it onto the desktop. For instance, when I click down on the
window
> title, the client area content disappears and instead we see what there is
> under the window, while the window is moved.
>
> Is it easy to do with Delphi, without additionnal component ?
>

there is a GUI shell display option , 'show window contents while dragging'
if the user wants it they can probably have it without your intervention

otherwise things like transparency depend on OS version

you can find when a form is being moved
procedure WMMoving(var Message: TMessage); message WM_Moving;
procedure WMMove(var Message: TMessage); message WM_Move;

procedure TForm1.WMMoving(var Message: TMessage);
// lots of these when moving
procedure TForm1.WMMove(var Message: TMessage);

dragging is system, changes don't appear and system drops its bundle
if you do too much here

you could probably convince it with some magic word of power
but it probably isn't useful.





.



Relevant Pages

  • Re: Transparent window
    ... when I click down on the window ... the client area content disappears and instead we see what there is ... What version of Delphi are you using? ... Does is have to be the client area _only_ that is transparent? ...
    (alt.comp.lang.borland-delphi)
  • Re: Mouse events
    ... dragging) over the client area of window, ... Visual C++ MVP ...
    (microsoft.public.vc.mfc)
  • Mouse events
    ... 'renderMode' to GL_SELECT whenever my mouse is moving(only moving not ... dragging) over the client area of window, ...
    (microsoft.public.vc.mfc)
  • Re: Mouse events
    ... 'renderMode' to GL_SELECT whenever my mouse is moving(only moving not ... dragging) over the client area of window, ...
    (microsoft.public.vc.mfc)
  • Transparent window
    ... I'm looking for a way to make transparent a form's client area while ... dragging it onto the desktop. ... when I click down on the window ...
    (alt.comp.lang.borland-delphi)