Results 1 to 3 of 3

Thread: [RESOLVED] Center backgroundimage in MDI

Threaded View

  1. #1

    Thread Starter
    Addicted Member dmr's Avatar
    Join Date
    Jul 2000
    Location
    West-Germany :) Timezone: GMT +1 [DST] North.......: 52° 16’ 09” East...: 10° 31’ 16”
    Posts
    255

    [RESOLVED] Center backgroundimage in MDI

    Hi all!
    By just adding an image to bgimg it is tiled over the whole form.
    Is there a fast way to center the backgroundimage of a MDI-form ?

    I fixed it by using a graphics object filled with my backgroundcolor and drew the image to the center and redrew it to bgimg of the MDI. But this is kinda slow.

    I can't imagine that MS does not support centering by default (I use .NET/1.0).



    Thanks in advance!
    Last edited by dmr; Feb 23rd, 2004 at 08:51 AM.
    Code that I author is neither elegant nor efficient. It is, however, functional. Once I get something that works, I'm generally satisfied with myself - I mean, if it works, that's good enough, right?

    Originally posted by aknisely
    Sorry, but I feel uncomfortable on CC with clothes on
    __________________
    The truth ... is out there!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width