|
-
Aug 8th, 2009, 02:51 AM
#1
Thread Starter
Hyperactive Member
Maximize wpf custom form
I have run into an issue where when I maximize my custom window with its style set to none that it takes up the taskbar as well. I do not want it to do that. So I looked into it and came up with thisthis article. However I am getting some errors while running it. Here is one of the errors:
The type or namespace name 'MONITORINFO' could not be found (are you missing a using directive or an assembly reference?)
I assume its because I am missing a namespace declaration. I have searched google but came up with nothing at all. If anyone knows how I can fix this or how I can correctly maximize a window without taking up the taskbar with a custom window I am open to suggestions. I also tried this article. The problem with that is that the right and bottom are a little bit off.
If you would like to duplicate my issue all you have to do is create a new project in Blend 3. Go to the window and change its AllowsTransparency to true. Then if you round the corners of the form and set it to maximized you will see what I am talking about.
If I helped you please rate me.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|