createcaret函数用法:
hwnd:窗口
hbitmap:位图由createbitmap,createdibitmap,loadbitmap创建
bool createcaret(hwnd hwnd,hbitmap hbitmap,int nwidth,int nheight);
在delphi中怎么用?
hwnd:窗口
hbitmap:位图由createbitmap,createdibitmap,loadbitmap创建
bool createcaret(hwnd hwnd,hbitmap hbitmap,int nwidth,int nheight);
在delphi中怎么用?
mhwnd:hwnd;
mhbitmap:hbitmap;
a:bool;
begin
mhbitmap:=loadbitmap(application.Handle,'C:\test.jpg');
a:=createcaret(mhwnd,mhbitmap,10,10);end;
[Error] createcaret.pas(34): '.' expected but '(' found
怎么改?