Results 1 to 4 of 4

Thread: Keeping form always on bottom [Resolved]

  1. #1

    Thread Starter
    Fanatic Member arsmakman's Avatar
    Join Date
    Dec 2001
    Location
    Leiden, Netherlands.
    Posts
    719

    Keeping form always on bottom [Resolved]

    I know it is possible to make a form that's always on top of other forms. But what I need is a way to make a form that always stays on the bottom...

    I'll explain myself: I need my app to be somesort of desktop. It should stay over the Windows desktop, but below any applications. For example: I start explorer with 'Shell "explorer C:\", vbNormalFocus', explorer pops-up and then when I click my own form again it goes over the explorer I opened. THAT shouldn't happen, it should stay below the explorer even when I click it. Like a desktop.

    There's probably somesort of API that should do the trick. But I haven't a clue which one, and there's kind of a lot of API's.

    Can you help me?
    Last edited by arsmakman; Mar 28th, 2004 at 04:52 AM.
    No matter how fool-proof your program is, there will always be a better fool.

    Was a post helpful to you? Rate it!

  2. #2
    Evil Genius alex_read's Avatar
    Join Date
    May 2000
    Location
    Espoo, Finland
    Posts
    5,538

    Please rate this post if it was useful for you!
    Please try to search before creating a new post,
    Please format code using [ code ][ /code ], and
    Post sample code, error details & problem details

  3. #3

    Thread Starter
    Fanatic Member arsmakman's Avatar
    Join Date
    Dec 2001
    Location
    Leiden, Netherlands.
    Posts
    719
    Damn! I've used SetWindowPos to get a window on top so many times. I could've guessed I should use '1' to put it on the bottom. As '-1' is used to put it on top.

    Thanx.

    Have something silly: Poor monkey
    No matter how fool-proof your program is, there will always be a better fool.

    Was a post helpful to you? Rate it!

  4. #4
    Evil Genius alex_read's Avatar
    Join Date
    May 2000
    Location
    Espoo, Finland
    Posts
    5,538
    Ah, not as good as the badger one that - you should check out the dancing scooby, that'd go well with that tune:

    http://www.microsoft.com/windows/plus/DME/Try.asp

    Please rate this post if it was useful for you!
    Please try to search before creating a new post,
    Please format code using [ code ][ /code ], and
    Post sample code, error details & problem details

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