hMyButton:=CreateWindow(
'Button',
'MyButton',
WS_VISIBLE or WS_Child or BS_Bitmap,
75,5,65,24,Handle,0,hInst,nil);
请问怎样在这个按钮中加入图片,就好像修改按钮的Picture属性一样,应该用什么函数实现呢?
...全文
872打赏收藏
一个关于用API函数创建按钮的问题
hMyButton:=CreateWindow( 'Button', 'MyButton', WS_VISIBLE or WS_Child or BS_Bitmap, 75,5,65,24,Handle,0,hInst,nil); 请问怎样在这个按钮中加入图片,就好像修改按钮的Picture属性一样,应该用什么函数实现呢?