nanogui: Thread: Win32 API for font


[<<] [<] Page 1 of 1 [>] [>>]
Subject: Win32 API for font
From: "ed.hsieh" ####@####.####
Date: 11 Jun 2008 06:43:38 -0000
Message-Id:

I want to change fonts on controls. Is this identical to M$? I cannot use
MulDiv to get a ogical size.

 

Best Regards,

 

Subject: RE: [nanogui] Win32 API for font
From: "ed.hsieh" ####@####.####
Date: 12 Jun 2008 05:55:55 -0000
Message-Id:

Okay, I have used CreateFont() to load a New-Times-Roman font successfully.
And then invoked SendMessage() to inform the control to redraw, but there is
no effect. 

-----Original Message-----
From: ed.hsieh ####@####.#### 
Sent: Wednesday, June 11, 2008 2:43 PM
To: ####@####.####
Subject: [nanogui] Win32 API for font

I want to change fonts on controls. Is this identical to M$? I cannot use
MulDiv to get a ogical size.

 

Best Regards,

 


Subject: RE: [nanogui] Win32 API for font
From: "ed.hsieh" ####@####.####
Date: 12 Jun 2008 06:11:04 -0000
Message-Id:

Okay, after tracing codes (ver 0.90), Win32 API doesn't support WM_SETFONT
for static and button controls. 

-----Original Message-----
From: ed.hsieh ####@####.#### 
Sent: Wednesday, June 11, 2008 2:43 PM
To: ####@####.####
Subject: [nanogui] Win32 API for font

I want to change fonts on controls. Is this identical to M$? I cannot use
MulDiv to get a ogical size.

 

Best Regards,

 


Subject: Re: [nanogui] Win32 API for font
From: "Greg Haerr" ####@####.####
Date: 12 Jun 2008 15:44:03 -0000
Message-Id: <046301c8cca3$60533320$6401a8c0@winXP>

:I want to change fonts on controls. Is this identical to M$? I cannot use
: MulDiv to get a ogical size.

I don't think MulDiv is implemented.
Subject: Re: [nanogui] Win32 API for font
From: "Greg Haerr" ####@####.####
Date: 12 Jun 2008 15:45:52 -0000
Message-Id: <046501c8cca3$7d075ff0$6401a8c0@winXP>

: Okay, after tracing codes (ver 0.90), Win32 API doesn't support WM_SETFONT
: for static and button controls. 

You need to be using the CVS version, there have been MANY
changes to win32 API since v0.90.  I think WM_SETFONT
has been implemented since.

Regards,

Greg
Subject: RE: [nanogui] Win32 API for font
From: "ed.hsieh" ####@####.####
Date: 13 Jun 2008 08:26:33 -0000
Message-Id:

I followed the CVS Instructions, but cannot get the latest version.

-----Original Message-----
From: Greg Haerr ####@####.#### 
Sent: Thursday, June 12, 2008 11:47 PM
To: ed.hsieh; ####@####.####
Subject: Re: [nanogui] Win32 API for font

: Okay, after tracing codes (ver 0.90), Win32 API doesn't support WM_SETFONT
: for static and button controls. 

You need to be using the CVS version, there have been MANY
changes to win32 API since v0.90.  I think WM_SETFONT
has been implemented since.

Regards,

Greg

---------------------------------------------------------------------
To unsubscribe, e-mail: ####@####.####
For additional commands, e-mail: ####@####.####

Subject: RE: [nanogui] Win32 API for font
From: "ed.hsieh" ####@####.####
Date: 13 Jun 2008 08:39:01 -0000
Message-Id:

Okay. It may be busy. After relogin several times it worked. 

-----Original Message-----
From: ed.hsieh ####@####.#### 
Sent: Friday, June 13, 2008 4:26 PM
To: 'Greg Haerr'; ####@####.####
Subject: RE: [nanogui] Win32 API for font

I followed the CVS Instructions, but cannot get the latest version.

-----Original Message-----
From: Greg Haerr ####@####.#### 
Sent: Thursday, June 12, 2008 11:47 PM
To: ed.hsieh; ####@####.####
Subject: Re: [nanogui] Win32 API for font

: Okay, after tracing codes (ver 0.90), Win32 API doesn't support WM_SETFONT
: for static and button controls. 

You need to be using the CVS version, there have been MANY
changes to win32 API since v0.90.  I think WM_SETFONT
has been implemented since.

Regards,

Greg

---------------------------------------------------------------------
To unsubscribe, e-mail: ####@####.####
For additional commands, e-mail: ####@####.####


---------------------------------------------------------------------
To unsubscribe, e-mail: ####@####.####
For additional commands, e-mail: ####@####.####

[<<] [<] Page 1 of 1 [>] [>>]


Powered by ezmlm-browse 0.20.