Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » Code   (RSS)

What a drag: You can be a drag in managed code, too

Creating something from nothing.
Posted by oldnewthing | 12 Comments
Filed under: ,

How do I create a toolbar that sits in the taskbar?

It's called a deskband.
Posted by oldnewthing | 12 Comments
Filed under:

If you have to cast, you can't afford it

Casts are the source of most alignment problems.
Posted by oldnewthing | 41 Comments
Filed under:

Important window message numbers to memorize

You probably know them already.
Posted by oldnewthing | 11 Comments
Filed under:

Don't use global state to manage a local problem, practical exam

Changing application settings for a single worksheet.
Posted by oldnewthing | 3 Comments
Filed under: ,

LoadString can load strings with embedded nulls, but your wrapper function might not

Check that those double-null-terminated strings really are.
Posted by oldnewthing | 14 Comments
Filed under:

What is the format of a double-null-terminated string with no strings?

It's just a single null terminator.
Posted by oldnewthing | 31 Comments
Filed under:

The ways people mess up IUnknown::QueryInterface, episode 3

An example of how it causes problems.
Posted by oldnewthing | 20 Comments
Filed under:

Why do messages posted by PostThreadMessage disappear?

The only thread message you can meaningfully post to a thread displaying UI is WM_NULL.
Posted by oldnewthing | 8 Comments
Filed under:
More Posts Next page »
 
Page view tracker