Trackbar select range tweaks

Duane Clark dclark at akamail.com
Sun Aug 3 11:27:55 CDT 2003


Dustin Navea wrote:
> could someone send me the testcase and i will run it on a win2k machine, a
> win98 machine and a winxp machine?
> 

Hmm, an executable for determining the SM_CYCAPTION metric is small, so 
I'll attach that. It comes from this code.

#include "windows.h"
#include "stdio.h"

main()
{
	printf("GetSystemMetrics(SM_CYCAPTION) = %d\n", 
GetSystemMetrics(SM_CYCAPTION));
}


For determing thumb size, I use MS ControlSpy, available here:
http://www.microsoft.com/msj/0798/controlspy.aspx

That includes binaries. Just run the Trackbar binary, click on 
"TBM_GETTHUMBLENGTH" in the window on the lower left, and then click the 
"Send" button. In the window below that button, it should say something 
like:
lResult: 21 (0x15)
which means the thumb size is 21.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: sysmetric.exe.zip
Type: application/zip
Size: 8320 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-devel/attachments/20030803/a449fc3a/sysmetric.exe.zip


More information about the wine-devel mailing list