Hi Max,
The file, I suggested, is based on George's obj2bmp, but it's just a button. You place it on the form, set few properties and your screen is captured into bmp. Very simple. (You may even make it invisible, if you like)
>Thank u very much.
>
>There is a little bit complex for my jobs to use that obj2bmp
>
>I just want a simple function to get the picture file.
>
>If there is no simple way, i'd spent more time to study the obj2bmp.
>
>Thanks again.
>
>
>
>>>FUNCTION gvPrintScreen
>>>*- captrue screen to clipboard
>>>DECLARE INTEGER keybd_event IN Win32API ;
>>> INTEGER, INTEGER, INTEGER, INTEGER
>>>VK_SNAPSHOT = 44
>>>keybd_event(VK_SNAPSHOT, 1, 0, 0)
>>>*-----
>>>
>>>I use the above function print screen to clipboard,
>>>
>>>but how to transfer to pic to file ?
>>>
>>>Any suggustion ?
>>>
>>>TIA.
>>>
>>>max.
>>
>>In addition to Nadya's suggestion there's also by Obj2Bmp program that can capture forms or any of the individual objects on them. It's also in the download section.
If it's not broken, fix it until it is.
My Blog