🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.ms-windows.programmer.tools.owl
Article #59

Control OWNER_DRAW

#59
From: Martin Truchon
Date: Thu, 12 Mar 1998 00:00
20 lines
1116 bytes
Hi,

I want to use a StaticText control in a dialog box (with is very common)
but I want to use a Font that is different from the Font used by the
dialog box.

For example : The dialog box use the Arial 10 and I want to show a
message using Arial 24.

I tried to create an OwnerDraw control but have some trouble to find a
solution.

I use Borland 5.0, OWL 5.0 and design a 32 bits application.

Thanks for helping me.

Bernard Batt

Please answer by e-mail: bbatt@hatch.ca
Technical Details
Message-ID: <350730B1.7347521A@videotron.ca>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fe201,dffdf539611a0b5,start
X-Google-Attributes: gidfe201,public
X-Google-Thread: 108ebe,dffdf539611a0b5,start
X-Google-Attributes: gid108ebe,public
From: Martin Truchon <martin.truchon@videotron.ca>
Subject: Control OWNER_DRAW
Date: 1998/03/12
Message-ID: <350730B1.7347521A@videotron.ca>
X-Deja-AN: 333156687
Content-Transfer-Encoding: 7bit
To: bbatt@hatch.ca
Content-Type: text/plain; charset=us-ascii
MIME-Version: 1.0
NNTP-Posting-Date: Wed, 11 Mar 1998 19:47:02 EST
Newsgroups: comp.os.ms-windows.programmer.tools.owl,borland.public.cpp.owl