Tech Support > Microsoft Windows > Development Resources > pointers in centura
pointers in centura
Posted by viswabharathy.m@gmail.com on October 25th, 2007


Hi all,
I am using the GDI Function StretchDIBits() in centura.

How to get the Bitmap data pointer and Bitmap header structure, which
goes as the parameter to that function.

thanks in advance

viswa

Posted by Christian ASTOR on October 25th, 2007


viswabharathy.m@gmail.com wrote:

See samples like capture.zip I had posted on Centura newsgroups.

Posted by viswabharathy.m@gmail.com on October 29th, 2007


On Oct 25, 10:41 pm, Christian ASTOR <casto...@club-internet.fr>
wrote:
Hi Christian,
I searched the newsgroups, but i couldn't find the samples like
capture.zip.

I'll explain my issue below.
we used StretchBlt() for stretching. it works fine for some printers,
but the system reboots for some printers.
so, we decided to use DIB function StretchDIBits().

StretchDIBits(hdc, pos_x, pos_y, size_x, size_y, 0,0,
bmWidth,bmHeight, bmBits,bitmapInfo, DIB_RGB_COLORS,SRCCOPY);

I want to get the bmBits,bitmapInfo paramteters which is a pointer to
the struture.
Could you pls help me out to get those parameters.
or is there any alternative function for stretching?


Posted by Christian ASTOR on October 29th, 2007


viswabharathy.m@gmail.com wrote:

Old news server : talkto.guptaworldwide.com
Newsgroup : forum.sourcecode
Thread : Re: PrintScreen capture
Date : 17/03/2004 19:57


Similar Posts