Point txtMainPoint = PointToScreen(new Point(txtMain.Left, txtMain.Top));
System.Windows.Forms.Cursor.Position
呜呜....版主...我没有用过...API...我可以问下... " j = i / 65536;"中的 65536 和 const int EM_GETSEL = 0xB0; const int EM_LINEFROMCHAR = 0xC9; const int EM_LINEINDEX = 0xBB; 这些16进制值是怎么得知的么? 谢谢
Point p = textbox1.Location;
111,094
社区成员
642,554
社区内容
加载中
让您成为最强悍的C#开发者
试试用AI创作助手写篇文章吧