PC Review


Reply
Thread Tools Rate Thread

Covering entire screen in WPF applications

 
 
Norton
Guest
Posts: n/a
 
      18th Nov 2008
Hello,
I have a WPF application and, based on certain configuration, it needs to
cover the entire screen, including the taskbar. It is easy to do by setting
WindowState to Maximized. The problem occurs when some message box from
another application pops up, then the taskbar becomes visible. For example,
if I execute "net send" to my computer, and click somewhere on the message
box, the taskbar shows up.
I was wondering if there is an easy way to handle this case, or this would
require handling WM_PAINT notifications in my own WindowProc handler?

I would appreciate any help on this!

Thanks,
Norton.
 
Reply With Quote
 
 
 
 
Norton
Guest
Posts: n/a
 
      19th Nov 2008
Unfortunately I cannot see what it has since the content is covered. I
believe they suggest to set WindowState to Normal, and then back to
Maximized. This works for certain use cases but not the one in my post.

"Patrice" wrote:

> Have you set all the properties listed bellow ?
>
> http://blog.vorpal.cc/category/devel...ow-in-wpf.html
>
> --
> Patrice
>
> "Norton" <(E-Mail Removed)> a crit dans le message de
> groupe de discussion : 1365D414-71F4-4834-9EA3-(E-Mail Removed)...
> > Hello,
> > I have a WPF application and, based on certain configuration, it needs to
> > cover the entire screen, including the taskbar. It is easy to do by
> > setting
> > WindowState to Maximized. The problem occurs when some message box from
> > another application pops up, then the taskbar becomes visible. For
> > example,
> > if I execute "net send" to my computer, and click somewhere on the message
> > box, the taskbar shows up.
> > I was wondering if there is an easy way to handle this case, or this would
> > require handling WM_PAINT notifications in my own WindowProc handler?
> >
> > I would appreciate any help on this!
> >
> > Thanks,
> > Norton.

>
>

 
Reply With Quote
 
Norton
Guest
Posts: n/a
 
      19th Nov 2008

Thanks for the reply,

I use WindowStyle.None, - it is with this style that WindowState.Maximized
covers the entire screen. I tried to use Topmost but it doesn't help since
the TaskBar is also a Topmost window. Also, by setting my main window as
Topmost, my own child windows are now longer visible. So, setting Topmost to
true is not going to work for me.


"Patrice" wrote:

> It uses also :
>
> WindowStyle = WindowStyle.None;
> Topmost = true;
>
> Do you use them both ?
>
> --
> Patrice
>
> "Norton" <(E-Mail Removed)> a crit dans le message de
> groupe de discussion : D3DDFCAC-B62C-4C91-8C4C-(E-Mail Removed)...
> > Unfortunately I cannot see what it has since the content is covered. I
> > believe they suggest to set WindowState to Normal, and then back to
> > Maximized. This works for certain use cases but not the one in my post.
> >
> > "Patrice" wrote:
> >
> >> Have you set all the properties listed bellow ?
> >>
> >> http://blog.vorpal.cc/category/devel...ow-in-wpf.html
> >>
> >> --
> >> Patrice
> >>
> >> "Norton" <(E-Mail Removed)> a crit dans le message de
> >> groupe de discussion :
> >> 1365D414-71F4-4834-9EA3-(E-Mail Removed)...
> >> > Hello,
> >> > I have a WPF application and, based on certain configuration, it needs
> >> > to
> >> > cover the entire screen, including the taskbar. It is easy to do by
> >> > setting
> >> > WindowState to Maximized. The problem occurs when some message box from
> >> > another application pops up, then the taskbar becomes visible. For
> >> > example,
> >> > if I execute "net send" to my computer, and click somewhere on the
> >> > message
> >> > box, the taskbar shows up.
> >> > I was wondering if there is an easy way to handle this case, or this
> >> > would
> >> > require handling WM_PAINT notifications in my own WindowProc handler?
> >> >
> >> > I would appreciate any help on this!
> >> >
> >> > Thanks,
> >> > Norton.
> >>
> >>

>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
computer screen not covering window Tassie Windows XP Basics 20 22nd Dec 2007 03:35 AM
Task bar is covering applications M Skabialka Windows XP Help 10 12th Jul 2006 05:21 PM
table covering entire screen =?Utf-8?B?anA=?= Microsoft Frontpage 3 27th Jun 2005 10:14 AM
Any resources covering developing multi-user Applications? Hi Microsoft Access VBA Modules 1 17th Apr 2004 07:32 PM
Mouse cursor is not covering the whole screen =?Utf-8?B?V01VQnJvbmNv?= Windows XP Games 1 11th Mar 2004 10:52 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:45 AM.