MarketWatch - Stock Market Quotes, Business News, Financial News
Bulletin
Investor Alert

London Markets Open in:

need to know
Apple's biggest challenge: Topping iPhone 6
Petco gets private equity interest amid IPO
Planet Fitness rises after earnings beat
Five Below shares tank in late trading
Oil stages turnaround to top $46 a barrel
The 11 richest people on the planet under 35
How estate planning can be stress-free
Get last-minute, cheap Broadway tickets
Babe Ruth’s New York apartment is for sale

Almond milk and other notable Fed nuggets

Where every Fed member stands on raising rates  
Fed Beige Book finds increasing wage pressures
Where every Fed member stands on rates
Rate-hike question is what Yellen didn’t want
Boston Fed president: Sept. doubt remains

Bill Gross calls a Fed rate hike ‘too little, too late’
FDIC chief: Rates may catch banks off-guard
Junk-bond stress level climbs to 5-year high

History’s lessons in surviving market crashes

They tangled with student debt all summer
College help for low-income families

Why gold now looks more risky than stocks
Why gold now looks more risky than stocks: Reeves
Still too many gold market bulls: Mark Hulbert

GoPro’s stock rocked by supplier’s outlook

Intel hopes its chip retool can revive PC sales

Private sector adds 190,000 jobs in August: ADP

U.S. productivity rises at fastest pace since end of 2013
Productivity rises at fastest pace since end of 2013

Donald Trump, Hillary Clinton playing game of liar’s poker with the voters
Trump, Clinton play game of liar’s poker: Delamaide
Bush mounts ‘germophobe’ attack on Trump

Salesforce’s new target: rationalizing medical info

Medicare premiums will be going up for many

Workers don’t do better in unions
Opinion: Workers don’t do better in unions
Raising wages to $15 would raise prices by 4%
L.A.: $15 wage will lift 600,000 out of poverty

Growing doubts among Viacom investors lead to 50% stock drop
Growing doubts among Viacom investors

China stock market to close for World War II anniversary
China tightens controls to fight capital outflows

Guide to managing money from your 20s to your 70s
Guide to managing money from your 20s to your 70s
Take your company pension, or buy an annuity?
Don’t overcomplicate 401(k) transfer to an IRA
Is this all the investing advice you’ll ever need?

Uber drivers lawsuit  endangers much more than Uber
Uber will likely appeal class-action decision
Uber driver suit can proceed as class action

These are the cars that get the most Instagram attention
Best time to buy a new car may be just ahead

10 cities in U.S. with the very worst traffic problems
Lowest Labor Day gas prices in 11 years: AAA
/conga/frontpage.html 354005

Markets »

133.48MDow Volume:
Avg Vol: 113.01M
Unchanged
201
Decliners
1922
Advancers
4480
Price Chg %Chg 1 Day
Range: 1 Day
  • 1 Day
  • 5 Days
  • 1 Month
  • 3 Months
  • 6 Months
  • 1 Year
  • 2 Years
Dow
/quotes/zigman/627449/realtime 16,351 +293 1.82%
Nasdaq
/quotes/zigman/12633936/realtime 4,750 +114 2.46%
S&P 500
/quotes/zigman/3870025/realtime 1,949 +35 1.83%
GlobalDow
/quotes/zigman/629063/realtime 2,313 +0 0.01%
Gold
/quotes/zigman/662444/delayed 1,132 -1 0.12%
Oil
/quotes/zigman/2331095/delayed 46.03 -0.22 0.48%
FTSE 100
/quotes/zigman/3173262/delayed 6,083 +25 0.41%
DAX
/quotes/zigman/2380246/delayed 10,048 +32 0.32%
CAC 40
/quotes/zigman/3173214/delayed 4,555 +14 0.30%
FTSE MIB
/quotes/zigman/1482176/delayed 21,612 +161 0.75%
IBEX 35
/quotes/zigman/2759620/delayed 9,938 -55 0.55%
Stoxx 600
/quotes/zigman/2380150/delayed 354 +1 0.27%
Asia Dow
/quotes/zigman/6959860/realtime 2,709 +6 0.21%
Nikkei 225
/quotes/zigman/5986735/delayed 18,182 +87 0.48%
Hang Seng
/quotes/zigman/2622475/delayed 20,935 -250 1.18%
Shanghai
/quotes/zigman/1859015/delayed 3,160 -6 0.20%
Sensex
/quotes/zigman/1652085/delayed 25,714 +261 1.02%
Singapore
/quotes/zigman/1709939/delayed 2,899 +21 0.73%
Euro
/quotes/zigman/16008136/realtime/sampled 1.12 0.00 0.01%
Yen
/quotes/zigman/16008150/realtime/sampled 120.42 +0.09 0.08%
Pound
/quotes/zigman/16008140/realtime/sampled 1.53 0.00 0.14%
Australia$
/quotes/zigman/16008115/realtime/sampled 0.70 0.00 0.26%
DXY Index
/quotes/zigman/1652083/delayed 95.93 -0.05 0.06%
WSJ $ Idx
/quotes/zigman/41508961/realtime 88.61 +0.06 0.06%
U.S. 10yr
/quotes/zigman/15866666/realtime 2.18 -0.01 0.40%
German 10y
/quotes/zigman/15866409/realtime 0.79 +0.01 1.34%
Italy 10yr
/quotes/zigman/15866497/realtime 1.99 -0.01 0.34%
Spain 10yr
/quotes/zigman/15866444/realtime 2.15 +0.01 0.45%
U.K. 10yr
/quotes/zigman/15866328/realtime 1.82 -0.01 0.55%
Japan 10yr
/quotes/zigman/15866525/realtime 0.41 +0.01 2.40%
Crude Oil
/quotes/zigman/2331095/delayed 46 0 0.48%
Gold
/quotes/zigman/662444/delayed 1,132 -1 0.12%
Corn
/quotes/zigman/7599553/delayed 366 -2 0.48%
DJIA F
/quotes/zigman/38649152/delayed 16,357 +27 0.17%
S&P F
/quotes/zigman/30356461/delayed 1,950 +2 0.12%
Silver
/quotes/zigman/3134148/delayed 15 0 0.15%

