[Kde-cygwin-cvs] CVS: qt-2/src/kernel qapplication_win32.cpp,1.1.2.22,1.1.2.23

Ralf Habacker Ralf.Habacker at freenet.de
Tue Jun 24 21:56:04 CEST 2003


Hi Richard,
in a cvs commit message you wrote:

> Update of /cvsroot/kde-cygwin/qt-2/src/kernel
> In directory sc8-pr-cvs1:/tmp/cvs-serv5877
>
> Modified Files:
>       Tag: QT_WIN32_2_BRANCH
> 	qapplication_win32.cpp
> Log Message:
> Fix the menuproblem
> I really need a way to find out the width of the borders and title

Perhaps you can get the needed Information through GetSystemMetrics().

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/sysinfo/base/ge
tsystemmetrics.asp

SM_CXBORDER, SM_CYBORDER
Width and height of a window border, in pixels. This is equivalent to the
SM_CXEDGE value for windows with the 3-D look.


Cheers
Ralf




More information about the kde-cygwin mailing list