number1: use CreateCompatibleDC to create a memory device context.
then use BitBlt to copy your specifiq portion from source to newly created...
/*I wanted to create Caret Over my "DiaryCom" window which is a child window but it dont work, I need some help.
only two function are given where...
thanks, but if my memory serves well i can say that InvalidateRect will erase Buttons from the main window too.
the problem with below program is i want to erase background when i press the button. how it is possible and what is wrong with the program. is...
I am using visual c 8.0
int __stdcall WinMain(HINSTANCE hHinstance,HINSTANCE hPrevInstance, LPSTR lpStr,int nShowCmd)
thanks but i need some documantation by which i can learn how to do RPC program in Win32. the answer you give in repaint prob is extraordinary
is there any kind of function by which i can retrive the class of specifide window handle.
How Can i learn RPC. suggest me book or anything
do your all Drawing under WM_PAINT message. your painting wont loose again. you can try another way. is CreateCompatibleDC() func by using this...
hello i am quite a new programmer.
well i have problem with focus.
if i create a custom window as child to main window it dont get focus. so i...
you can also use PostQuiteMessage(0) with any button or menu you want
sprintf(szBuffer, "0x%08x", hwnd);
i dont think it will work properly, you may get...
"Win32 programming" i have a release from 1998 but not good without its CD
"Windows Programming, 5th edition" till now its a fine book
Separate names with a comma.