Quotes

Symbol Price Change % Change
FB /quotes/zigman/9962609/composite 89.89 2.66 3.05%
AAPL /quotes/zigman/68270/composite 112.34 4.62 4.29%
GOOG /quotes/zigman/30194416/composite 614.34 16.55 2.77%
BAC /quotes/zigman/190927/composite 15.85 0.32 2.06%
C /quotes/zigman/5065548/composite 51.75 0.81 1.59%
F /quotes/zigman/264304/composite 13.87 0.15 1.09%
T /quotes/zigman/398198/composite 32.82 0.50 1.55%
BP /quotes/zigman/247026/composite 32.20 0.06 0.19%
GE /quotes/zigman/227468/composite 24.57 0.69 2.89%
Visit the quote page and your most recently viewed stocks will automatically be displayed here.
Please log in to view your watchlist
MarketWatch Portfolio

World News from MarketWatch

Rates »

5 yr CD
1.5%
2 yr CD
0.8%
1 yr CD
0.6%
MMA $10K+
0.3%
MMA $50K+
0.4%

National averages from Bankrate.com

You Don’t Need Another Credit Card, You Need A Better One.
Avg. APR Last Week 6 Months
Low Interest 11.62% 11.62% 11.53%
Business 12.85% 12.85% 12.85%
Student 13.14% 13.14% 13.14%
Balance Transfer 14.12% 14.12% 14.00%
Airline 15.10% 15.10% 15.15%
Reward 15.14% 15.14% 14.99%
Cash Back 15.27% 15.27% 15.26%
Instant Approval 18.00% 18.00% 17.93%
Bad Credit 22.73% 22.73% 22.48%
Source:CreditCards.com

SPONSORED SECTIONS

Trending Tickers
  • /quotes/zigman/246199/composite XLE+0.92%
  • /quotes/zigman/32032597/composite IMPR-0.20%
  • /quotes/zigman/90651/composite ISRG+1.53%
  • /quotes/zigman/220026/composite BA+2.50%
  • /quotes/zigman/9967980/composite BZQ-1.73%
X
Powered by StockTwits
Link to MarketWatch's Slice.

As of July 2, 2013, the SmartMoney content you loved now lives on MarketWatch.

MarketWatch will continue to provide the same important news and information you rely on every day. And, as a MarketWatch user, you will be able to enjoy:

  • Personalized news and quote email alerts
  • Editorial e-newsletters about personal finance, mutual funds and market-specific coverage
  • Premium newsletters by our market experts
  • Games, such as Virtual Stock Exchange and Beat the Darts
  • Free WSJ.com registration

Email address

Password

Forgot password?

SmartMoney Blogs

Real-Time Advice
Our real-time advice on how market shifts and news impact you and your money

Toyota Boosts Cash-Back Incentives

Faced with a falling market share and bleak profit outlook, analysts say Toyota is reluctantly increasing incentives for customers.

The Japanese carmaker today slashed its profit outlook by more than half for the fiscal year ending next March. “Due to the impact of extreme yen appreciation and the Thai flooding, we had to downgrade our earnings forecast,” Satoshi Ozawa, Toyota’s executive vice president and chief financial officer, said Friday. The company also cut its global vehicle sales outlook to 7.38 million vehicles, down from a previous forecast of 7.60 million, but still above last year’s 7.31 million.

What’s bad for the company’s bottom line may be welcome news for car buyers. Though much of the auto industry is steering away from incentives, Toyota has little choice but to rev up its deals, analysts say. Traditionally conservative when it comes to giving customers cash-back on cars, Toyota has, with little fanfare, increased the average incentive per vehicle. “Their incentives are starting to increase, which effectively means the transaction prices for consumer will drop,” says Larry Dominique, auto analyst for TrueCar.com. Until the company reduces the amount of cars it produces in Japan, he says it will have to offer more incentives like cash-back and even lower APRs.

Toyota’s incentive per vehicle has risen 1.8% from January to November to $2,017, while the U.S. car industry has pulled back on incentives by more than 8% to $2,505 during the same period, according to data collected by TrueCar.com.

Toyota may also scale back the frills on some of its newer models, says Bill Visnic, analyst and senior editor at Edmunds.com. “We will likely see more cars with fewer interior features and materials with slightly less quality, he says. “We’ve already seen delays on upgrades.” He says other car manufacturers have also started cutting back on interior features like automatic dimming rearview mirrors, plush leather furnishings and blue tooth phone connections.

The company faces a tough balancing act, these analyst say: It must improve profits while also trying to win back customers. “Toyota’s incentives have been like a yo-yo,” Visnic says. “They’ve been up, they’ve been down and they’ve been flat.” He says the company’s U.S. market share was 13.9% in November 2011 down from 14.8% in November 2010, and has fluctuated from 15.5% to 10.2% over the last 12 months. “It’s definitely on a downward trend,” Visnic says.

For its part, Toyota says it’s steadily increasing supply since the Japanese earthquake and floods in Thailand earlier this year — and without compromising on quality. “We have a number of new products on the way including the Camry and Prius V,” says Toyota spokesman Steve Curtis. “It puts us into very good shape going into 2012.” But those in the market for a new car may be pleased to hear he doesn’t rule out even more incentives: “Historically, our incentives are much lower than the rest of the industry. That being said, we do have competitive deals out there.”

Comments

We welcome thoughtful comments from readers. Please comply with our guidelines. Our blogs do not require the use of your real name.

Comments (5 of 14)

