29 Aug
2007
29 Aug
'07
7:33 a.m.
Ivan Sinitsin wrote:
This patch adds an opportunity for fonts of the menu, statusbar and messages to increase depending on logpixels.
+size=sizeof(DWORD); +RegOpenKeyExW( HKEY_LOCAL_MACHINE, registry_key, + 0, KEY_QUERY_VALUE, &myhKey ); +if (!RegQueryValueExW( myhKey, log_pixels, NULL, &type, + (LPBYTE) &logpixels, &size )==ERROR_SUCCESS) + logpixels=72; +ncm.lfMenuFont.lfHeight=-MulDiv(ncm.lfMenuFont.lfHeight,logpixels,72); +RegCloseKey( myhKey );
You're missing some indentation here. -- Rob Shearman
6679
Age (days ago)
6679
Last active (days ago)
0 comments
1 participants
participants (1)
-
Robert Shearman