Home » U++ Library support » U++ Widgets - General questions or Mixed problems » up & down within ColumnList moves focus out
Re: up & down within ColumnList moves focus out [message #23832 is a reply to message #23824] |
Wed, 25 November 2009 11:39   |
 |
mirek
Messages: 14261 Registered: November 2005
|
Ultimate Member |
|
|
bonami wrote on Tue, 24 November 2009 20:46 |
Mirek, if this is my own system's fault, maybe there is no need to further investigate on it. It's a stripped system, thus not so trustable.
|
That might be a reason, but not excuse 
U++ should work even on stripped system.
The query for system font is in Draw/FontWin32:
void GetStdFontSys(String& name, int& height)
{
#ifdef PLATFORM_WINCE
name = "Arial";
height = 10;
#else
NONCLIENTMETRICS ncm;
ncm.cbSize = sizeof(ncm);
::SystemParametersInfo(SPI_GETNONCLIENTMETRICS, sizeof(ncm), &ncm, 0);
name = FromSystemCharset(ncm.lfMenuFont.lfFaceName);
height = abs((int)ncm.lfMenuFont.lfHeight);
#endif
}
put logs there:
void GetStdFontSys(String& name, int& height)
{
#ifdef PLATFORM_WINCE
name = "Arial";
height = 10;
#else
NONCLIENTMETRICS ncm;
ncm.cbSize = sizeof(ncm);
::SystemParametersInfo(SPI_GETNONCLIENTMETRICS, sizeof(ncm), &ncm, 0);
name = FromSystemCharset(ncm.lfMenuFont.lfFaceName);
height = abs((int)ncm.lfMenuFont.lfHeight);
DDUMP(name);
DDUMP(height);
#endif
}
and/or perhaps try
void GetStdFontSys(String& name, int& height)
{
#ifdef PLATFORM_WINCE
name = "Arial";
height = 10;
#else
NONCLIENTMETRICS ncm;
ncm.cbSize = sizeof(ncm);
::SystemParametersInfo(SPI_GETNONCLIENTMETRICS, sizeof(ncm), &ncm, 0);
name = FromSystemCharset(ncm.lfMenuFont.lfFaceName);
height = abs((int)ncm.lfMenuFont.lfHeight);
if(height == 0) {
name = "Arial";
height = 10;
}
#endif
}
Mirek
|
|
|
 |
|
up & down within ColumnList moves focus out
By: bonami on Wed, 04 November 2009 09:51
|
 |
|
Re: up & down within ColumnList moves focus out
By: mirek on Sun, 15 November 2009 14:18
|
 |
|
Re: up & down within ColumnList moves focus out
By: bonami on Thu, 19 November 2009 10:29
|
 |
|
Re: up & down within ColumnList moves focus out
By: mirek on Fri, 20 November 2009 14:25
|
 |
|
Re: up & down within ColumnList moves focus out
By: bonami on Mon, 23 November 2009 02:21
|
 |
|
Re: up & down within ColumnList moves focus out
By: mirek on Mon, 23 November 2009 11:09
|
 |
|
Re: up & down within ColumnList moves focus out
By: mirek on Mon, 23 November 2009 11:13
|
 |
|
Re: up & down within ColumnList moves focus out
By: bonami on Tue, 24 November 2009 03:43
|
 |
|
Re: up & down within ColumnList moves focus out
By: mirek on Tue, 24 November 2009 14:52
|
 |
|
Re: up & down within ColumnList moves focus out
By: bonami on Wed, 25 November 2009 02:46
|
 |
|
Re: up & down within ColumnList moves focus out
By: mirek on Wed, 25 November 2009 11:39
|
 |
|
Re: up & down within ColumnList moves focus out
By: bonami on Thu, 26 November 2009 05:00
|
 |
|
Re: up & down within ColumnList moves focus out
By: mirek on Sun, 29 November 2009 23:23
|
 |
|
Re: up & down within ColumnList moves focus out
By: bonami on Mon, 30 November 2009 06:43
|
 |
|
Re: up & down within ColumnList moves focus out
By: mirek on Mon, 30 November 2009 21:32
|
Goto Forum:
Current Time: Sun Jun 08 15:04:41 CEST 2025
Total time taken to generate the page: 0.04713 seconds
|