Giter Club home page Giter Club logo

Comments (11)

Mase20 avatar Mase20 commented on July 21, 2024

To resolve that problem in Dragablz.DragablzWindow.MaximizeWindowExecuted(object sender, ExecutedRoutedEventArgs e) these code lines:

System.Windows.Forms.Screen screen = System.Windows.Forms.Screen.FromPoint(System.Windows.Forms.Cursor.Position);
MaxHeight = screen.WorkingArea.Height;
MaxWidth = screen.WorkingArea.Width;
Left = screen.WorkingArea.X;
Top = screen.WorkingArea.Y;

But then another problem appears:

maximize

from dragablz.

ButchersBoy avatar ButchersBoy commented on July 21, 2024

Hi @Mase20 ...thanks for the info. I'll try and have a look at this issue over the next week or so. In the meantime if make an improvement report back.

from dragablz.

Mase20 avatar Mase20 commented on July 21, 2024

Hi @ButchersBoy! I still haven't found a solution for this problem! Do you have some good news?
Thanks

from dragablz.

ButchersBoy avatar ButchersBoy commented on July 21, 2024

I have started working on it...but it proved to be more problematic than I expected. I have access to screens with different DPIs and resolutions...and the effect was slightly different on each one 😞 ...so work in progress but no absolute fix yet.

from dragablz.

ButchersBoy avatar ButchersBoy commented on July 21, 2024

...also got to accommodate for location of task bar on each individual screen which added a bit of complexity...

from dragablz.

Mase20 avatar Mase20 commented on July 21, 2024

All right, thanks for the very quick answer!!
If I discover some trick, I'll post it immediately!
Bye

from dragablz.

ButchersBoy avatar ButchersBoy commented on July 21, 2024

There should be some changes to the DragablzWindow coming...so hang-fire...

from dragablz.

Mase20 avatar Mase20 commented on July 21, 2024

All right, thank you for the good news! I'm very curious!

from dragablz.

sabellefallEFC avatar sabellefallEFC commented on July 21, 2024

Any progress on this issue ? We are experiencing the same problem.

from dragablz.

skilluminati avatar skilluminati commented on July 21, 2024

I have a very simple fix (taken from StackOverflow and removed unnecessary content)
http://pastebin.com/FdLW58Au
Just paste this to your xaml.cs
ButchersBoy could test this code and implement it in Dragablz, should be simple.

from dragablz.

DonGarrin avatar DonGarrin commented on July 21, 2024

@skilluminati in my case, it work better with this version :
http://www.abhisheksur.com/2010/09/taskbar-with-window-maximized-and.html

from dragablz.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.