Article View: borland.public.cppbuilder.nativeapi
Article #4466How to turn off theming to a component
From: daryl
Date: Sat, 28 Jan 2006 01:42
Date: Sat, 28 Jan 2006 01:42
18 lines
1469 bytes
1469 bytes
What is the correct way to turn off theming on a particular control. from
Microsoft help I got:
SetWindowTheme (hwndButton, TEXT (" "), TEXT (" "));
I converted to, compiler was OK with it:
SetWindowTheme (ProgressBar->Handle, (wchar_t*)(L""), (wchar_t*)(L""));
but I then got:
[Linker Error] Unresolved external 'SetWindowTheme' referenced from
D:\BORLAND\BUILDER_6\TESTING\SB_TEST\UNIT1.OBJ
What am I doing wrong?
thanks
daryl
Technical Details
Message-ID:
<43dacb3f@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!212.101.4.254.MISMATCH!solnet.ch!solnet.ch!news.germany.com!newsfeed.cw.net!cw.net!news-FFM2.ecrc.de!news-raspail.gip.net!news.gsl.net!gip.net!grolier!194.74.65.66.MISMATCH!news-peer0-test!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,fd24d08906db1fc,start X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "daryl" <devaccount@notmail.com> Newsgroups: borland.public.cppbuilder.nativeapi Subject: How to turn off theming to a component Date: Sat, 28 Jan 2006 11:42:19 +1000 Lines: 21 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-RFC2646: Format=Flowed; Original NNTP-Posting-Host: 203.206.76.51 Message-ID: <43dacb3f@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1138412351 203.206.76.51 (27 Jan 2006 17:39:11 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!212.101.4.254.MISMATCH!solnet.ch!solnet.ch!news.germany.com!newsfeed.cw.net!cw.net!news-FFM2.ecrc.de!news-raspail.gip.net!news.gsl.net!gip.net!grolier!194.74.65.66.MISMATCH!news-peer0-test!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail