Thanks, this seem works; but return height 704 instead of 768; the task Bar or window isn't included in height...How can I do? Thanks
Qt Code:
QDesktopWidget* qw; std::cout << "Screen Width: " << rect.width() << endl; std::cout << "Screen Height: " << rect.height() << endl;To copy to clipboard, switch view to plain text mode




Reply With Quote


Bookmarks