Does anyone know the whereabouts of an updated windows.inc with TBMETRICS struct?
TBMETRICS STRUCT
cbSize DWORD ?
dwMask DWORD ?
cxPad DWORD ?
cyPad DWORD ?
cxBarPad DWORD ?
cyBarPad DWORD ?
cxButtonSpacing DWORD ?
cyButtonSpacing DWORD ?
TBMETRICS ENDS
Someone correct this if its wrong... Thanks and bye
Hi xandaz,
Your structure looks correct. Here is what I found in commctrl.h from Pelles C :
typedef struct {
UINT cbSize;
DWORD dwMask;
int cxPad;
int cyPad;
int cxBarPad;
int cyBarPad;
int cxButtonSpacing;
int cyButtonSpacing;
} TBMETRICS, *LPTBMETRICS;
Hi xandaz,
Yes, your definition is the same as I have in commctrl.h for GoAsm. Its documented at MSDN:
http://msdn.microsoft.com/en-us/library/bb760482%28VS.85%29.aspx
Until it is added to Windows.inc you can just define it in your project's inc file.
yeah...got it. Still TB_GETMETRICS msg doesn't seem to work either for BTN or BAR padding and i've put the manifest. Does anyone know why. Sdk says that BAR padding isn't yet working but the BTN padding should work right? Bye
Quote
Still TB_GETMETRICS msg doesn't seem to work either for BTN or BAR padding
Perhaps a piece of code to test it in differents computer will be useful ?