Thread View: cn.bbs.comp.program
1 messages
1 total messages
Started by ����
Sat, 10 Jan 1998 00:00
Re: �����BC5�е���*.BMP�ļ���ʾ��using OWL)!
Author: ����
Date: Sat, 10 Jan 1998 00:00
Date: Sat, 10 Jan 1998 00:00
35 lines
1558 bytes
1558 bytes
�� �� Senith_Zhao@bbs.ustc.edu.cn (���еķ�) �Ĵ������ᵽ: ��
: �����λ����ָ��һ�²��裡
: ��л�ˣ�
using TDib or TBitmap:
������£�
����TDib����:
TDib* YourDib = new TDib("���bmp���������");
�����ڴ�DC,����λͼ����ѡ���DC.
TDibDC* YourDibDC = new TDibDC(*yourDib);
�������ʾ���ڵ�Paint( )�����м��룺
void
TYourDisplayWindow::Paint(TDC& dc, bool, TRect&)
{
......
dc.BitBlt(0, 0, YourDib->Width( ), YourDib->Height( )
YourDibDC, 0, 0);
......
}
��ʾ�Ĺ�̸�ʹ��SDK��ͬ��
TDib��װ��DIB, TDibDC ��װ�˼��ݵ�memory dc. ʹ��TDib����
�����쳣�������е����⡣һ�������TBitmap���������ã����
Ҫ���Ǻ��ϸ�Ļ���
--
[m[1;34m�� ��Դ:���人���ƻƺ�վ s1000e.whnet.edu.cn��[FROM: 202.114.2.229][m
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads