Article View: borland.public.cppbuilder.nativeapi
Article #3042Re: SetWindowText() on Win 9x/Me
From: Paulo Buzinello
Date: Sat, 16 Sep 2006 21:07
Date: Sat, 16 Sep 2006 21:07
34 lines
2258 bytes
2258 bytes
Num passado nīŋŊo muito distante, Alan Bellingham disse... > (The whole of Windows relies on it to show text. It's documented as > being usable as far back as Windows NT 3.51 and Windows 95.) Yes. I know. > If you're trying to set the text of something in a different process, > then using the WM_SETTEXT message may work better. However, this is > unlikely to sort out any 95/NT differences. See my other post. > What won't work is a Unicode SetWindowText() under Windows 95. If your > program is Unicode, then there's a whole lot of functions that don't do > anything in the mixed 16/32-bit variants of Windows. If your program IS > Unicode, then use the specifically non-Unicode SetWindowTextA() > function. I tried SetWindowTextA(), but unsuccessful. > (Happily for me, those operating systems are now unsupported by > Microsoft, and I don't need to worry about them. The project I'm on has > always required the 32-bit OS. I remember Microsoft promising that > there'd only be Windows 95 as a transitional OS, and that by 1996, > everyone would be moving over to NT. Oh yes, Vista was supposed to be > here in 2004.) Unfortunately, in Brazil, we have a lot of machines running windows 98, 95 and Me. Particularly, I have intention to stop with these old OS. But, for while... :) Thanks. []'s
Technical Details
Message-ID:
<MPG.1f765b906a59129989684@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news3.google.com!news.glorb.com!feed.xsnews.nl!feeder.xsnews.nl!feeder.news-service.com!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<MPG.1f71b6e9f45c2dfa989681@newsgroups.borland.com> <h1ifg25i6bur5dqsmcebkicr4iee6d8puo@4ax.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,61f0397dec1049ce X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII From: Paulo Buzinello <NO_SPAM_paulo@buzinello.com> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: SetWindowText() on Win 9x/Me Date: Sat, 16 Sep 2006 18:07:23 -0300 Message-ID: <MPG.1f765b906a59129989684@newsgroups.borland.com> References: <MPG.1f71b6e9f45c2dfa989681@newsgroups.borland.com> <h1ifg25i6bur5dqsmcebkicr4iee6d8puo@4ax.com> X-Newsreader: MicroPlanet Gravity v2.50 NNTP-Posting-Host: 201.54.84.113 X-Trace: newsgroups.borland.com 1158440800 201.54.84.113 (16 Sep 2006 14:06:40 -0700) Lines: 34 Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news3.google.com!news.glorb.com!feed.xsnews.nl!feeder.xsnews.nl!feeder.news-service.com!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail