2015-01-06 92 views

回答

2

如果你在C++/CLI中,只需直接調用HideCaret,不需要DllImport

#include <windows.h> 

System::Windows::Forms::TextBox^ textbox1; 

HideCaret((HWND)textbox1->Handle.ToPointer());