I'm trying to detect the height of various components in a given windows theme. For example, I need to know the height of the titlebar. By "titlebar", I mean the area at the top of a window that has the name of the program.
I'm working in Windows, if that matters.
Does anyone have any hints?
How about using:
window_rect = window.GetRect()
client_rect = window.GetClientRect()
title_bar_height = window_rect.height - client_rect.height
···
On Wed, Feb 11, 2009 at 10:37 PM, Alec Bennett whatyoulookin@yahoo.com wrote:
I’m trying to detect the height of various components in a given windows theme. For example, I need to know the height of the titlebar. By “titlebar”, I mean the area at the top of a window that has the name of the program.