Article View: comp.os.ms-windows.programmer.misc
Article #1765Re: FONT in TEDITWINDOW
From: Chris Marriott
Date: Mon, 14 Dec 1992 18:33
Date: Mon, 14 Dec 1992 18:33
23 lines
1657 bytes
1657 bytes
In article <1992Dec13.192501.466@uoft02.utoledo.edu> tdani@uoft02.utoledo.edu writes: > I am using Turbo C++ for Windows to write an app. > It involves using a class derived from TEditWindow class. However i >am not able to find a way to change the default Font of the text in the Edit >Window. > Any ideas? Suggestions as to how to solve this problem. >Tushar Dani >Univ. of Toledo > > I've no experience of Turbo C++, but the "normal" way to change the font used by an edit control is to create the logical font you'd like to use in the edit control, then send the control a "WM_SETFONT" message, passing the font handle as the "wParam" argument of the message. -- -------------------------------------------------------------------------- | Chris Marriott | chris@chrism.demon.co.uk | | Warrington, UK | BIX: cmarriott | | (Still awaiting inspiration | CIX: cmarriott | | for a witty .sig .... ) | CompuServe: 100113,1140 | --------------------------------------------------------------------------
Technical Details
Message-ID:
<724357997snz@chrism.demon.co.uk>Path:
arc1-ca.pugleaf.net!sparky!uunet!pipex!demon!chrism.demon.co.uk!chrisReferences:
<1992Dec13.192501.466@uoft02.utoledo.edu>Show Full Headers
Complete Article Headers
Newsgroups: comp.os.ms-windows.programmer.misc From: chris@chrism.demon.co.uk (Chris Marriott) Path: arc1-ca.pugleaf.net!sparky!uunet!pipex!demon!chrism.demon.co.uk!chris Subject: Re: FONT in TEDITWINDOW Distribution: world References: <1992Dec13.192501.466@uoft02.utoledo.edu> Organization: None Reply-To: chris@chrism.demon.co.uk X-Mailer: Simple NEWS 1.90 (ka9q DIS 1.19) Lines: 23 Date: Mon, 14 Dec 1992 18:33:17 +0000 Message-ID: <724357997snz@chrism.demon.co.uk> Sender: usenet@demon.co.uk