Rodzielczość ekranu w C++Builder

W niektórych programach przydaje się pobranie informacji z jakiej rozdzielczości ekranu korzysta użytkownik. W C++ Builderze można to osiągnąć w bardzo prosty sposób:

int width = Screen->Width;
int height = Screen->Height;

Dalsze wykorzystanie tego nie powinna raczej nikomu sprawić problemu 🙂

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.