View all Comments »
    • By WebOsPublisher

      A brief discussion on what is involved in making the text background of the desktop icons transparent.; Author: DavidCrow; Updated: 30 Dec 2004; Section: Programming Tips; Chapter: General Programming; Updated: 30 Dec 2004
      Transparent desktop icons – CodeProject
      var _gaq = _gaq || [];
      _gaq.push(['_setAccount', 'UA-1735123-1']);
      _gaq.push(['_trackPageview']);
      _gaq.push(['_setDomainName', 'codeproject.com']);
      _gaq.push(['_setSessionTimeout', '1200']);
      (function () document.getElementsByTagName(‘body’)[0]).appendChild(ga);
      )();
      9,492,459 members (25,576 online)
      Sign in
      Email
      Password
      Forgot your password?
      home
      articles
      Chapters and Sections>
      Search
      Latest Articles
      Latest Tips/Tricks
      Top Articles
      Beginner Articles
      Technical Blogs
      Posting/Update Guidelines
      Article Help Forum
      Article Competition
      Submit an article or tip
      Post your Blog
      quick answers
      Ask a Question about this
      article
      Ask a Question
      View Unanswered Questions
      View All Questions…
      C# questions
      ASP.NET questions
      VB.NET questions
      C#4.0 questions
      C++ questions
      discussions
      All Message Boards…
      Application Lifecycle>
      Running a Business
      Sales / Marketing
      Collaboration / Beta Testing
      Work $ Training Issues
      Design and Architecture
      ASP.NET
      JavaScript
      C / C++ / MFC>
      ATL / WTL / STL
      Managed C++/CLI
      C#
      Free Tools
      Database
      Hardware $ Devices>
      System Admin
      Hosting and Servers
      Java
      .NET Framework
      Mobile
      VS 11 $ .NET 4.5
      Sharepoint
      Silverlight / WPF
      Visual Basic
      Web Development
      Site Bugs / Suggestions
      features
      Component & Service Catalog
      Competitions
      News
      The Insider Newsletter
      Newsletter archive
      Surveys
      Product Showcase
      CodeProject Stuff
      community
      The Insider News
      The Lounge В 
      The Weird & The Wonderful
      The Soapbox
      Press Releases
      Who’s Who
      Most Valuable Professionals
      Company Listings
      Non-English Language
      >
      General Indian Topics
      General Chinese Topics
      help
      What is ‘CodeProject’?
      General FAQ
      Ask a Question
      Bugs and Suggestions
      Article Help Forum
      Site Map
      Advertise with us
      About Us
      Search within:
      Articles
      Quick Answers
      Messages
      Product Catalog
      Articles » General Programming » Programming Tips » General
      Next
      ArticleBrowse CodeStatsRevisionsAlternatives
      Comments $
      Discussions (26)
      Transparent desktop icons
      By DavidCrow,
      29 Dec 2004
      4.70 (18 votes)
      1
      2
      3
      4
      5
      4.70/5 – 18 votes4 removedОј 4.05, Пѓa 2.91 [?]
      Introduction
      Several years ago, I downloaded a program called TransparentW that would make the text background of the desktop icons transparent. It was cool and made the desktop a whole lot prettier. What struck my fancy was the author’s (Jay Guerette) comment about similar utilities asking for money considering how much time and code was involved.
      I’ve used this utility on nearly all of the machines I’ve worked on and have never given it a second thought. Until today, that is. Curiosity got the best of me and I wanted to know just how much, or how little in this case, code was involved in accomplishing this task. Here are the relevant pieces of code. The first thing to do is find the listview window that owns the desktop icons.
      Finding the right window
      There are two ways of finding the correct window. One is a bit cleaner than the other, but I’ll show both just for comparison purposes.
      My first thought was to use GetDesktopWindow() to find the listview window, but the handle returned was not what I expected. I could, however, use it to enumerate all child windows of the desktop, stopping when the listview window was found.BOOL CALLBACK EnumProc( HWND hWnd, LPARAM )

      TCHAR szClass[128];
      GetClassName(hWnd, szClass, sizeof(szClass));
      if (lstrcmp(szClass, “SysListView32″) == 0)
      return FALSE;
      return TRUE;


      hWnd = GetDesktopWindow();
      if (NULL != hWnd)
      EnumChildWindows(hWnd, EnumProc, 0);
      It looks good, but the problem is that the desktop owns several listview windows.BOOL CALLBACK EnumProc( HWND hWnd, LPARAM )

      TCHAR szClass[128];
      GetClassName(hWnd, szClass, sizeof(szClass));
      if (lstrcmp(szClass, “SysListView32″) == 0)

      GetClassName(GetParent(hWnd), szClass, sizeof(szClass));
      if (lstrcmp(szClass, “SHELLDLL_DefView”) == 0)

      GetClassName(GetParent(GetParent(hWnd)), szClass,
      sizeof(szClass));
      if (lstrcmp(szClass, “Progman”) == 0)

      // we now have the window that is a child of
      // “SHELLDLL_DefView” and a grandchild of “Progman”
      return FALSE;

      return TRUE;

      Notice how the calls to GetParent() could get out of hand, or extra variables would be needed. The window handle can be saved in a global variable, or in the LPARAM parameter. The latter is done via:*((HWND *) lParam) = hWnd;
      assuming that EnumChildWindows() was called with a HWND* variable as the third parameter.
      A slightly more elegant solution is to make a few calls to FindWindowEx(). This looks like:hWnd = FindWindow(“Progman”, NULL);
      // start with FindWindow() to get the initial hWnd
      if (NULL != hWnd)
      hWnd = FindWindowEx(hWnd, NULL, “SHELLDLL_DefView”, NULL);
      if (NULL != hWnd)
      hWnd = FindWindowEx(hWnd, NULL, “SysListView32″, NULL);
      If you’ve never used Spy++ that ships with Visual Studio, this is a very good project to cut your teeth on. When you start the utility, open the Find Window dialog and select the Desktop, with the little crosshair. Notice that the window has no caption and the class is SysListView32. Click the OK button. In the ensuing Window Properties dialog, click the Windows tab. The listview control has a parent (click the handle) belonging to the SHELLDLL_DefView class. This window, in turn, has a parent (click the handle) belonging to the Progman class and has a Program Manager caption.
      Making the change
      Once the correct window handle of the listview control has been obtained, the background color can be changed. A check is done on the current background color to prevent an unnecessary change.// if the window was found, …
      if (NULL != hWnd)

      COLORREF colorBackground =
      ListView_GetTextBkColor(hWnd); // LVM_GETTEXTBKCOLOR
      if (0xffffffff != colorBackground)

      ListView_SetTextBkColor(hWnd, 0xffffffff); // LVM_SETTEXTBKCOLOR
      // add the ‘desktop’ to the update region
      InvalidateRect(hWnd, NULL, TRUE);
      // paint the update regions
      UpdateWindow(hWnd);

      Now since the desktop window can be refreshed at any time (e.g., games), the background color will then be reverted back to its non-transparent state. One solution is to couple this code with a timer of some sort and re-check the background color periodically.
      Notes
      While this method works fine (for most folks), it is still considered a “hack”, and thus a more preferred method was born. See here for details. I don’t agree with their “These programs not only consume valuable memory and processing time…” statement, however. Their solution actually modifies an OS file. That’s all well and good, but they claim it is against company policy to disclose which file(s) are altered. I was able to get the name of the file, however.
      Enjoy!
      License
      This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.A list of licenses authors might use can be found here
      About the Author
      DavidCrow
      Software Developer (Senior)
      Pinnacle Business Systems
      United States
      Member
      The page you are looking for might have been removed, had its name changed, or is temporarily unavailable.
      HTTP 404 – File not found
      Internet Information Services
      Article Top
      Tweet
      Sign Up to vote
      Poor
      Excellent
      Add a reason or comment to your vote: x
      Votes of 3 or less require a comment
      Comments and Discussions
      You must Sign In to use this message board.
      Search this forum
      Profile popups Spacing
      RelaxedCompactTight
      Noise
      Very HighHighMediumLowVery Low
      Layout
      NormalOpen TopicsOpen AllThread ViewNo JavascriptPreview
      Per page
      102550
      First PrevNext
      Thanks for the info! – just what I needed Fred Koschara2:49 11 Jun ’06
      I wish I had seen this article *before* I paid PC Magazine to download SeeThru, thinking there would be source code with the program (there wasn’t).
      My biggest question, now, is if there’s a system hook I can install that will tell me when the desktop is going to be repainted, so I don’t have to use a timer to keep it updated. Any ideas, anybody?
      I also came across the NixSoftware site at about the same time I found this article, and I find their “solution” scary. It won’t work in my case, either, where I’m writing a program that needs to maintain transparent icon label backgrounds: What should I do, tell my customers they have to patch their O/S files to get my program to work? Uh-uh, that’s not in my plans!
      I’m really curious which file they alter, though….
      – Fred Koschara
      ________________________________________________________________________
      Ignorance can easily be cured by knowledge, stupidity is generally only cured by death…
      Truth and Falsehood were bathing. Falsehood came out of the water first and dressed herself in Truth’s clothes. Truth, unwilling to put on the garments of Falsehood, went naked. (Author Unknown)
      The “war on terror” is a sham: There is no real protection against suicidal maniacs spurred on by creative madmen. In the end, the only outcomes will be the destruction of the American economy due to pouring a bankrupting stream of wealth into a bottomless pit, and the final destruction of personal liberty in the name of “security.” (When was the last time you were asked for “Your papers, please?” – er, that is, “License and registration?”)
      PhotoByFred.com, your daily dose of art
      L5 Development Group – private sector (commercial) space development
      Sign up for the free Space History newsletter
      FKE Internet, Web hosting for space related business
      Domain registration – $15.95/year, $29.95 for 2 years
      Edge Lit Boston and Other Photos – limited edition prints available
      L5 Software Development – “Out of this world” sites & software
      ThmIndxr™, the *only* HTML thumbnail/indexer you need!
      wCapLock™, makes CapsLock work like it does on a typewriter
      How much did your last traffic ticket cost you? StopHighwayRobbery.com
      FredLines™, T-Shirts For the Thinking Mind™ – You’ve seen them, now wear them!
      wfredk.com, my personal Web page – stop by some time!
      Sign InВ·View ThreadВ·Permalink
      Finding Name of Icons BBJ_NYC15:47 12 Aug ’05
      I’ve been searching th web looking for a way to get a list and location of Icons on the desktop. I found this code helpful, to a point. Once the HWND for SysListView32 is found how do we go through it icon by icon. Unless I missed it this code snippet doesn’t show that functionality.
      Thanks.
      Sign InВ·View ThreadВ·Permalink
      Re: Finding Name of Icons DavidCrow16:14 13 Aug ’05
      Once you have a handle to the desktop window, look at:
      FindWindow()
      FindWindowEx()
      EnumChildWindows()
      “One must learn from the bite of the fire to leave it alone.” – Native American Proverb
      Sign InВ·View ThreadВ·Permalink
      Re: Finding Name of Icons BBJ_NYC5:15 1 Sep ’05
      Hi, thanks for the help. I’m still having problems though. I’m using FindWindow() and FindWindowEx() to get a HWND to the desktop. I used the debugger and spy++ to confirm that I have the correct pointer. I then call ListView_GetItemCount( hwnd ) which returns the correct number of items on my desktop. However when I loop through calling ListView_GetItemText() my windows explorer crashes. The only other info I’ve found on the web is in VB and mentions something with having to use Shared Memory Maps to access the items in the SysListView32 Object. Do you no if a similar strategy is needed with MFC?
      Or maybe there is a better way that you know of to get the text and positions of the icons on the desktop.
      Thanks for the help.
      Sign InВ·View ThreadВ·Permalink
      Re: Finding Name of Icons DavidCrow4:29 2 Sep ’05
      BBJ_NYC wrote:
      I’m using FindWindow() and FindWindowEx() to get a HWND to the desktop.
      Why, when GetDesktopWindow() is a lot more intuitive?
      As far as needing CreateFileMapping() and MapViewOfFile() goes, I’m not sure. Give it a try and see what happens.
      “One must learn from the bite of the fire to leave it alone.” – Native American Proverb
      — modified at 14:32 Friday 2nd September, 2005
      Sign InВ·View ThreadВ·Permalink
      Re: Finding Name of Icons Rocky-DTT18:21 15 May ’06
      I have the same problem as BBJ_NYC.
      I can get the item counts of my desktop.
      int nCount = ListView_GetItemCount(hWnd);
      But falied to get item text as:
      char buff[_MAX_PATH];
      for(int i=0; i
      Sign InВ·View ThreadВ·Permalink
      Works Great! John Simmons / outlaw programmer4:02 4 May ’05
      I put it into a simple dialog-based app, and it works as expected. Manu thanks (and so few lines of code to make it go!).
      ——- sig starts
      “I’ve heard some drivers saying, ‘We’re going too fast here…’. If you’re not here to race, go the hell home – don’t come here and grumble about going too fast. Why don’t you tie a kerosene rag around your ankles so the ants won’t climb up and eat your candy ass…” – Dale Earnhardt
      “…the staggering layers of obscenity in your statement make it a work of art on so many levels.” – Jason Jystad, 10/26/2001
      Sign InВ·View ThreadВ·Permalink
      Source code ? Sample ? Razr33318:56 31 Dec ’04
      I’m rate it work – 1 !
      Hi, all
      Sign InВ·View ThreadВ·Permalink
      Re: Source code ? Sample ? Sebastian Pipping5:08 13 Aug ’06
      I wrote a tool using the same technique some time ago.
      Source and installer can be found here:
      transparentizer_131_setup.exe
      transparentizer_131_source.zip
      ——————————————-
      My website: hartwork.org
      Sign InВ·View ThreadВ·Permalink
      code doesn’t work in VC++ 6.0 drake2815:10 28 Dec ’04
      hWnd isn’t defined in the code. Base on CALLBACK procedure, assuming HWND data type. Making it a CWnd pointer generates even more errors.
      VC errors are:error C2440: ‘=’ : cannot convert from ‘class CWnd *’ to ‘struct HWND__ *’
      error C2660: ‘InvalidateRect’ : function does not take 3 parameters
      error C2660: ‘UpdateWindow’ : function does not take 1 parameters
      I didn’t even bother to try fixing the code… Next time you write an article try posting a working example..
      Sign InВ·View ThreadВ·Permalink
      PS. drake2815:27 28 Dec ’04
      drake28 wrote:
      error C2440: ‘=’ : cannot convert from ‘class CWnd *’ to ‘struct HWND__ *’
      The problem is (well, one anyway) that FindWindow() returns a CWnd* value, while FindWindowEx() returns an HWND value, so you obviously can’t use the same var to hold both function returns — at least not without doing some sort of type-casting.
      Not even mentioning the problems with the calls to InvalidateRect() and UpdateWindow() … I would like to know what compiler you got this code to work on, if it was even tested.
      Sign InВ·View ThreadВ·Permalink
      Re: PS. DavidCrow16:31 28 Dec ’04
      drake28 wrote:
      The problem is (well, one anyway) that FindWindow() returns a CWnd* value, while FindWindowEx() returns an HWND value, so you obviously can’t use the same var to hold both function returns — at least not without doing some sort of type-casting.
      You have mistakingly assumed that this is an MFC project. Both function calls are correct.
      drake28 wrote:
      Not even mentioning the problems with the calls to InvalidateRect() and UpdateWindow()
      There are no problems with either function call. Perhaps your use of the code is incorrect.
      drake28 wrote:
      I would like to know what compiler you got this code to work on, if it was even tested.
      You should have noticed VC6 at the top of this article.
      Any other complaints I can help you with?
      “Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion.” – David Crow
      Sign InВ·View ThreadВ·Permalink
      Re: PS. drake2812:42 29 Dec ’04
      DavidCrow wrote:
      You have mistakingly assumed that this is an MFC project.
      Yep… my mistake!
      DavidCrow wrote:
      Perhaps your use of the code is incorrect.
      Perhaps… see above. I was trying to plug it into a MFC app.
      DavidCrow wrote:
      Any other complaints I can help you with?
      Yep.. my point still stands. None of the articles on this site present “full-blown” apps. Even if you are only presenting “snippets” your functions should be complete (commenting is very helpful).
      Your article should not only explain how the code works, but how to implement the code in various apps — and including examples is a big plus.
      Remember, whatever the topic of your article, the readers who already know how to implement that technology probably won’t bother reading the article. So you should assume that your readers know nothing about what you are writing about, so an article that leaves it up to them to figure it out is a poorly written article — sort of like a users manual that gives you a couple diagrams but doesn’t bother telling you which wire goes where or what jumpers should be set. Yeah, if you’ve installed the product 100 times, you probably don’t need that information, but someone installing for the first time will be lost.
      Your signature is right on. I cannot change your opinion, and I’m NOT criticizing your topic. It was a GREAT topic for an article. However, to be a GREAT article, you need to be more thorough in your presentation, particularly relating to the explanation and implementation of your code.
      Just FWIW….
      Sign InВ·View ThreadВ·Permalink
      Re: PS. DavidCrow2:32 30 Dec ’04
      drake28 wrote:
      I was trying to plug it into a MFC app.
      Why? Nothing is gained, except bloat, by introducing MFC to something like this. It serves no purpose.
      drake28 wrote:
      None of the articles on this site present “full-blown” apps.
      You must not have read many of them. In fact, most articles come complete with working programs.
      drake28 wrote:
      Your article should not only explain how the code works…
      What I presented is explained, both with comments and in the article text itself. It is well understood by those with a firm grasp of the Windows SDK.
      drake28 wrote:
      …how to implement the code in various apps — and including examples is a big plus.
      That’s what C++/SDK primers are for, which is way out of scope for this and most other articles not titled something like “A Beginner’s Guide On How To Program Windows In C++.”
      “Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion.” – David Crow
      Sign InВ·View ThreadВ·Permalink
      Re: PS. drake283:55 30 Dec ’04
      DavidCrow wrote:
      Why? Nothing is gained, except bloat, by introducing MFC to something like this.
      Namely, because I have an MFC app that allows user to change desktop content through the IActiveDesktop interface. Without controlling also the Background “color” this can yield ugly results. But, you are right, I decided not to waste my time with this solution and continue using SetSysColors instead. For my purposes, this works fine — but who knows, maybe in the future I implement image blending or full-screen images and might be nice to find a better solution. I think there are plenty of reasons someone may want to use something like this in an MFC app.
      DavidCrow wrote:
      In fact, most articles come complete with working programs.
      I guess we’re quarreling over semantics. If you call a shell dialog app with the function or class in question plugged in a “full-blown” app then I would agree. I saw a Win32 command line app demonstrating DLL’s that you entered a number on the command line and it returned it’s square from a dll function. I guess that would also qualify as a “full-blown” app. At least the reader can view his code “in context” and see how everything is hooked up. That’s a great learning tool – which is really the point of sites like this. It’s not meant to be a giant cut/paste archive, but rather a learning tool.
      DavidCrow wrote:
      That’s what C++/SDK primers are for, which is way out of scope for this and most other articles
      I completely disagree. To say here a few lines of code, now go an buy some books to figure out how to use it COMPLETELY misses the point of this project. Read ANY of Chris’s articles as a case in point. See his article on subclassing controls. It’s not an exhaustive treatise on subclassing in general, but it’s a VERY thorough article on subclassing a button. He doesn’t just give code, but explains how subclassing controls works, takes you through the procedure a-z, and gives sample code to look at. Now, that’s a GREAT article.
      But I’m beating a dead horse now. I meant for my original remarks to be constructive criticism. You can write what you want. But look at the articles rated 4.+ and the one’s rated 2.+ and what I’ve discussed here is the difference.
      If you don’t agree, that’s fine. Put my comments in file 13 and move on.
      Sign InВ·View ThreadВ·Permalink
      Re: PS. DavidCrow4:58 30 Dec ’04
      drake28 wrote:
      Namely, because I have an MFC app that allows user to change desktop content through the IActiveDesktop interface. Without controlling also the Background “color” this can yield ugly results. But, you are right, I decided not to waste my time with this solution and continue using SetSysColors instead. For my purposes, this works fine — but who knows, maybe in the future I implement image blending or full-screen images and might be nice to find a better solution. I think there are plenty of reasons someone may want to use something like this in an MFC app.
      Based on this, you are obviously not a beginner (i.e., beginners do not know that the ‘I’ in IActiveDesktop stands for interface, or that ‘image blending’ is a concept). How is it then that you were not able to take a few example lines of code and successfully plug them into an MFC application?
      drake28 wrote:
      I guess we’re quarreling over semantics. If you call a shell dialog app with the function or class in question plugged in a “full-blown” app then I would agree. I saw a Win32 command line app demonstrating DLL’s that you entered a number on the command line and it returned it’s square from a dll function. I guess that would also qualify as a “full-blown” app.
      Perhaps. A program’s simplicity or size does not govern whether it is “full blown” or not.
      drake28 wrote:
      To say here a few lines of code, now go an buy some books to figure out how to use it COMPLETELY misses the point of this project.
      Did you fail to read the scope of the article? The problem was to simply show how to make the desktop icons have transparent text, nothing more. I showed just that, nothing more. The goal is for the “answer” to match the “question.”
      drake28 wrote:
      I meant for my original remarks to be constructive criticism.
      What you meant to do and what you actually did were two different things. While you did criticize, there was nothing constructive about it. Had the code actually been wrong or had I failed to solve the problem mentioned at the top of the article, your remarks would have merit.
      drake28 wrote:
      But look at the articles rated 4.+ and the one’s rated 2.+ and what I’ve discussed here is the difference.
      It is very naive of you to think that 2.+ articles are “bad” and that 4.+ articles are “good.” Those numbers are only meaningful to the person that voted them. That’s almost as silly as going to see a movie soley based on what a critic says, or patronizing an auto mechanic solely because of an experience your neighbor had.
      “Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion.” – David Crow
      Sign InВ·View ThreadВ·Permalink
      Re: PS. drake284:17 30 Dec ’04
      DavidCrow wrote:
      It is well understood by those with a firm grasp of the Windows SDK.
      EXACTLY! So how many readers did you just eliminate from finding your article useful? Let’s see… Your article is over one year old, it’s been viewed nearly 15,000 times, yet only 5 (count ‘em – FIVE) members have bothered rating it (and that includes ME), and it has a popularity rating of 2.29
      I rest my case!!
      Sign InВ·View ThreadВ·Permalink
      Re: PS. DavidCrow4:36 30 Dec ’04
      drake28 wrote:
      So how many readers did you just eliminate from finding your article useful?
      That’s impossible to know unless a comment is provided, even then the results would be skewed. Ratings are rather worthless in my opinion. With the exception of a few, I’ve looked at most of the C++/MFC articles. I’ve rated none of them. Since it’s highly probable that I am not the only one that does that, the true worth/usefulness of an article will never be known based on ratings alone.
      drake28 wrote:
      …it’s been viewed nearly 15,000 times…
      Which is not the same thing as being read nearly 15,000 times.
      drake28 wrote:
      …yet only 5 (count ‘em – FIVE) members have bothered rating it…
      That’s why ratings mean absolutely nothing. If all 15,000 viewers had provided a rating and the result was still 2.29, then you might have a point. As it stands, you don’t. With only five votes, you could not even extrapolate a near-useful number.
      “Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion.” – David Crow
      Sign InВ·View ThreadВ·Permalink
      Re: PS. tom_dx4:40 30 Dec ’04
      don’t dis him like that, i bet his article is more popular than you’ll ever be with your comments.
      IM PROUD TO BE A GMAIL;
      Sign InВ·View ThreadВ·Permalink
      Re: code doesn’t work in VC++ 6.0 DavidCrow16:25 28 Dec ’04
      drake28 wrote:
      hWnd isn’t defined in the code.
      That’s because it is a code snippet. Had I meant for this to a full-blown program, you would have (hopefully) seen a “Download demo project” link at the top.
      drake28 wrote:
      I didn’t even bother to try fixing the code
      Good, because there’s nothing to fix.
      drake28 wrote:
      Next time you write an article try posting a working example..
      Why? Then you’d have nothing to do. As I indicated before, not to mention the lack of a main() function, this was not meant to be a full-blown example.
      “Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion.” – David Crow
      Sign InВ·View ThreadВ·Permalink
      tranicon.exe, terminate and stay resident Kristijan M.3:40 22 Mar ’04
      yep,
      and thats why tranicon.exe (a tool from the tweakxp utilities which makes the desktop icons transparent) stays memory resident… the timer.
      Sign InВ·View ThreadВ·Permalink
      Intensive ways to deal with desktop icons chrisy0:43 26 Nov ’03
      esoft.co.il/Products/SecureDesktop/SecureDesktop_products.html
      Sign InВ·View ThreadВ·Permalink
      Try to implement another thing sotnikov21:03 18 Nov ’03
      What about to make desktop icons semi-transparent?
      Sign InВ·View ThreadВ·Permalink
      An idea… Ravi Bhavnani12:37 18 Nov ’03
      Neat. Now you’ve got me thinking… what would happen if you set the style of the desktop list control to report mode, with checkboxes, etc.
      /ravi
      Let’s put “civil” back in “civilization”
      Home | Articles | Freeware | Music
      ravib@ravib.com
      Sign InВ·View ThreadВ·Permalink
      Re: An idea… jdunlap13:43 18 Nov ’03
      You mean you hadn’t thought of that before?
      “Love does not delight in evil but rejoices with the truth.” — 1 Corinthians 13:6 FLUID UI Toolkit | FloodFill in C# $ GDI+
      Sign InВ·View ThreadВ·Permalink
      Last Visit: 3:13 2 Sep ’12 Last Update: 17:02 7 Dec ’12 Refresh12 Next В»
      General News Suggestion Question Bug Answer Joke Rant Admin Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.
      About Article
      A brief discussion on what is involved in making the text background of the desktop icons transparent.
      Type Article
      Licence
      First Posted 17 Nov 2003
      Views 112,863
      Bookmarked 33 times
      VC6Win2KDevIntermediate
      Top News
      Project Oberon – The Design of an Operating System and Compiler [PDF]
      Get the Insider News free each morning.
      Related Articles
      Transparent Desktop Video
      Iconizer
      Programmatically resize Desktop icons to a small list in Windows Vista and Windows 7
      Making any application transparent in Windows 2000/XP
      Multiple Desktops
      Making Transparent Controls – No Flickering
      Quick and Dirty Window Transparency
      Transparent Menu
      Transparent Splash Screen
      BigClock with Transparent Background
      Transparent ListBox
      Transparent, Click-Through Forms
      Transparent group box
      Transparent CSliderCtrl Class
      Extracting Icons from EXE/DLL and Icon Manipulation
      Transparent digital clock
      StyleDialog – A transparent dialog class with an optional custom frame
      The Paperless Desktop
      (Desktop) Falling Snowflakes
      Virtual Desktop: A Simple Desktop Management Tool
      Permalink |
      Advertise |
      Privacy |
      Mobile
      Web01 |
      2.6.121206.1 |
      Last Updated 30 Dec 2004
      Article Copyright 2003 by DavidCrowEverything else
      Copyright © CodeProject, 1999-2012
      Terms of Use
      Layout: fixed
      |
      fluid
      //

    • This outstanding web site is really a issue you require on the net, an individual possessing a modest originality.

    • You could have the top rated internet site written content material on the globe Community

    • do you concepts upgrading your blog with an increase of details? It truly is fairly beneficial for us.

    • Fascinating write-up. Offered my personal encounter

About Real-Time Advice

  • How breaking news — in the markets, Washington, and around the world — affects you and your money. Have a question about how current events may change your financial future? Email us at ask@smartmoney.com.

MarketWatch - Stock Market Quotes, Business News, Financial News
Bulletin
Investor Alert

London Markets Open in:

need to know
Apple's biggest challenge: Topping iPhone 6
Petco gets private equity interest amid IPO
Planet Fitness rises after earnings beat
Five Below shares tank in late trading
Oil stages turnaround to top $46 a barrel
The 11 richest people on the planet under 35
How estate planning can be stress-free
Get last-minute, cheap Broadway tickets
Babe Ruth’s New York apartment is for sale

Almond milk and other notable Fed nuggets

Where every Fed member stands on raising rates  
Fed Beige Book finds increasing wage pressures
Where every Fed member stands on rates
Rate-hike question is what Yellen didn’t want
Boston Fed president: Sept. doubt remains

Bill Gross calls a Fed rate hike ‘too little, too late’
FDIC chief: Rates may catch banks off-guard
Junk-bond stress level climbs to 5-year high

History’s lessons in surviving market crashes

They tangled with student debt all summer
College help for low-income families

Why gold now looks more risky than stocks
Why gold now looks more risky than stocks: Reeves
Still too many gold market bulls: Mark Hulbert

GoPro’s stock rocked by supplier’s outlook

Intel hopes its chip retool can revive PC sales

Private sector adds 190,000 jobs in August: ADP

U.S. productivity rises at fastest pace since end of 2013
Productivity rises at fastest pace since end of 2013

Donald Trump, Hillary Clinton playing game of liar’s poker with the voters
Trump, Clinton play game of liar’s poker: Delamaide
Bush mounts ‘germophobe’ attack on Trump

Salesforce’s new target: rationalizing medical info

Medicare premiums will be going up for many

Workers don’t do better in unions
Opinion: Workers don’t do better in unions
Raising wages to $15 would raise prices by 4%
L.A.: $15 wage will lift 600,000 out of poverty

Growing doubts among Viacom investors lead to 50% stock drop
Growing doubts among Viacom investors

China stock market to close for World War II anniversary
China tightens controls to fight capital outflows

Guide to managing money from your 20s to your 70s
Guide to managing money from your 20s to your 70s
Take your company pension, or buy an annuity?
Don’t overcomplicate 401(k) transfer to an IRA
Is this all the investing advice you’ll ever need?

Uber drivers lawsuit  endangers much more than Uber
Uber will likely appeal class-action decision
Uber driver suit can proceed as class action

These are the cars that get the most Instagram attention
Best time to buy a new car may be just ahead

10 cities in U.S. with the very worst traffic problems
Lowest Labor Day gas prices in 11 years: AAA
/conga/frontpage.html 354005

Markets »

133.48MDow Volume:
Avg Vol: 113.01M
Unchanged
201
Decliners
1922
Advancers
4480
Price Chg %Chg 1 Day
Range: 1 Day
  • 1 Day
  • 5 Days
  • 1 Month
  • 3 Months
  • 6 Months
  • 1 Year
  • 2 Years
Dow
/quotes/zigman/627449/realtime 16,351 +293 1.82%
Nasdaq
/quotes/zigman/12633936/realtime 4,750 +114 2.46%
S&P 500
/quotes/zigman/3870025/realtime 1,949 +35 1.83%
GlobalDow
/quotes/zigman/629063/realtime 2,313 +0 0.01%
Gold
/quotes/zigman/662444/delayed 1,132 -1 0.12%
Oil
/quotes/zigman/2331095/delayed 46.03 -0.22 0.48%
FTSE 100
/quotes/zigman/3173262/delayed 6,083 +25 0.41%
DAX
/quotes/zigman/2380246/delayed 10,048 +32 0.32%
CAC 40
/quotes/zigman/3173214/delayed 4,555 +14 0.30%
FTSE MIB
/quotes/zigman/1482176/delayed 21,612 +161 0.75%
IBEX 35
/quotes/zigman/2759620/delayed 9,938 -55 0.55%
Stoxx 600
/quotes/zigman/2380150/delayed 354 +1 0.27%
Asia Dow
/quotes/zigman/6959860/realtime 2,709 +6 0.21%
Nikkei 225
/quotes/zigman/5986735/delayed 18,182 +87 0.48%
Hang Seng
/quotes/zigman/2622475/delayed 20,935 -250 1.18%
Shanghai
/quotes/zigman/1859015/delayed 3,160 -6 0.20%
Sensex
/quotes/zigman/1652085/delayed 25,714 +261 1.02%
Singapore
/quotes/zigman/1709939/delayed 2,899 +21 0.73%
Euro
/quotes/zigman/16008136/realtime/sampled 1.12 0.00 0.01%
Yen
/quotes/zigman/16008150/realtime/sampled 120.42 +0.09 0.08%
Pound
/quotes/zigman/16008140/realtime/sampled 1.53 0.00 0.14%
Australia$
/quotes/zigman/16008115/realtime/sampled 0.70 0.00 0.26%
DXY Index
/quotes/zigman/1652083/delayed 95.93 -0.05 0.06%
WSJ $ Idx
/quotes/zigman/41508961/realtime 88.61 +0.06 0.06%
U.S. 10yr
/quotes/zigman/15866666/realtime 2.18 -0.01 0.40%
German 10y
/quotes/zigman/15866409/realtime 0.79 +0.01 1.34%
Italy 10yr
/quotes/zigman/15866497/realtime 1.99 -0.01 0.34%
Spain 10yr
/quotes/zigman/15866444/realtime 2.15 +0.01 0.45%
U.K. 10yr
/quotes/zigman/15866328/realtime 1.82 -0.01 0.55%
Japan 10yr
/quotes/zigman/15866525/realtime 0.41 +0.01 2.40%
Crude Oil
/quotes/zigman/2331095/delayed 46 0 0.48%
Gold
/quotes/zigman/662444/delayed 1,132 -1 0.12%
Corn
/quotes/zigman/7599553/delayed 366 -2 0.48%
DJIA F
/quotes/zigman/38649152/delayed 16,357 +27 0.17%
S&P F
/quotes/zigman/30356461/delayed 1,950 +2 0.12%
Silver
/quotes/zigman/3134148/delayed 15 0 0.15%

Quotes

Symbol Price Change % Change
FB /quotes/zigman/9962609/composite 89.89 2.66 3.05%
AAPL /quotes/zigman/68270/composite 112.34 4.62 4.29%
GOOG /quotes/zigman/30194416/composite 614.34 16.55 2.77%
BAC /quotes/zigman/190927/composite 15.85 0.32 2.06%
C /quotes/zigman/5065548/composite 51.75 0.81 1.59%
F /quotes/zigman/264304/composite 13.87 0.15 1.09%
T /quotes/zigman/398198/composite 32.82 0.50 1.55%
BP /quotes/zigman/247026/composite 32.20 0.06 0.19%
GE /quotes/zigman/227468/composite 24.57 0.69 2.89%
Visit the quote page and your most recently viewed stocks will automatically be displayed here.
Please log in to view your watchlist
MarketWatch Portfolio

World News from MarketWatch

Rates »

5 yr CD
1.5%
2 yr CD
0.8%
1 yr CD
0.6%
MMA $10K+
0.3%
MMA $50K+
0.4%

National averages from Bankrate.com

You Don’t Need Another Credit Card, You Need A Better One.
Avg. APR Last Week 6 Months
Low Interest 11.62% 11.62% 11.53%
Business 12.85% 12.85% 12.85%
Student 13.14% 13.14% 13.14%
Balance Transfer 14.12% 14.12% 14.00%
Airline 15.10% 15.10% 15.15%
Reward 15.14% 15.14% 14.99%
Cash Back 15.27% 15.27% 15.26%
Instant Approval 18.00% 18.00% 17.93%
Bad Credit 22.73% 22.73% 22.48%
Source:CreditCards.com

SPONSORED SECTIONS

Trending Tickers
  • /quotes/zigman/246199/composite XLE+0.92%
  • /quotes/zigman/32032597/composite IMPR-0.20%
  • /quotes/zigman/90651/composite ISRG+1.53%
  • /quotes/zigman/220026/composite BA+2.50%
  • /quotes/zigman/9967980/composite BZQ-1.73%
X
Powered by StockTwits
Link to MarketWatch's Slice.

As of July 2, 2013, the SmartMoney content you loved now lives on MarketWatch.

MarketWatch will continue to provide the same important news and information you rely on every day. And, as a MarketWatch user, you will be able to enjoy:

  • Personalized news and quote email alerts
  • Editorial e-newsletters about personal finance, mutual funds and market-specific coverage
  • Premium newsletters by our market experts
  • Games, such as Virtual Stock Exchange and Beat the Darts
  • Free WSJ.com registration

Email address

Password

Forgot password?