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.
Maybe there's a declare to keep the plainbox from showing in the
taskbar?
-----Original Message-----
From: Aaron Ballman [mailto:aaron at realsoftware dot com]
Sent: Sunday, August 29, 2004 10:57 AM
To: rbnube at mabenterprises dot com; Getting Started
Subject: Re: Plainbox showing Windows taskbar
> When opening a plainbox window on Windows, the plainbox shows on the
> Windows taskbar as if it's a separate application. Is there any way
> to keep this from happening? Using a modal window solves this
> problem, but is not appropriate here unless I can somehow remove the
> border.
You can remove the border using the Win32 Declare Library (it has window
extension functions to change the frame properties of the window at
runtime). As far as keeping the window from the taskbar, according to
MSDN, popup windows (which is what a plain box is) don't make any
mention of being on the taskbar. The only style which claims won't
appear on the taskbar is WS_EX_TOOLWINDOW. But after testing, even that
style will show up on the taskbar (but not in the Alt+Tab menu!) in XP.
So I'm not certain why setting that style doesn't fix things.
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>
|