gettingstarted
[Top] [All Lists]

Re: Plainbox showing Windows taskbar

To: <rbnube at mabenterprises dot com>, "Getting Started" <gettingstarted at lists dot realsoftware dot com>
Subject: Re: Plainbox showing Windows taskbar
From: "Aaron Ballman" <aaron at realsoftware dot com>
Date: Sun, 29 Aug 2004 21:18:54 -0500
Cc:
Delivered-to: gettingstarted at lists dot realsoftware dot com
References: <000101c48dfd$56298360$0100a8c0 at mikesxp>
> I tried using windows declares to remove the border and it did not work
> as I expected.  Now I'm pretty sure that what I'm seeing is not
> technically a border.  I think what I'm seeing are the sides of the
> window.  Does that make sense? For instance, if the window is a document
> window, there is a border and if I use a declare to remove the borders,
> the borders are removed, but the edges of the window are still visible.
> Apparently, the only window without these edges is the PlainBox window.
> Really ugly/inappropriate with what I'm trying to do.

Well, then you may need to fiddle with the style to make it sunken instead
of borderless (or perhaps raised).  It's pretty easy to extend the declare
library to use the WS_EX styles instead.  But, I guess what I'm wondering
is -- why is having the plainbox in the taskbar so bad?

> Maybe there's a declare to keep the plainbox from showing in the
> taskbar?

Hypothetically, setting the WS_EX_TOOLWINDOW property will remove it from
the taskbar.  But I've found that in XP that isn't true.

If you want to play with the Ex styles (extended styles), then modify the
Declare Library to use:
  Const GWL_EXSTYLE = -20
instead of:
  Const GWL_STYLE = -16

in the example code, and then you just need to find the proper constants for
the styles you're trying for (you can find them on any VB declare sites).

HTH!

~Aaron

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://www.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>