The appearance in the taskbar is akin to having a dialog boxes appear in
the taskbar, at least for what I'm trying to do. Just not really
appropriate.
Thanks, Aaron.
-----Original Message-----
From: Aaron Ballman [mailto:aaron at realsoftware dot com]
Sent: Sunday, August 29, 2004 9:19 PM
To: rbnube at mabenterprises dot com; Getting Started
Subject: Re: Plainbox showing Windows taskbar
> 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>
|