I have a Windows app for which when the window is quickly made bigger pieces of “whitespace” are temporarily created.
Is there a way to make those pieces of whitespace black?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can set
autoFillBackgroundproperty of the window and have Qt paint the newly exposed background for you. There are some Windows specific attributes mentioned there, too. Mainly,WA_NoSystemBackgroundneeds to be set to use a different background color.