Can anyone explain the situations in which SelectObject will return NULL? I'm writing code to print a bitmap (see my message in the discussion for the article "Printing Made Easy") and it is returning NULL. My bitmap and memDC appear to be fine. Thanks in advance.