No, you cannot. BitBlt only copies what's on the screen. If the window is hidden (or overlapped by another window), you will get nothing.

But that's not a problem for mIRC as it draws its graphics on the hidden memory DC (CreateCompatibleDC(), CreateCompatibleBitmap(), etc.), blitting it onto the screen when necessary. Therefore, saving the contents of the window becomes trivial.


Sincerely,
Necroman, #mIRC @ Undernet