发布于 2010-06-17 19:35:58
2楼
有很多种方法可以实现。使用函数时可以用SetPictureName
Function
Sets the name of the picture, which should be shown in a picture window or in a graphic object.
Syntax
BOOL SetPictureName(LPCTSTR lpszPictureName, LPCTSTR lpszObjectName, char* szPictureName);
Parameters
lpszPictureName
Picture name
lpszObjectName
Name of the picture window or graphic object
szPictureName
Pointer to the picture name
Return value
TRUE
The function has been completed without any errors.
FALSE
An error has occurred.