'将图标与静态控件关联. 您可以使用此功能或发送STM_SETICON消息
Function Picture_SetIcon ( ByVal hStatic as HWnd,ByVal hIcon as HWnd ) as Integer
   Function= PostMessage( hStatic , STM_SETICON ,CPtr( WPARAM , hIcon )  , 0 )

End Function