Results 1 to 2 of 2

Thread: how can I change the 0,0 coordinate of client area in a form

  1. #1

    Thread Starter
    l33t! MrPolite's Avatar
    Join Date
    Sep 2001
    Posts
    4,428

    how can I change the 0,0 coordinate of client area in a form

    normally when you set a control's location to 0,0 it will show up at the top left coorner of the form. I want to change it so the 0-Y coordinate will be shifted a few pixels down. I'm doing this because I dont want the main-menu control to appear at the top part of the form, but I want it to appear a few pixels lower than the top of the form...
    anyone knows how I can do it?
    rate my posts if they help ya!
    Extract thumbnail without reading the whole image file: (C# - VB)
    Apply texture to bitmaps: (C# - VB)
    Extended console library: (VB)
    Save JPEG with a certain quality (image compression): (C# - VB )
    VB.NET to C# conversion tips!!

  2. #2
    I wonder how many charact
    Join Date
    Feb 2001
    Location
    Savage, MN, USA
    Posts
    3,704
    try
    VB Code:
    1. Me.SetDisplayRectLocation(0,5)

    Note, its intended for use internally by the framework, so it may or may not have unforseen consequences.

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