I wish to take a screenshot of a particular screen window and save it to file from a program.
I have hooked into the program and when the particular screen i want the screen grab of loads ( i do this using the window title ) i grab the screen.
now, this is working and i'm using WM_WINDOWPOSCHANGING as the event to do the creation, however as it looks like the screen hasn't finished drawing when this message is sent i don't get a screen shot with all the components on it. i only get half of them.
Can anyone suggest a message or method for when or where i can grab the screen and it will have finished drawing??