Article View: borland.public.cppbuilder.nativeapi
Article #12461Re: cout, printf
From: Bob Gonder
Date: Thu, 04 Dec 2003 18:12
Date: Thu, 04 Dec 2003 18:12
11 lines
1477 bytes
1477 bytes
Ed Mulroy [TeamB] wrote: >Off topic, but isn't MM_TEXT already the mode unless you change it? Don't know, could be. I don't do much gui stuff, so just cut-n-pasted what I had. (When I'm learning, I'll often throw in everything rather than trust the defaults. <g>) I also had SetBkColor() SetBkMode() and SetTextColor() but removed those for simplicity. >> SetMapMode(hdc,MM_TEXT); >> TextOut(hdc, 70, 50, szMsg1, strlen(szMsg1) );
Technical Details
Message-ID:
<dmtusvkm5n726dfhd07s50idf892u4dsd2@4ax.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<oprznx7gmf3sxi43@localhost> <umnusvcv4h8ov9esm51jrb2kn602l7df46@4ax.com> <3fcf73cb@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,3b40ef498405c7c4 X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-12-04 10:14:45 PST From: Bob Gonder <notbg@notmindspring.invalid> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: cout, printf Date: Thu, 04 Dec 2003 10:12:32 -0800 Organization: MindSpring Enterprises, Inc. Reply-To: notbg@notmindspring.invalid Message-ID: <dmtusvkm5n726dfhd07s50idf892u4dsd2@4ax.com> References: <oprznx7gmf3sxi43@localhost> <umnusvcv4h8ov9esm51jrb2kn602l7df46@4ax.com> <3fcf73cb@newsgroups.borland.com> X-Newsreader: Forte Agent 1.93/32.576 English (American) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 67.31.165.27 X-Trace: newsgroups.borland.com 1070561553 67.31.165.27 (4 Dec 2003 10:12:33 -0700) Lines: 12 Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail