Board index » delphi » Drawing onto MDI main forms...

Drawing onto MDI main forms...

Is there something special to do to draw on an MDI main Form ?
Drawing into the canvas of any window works perfectly, but with MDI main
form, nothing is drawn in the client area...
I REALLY need to draw on my MDI main form.

Is it another "feature" from Microsoft?...

 

Re:Drawing onto MDI main forms...


Hi there,

for this problem I made a TTiler component. Download it from the url below.

When Delphi does an MDI application, it makes a form floating above your
mainform. When you draw on your mainform, that floating form hides your
drawings.

--
Martijn Tonies
http://surf.to/seal97

<none of the text written above has got anything to do with Euro Partners
Informatici BV>

System Development
Euro Partners Informatici BV
http://www.euro-partners.nl

Thierry Imbert heeft geschreven in bericht
<35DC881F.B7543...@hotmail.com>...

Quote
>Is there something special to do to draw on an MDI main Form ?
>Drawing into the canvas of any window works perfectly, but with MDI main
>form, nothing is drawn in the client area...
>I REALLY need to draw on my MDI main form.

>Is it another "feature" from Microsoft?...

Re:Drawing onto MDI main forms...


There is a component called tTiler. It's for draw a bitmap into your main
windows background. You can draw you bitmap centered, stretched and tiled.

This component works, even in a MDI main form.

Look for it (and check the source) on a Delphi components site (DSP,
Torry's, etc...).

------------------------------
         Mehdi BOURMAD
http://www.mygale.org/~bourmad
   mailto:bour...@mygale.org
------------------------------

Thierry Imbert a crit:

Quote
> Is there something special to do to draw on an MDI main Form ?
> Drawing into the canvas of any window works perfectly, but with MDI main
> form, nothing is drawn in the client area...
> I REALLY need to draw on my MDI main form.

> Is it another "feature" from Microsoft?...

Other Threads