|
发表于 2010-10-30 18:28:21
|
显示全部楼层
自动操作需要首先获取控件图片,用下面函数可以实现。
Obtains a bitmap image from a control and stores it in a bitmap object. You can pass the bitmap ID this function outputs to any function that accepts a bitmap, such as CanvasDrawBitmap or ClipboardPutBitmap.
You can use this function on images you create using functions such as DisplayImageFile, InsertListItem, PlotBitmap, SetImageBits, or SetCtrlAttribute with the ATTR_IMAGE_FILE attribute.
You can discard the bitmap object by passing its ID to DiscardBitmap.
Prototype
int GetCtrlBitmap (int Panel_Handle, int Control_ID, int Image_ID, int *Bitmap_ID);
|
|