<small id='lYqMP'></small><noframes id='lYqMP'>

        <bdo id='lYqMP'></bdo><ul id='lYqMP'></ul>
      <i id='lYqMP'><tr id='lYqMP'><dt id='lYqMP'><q id='lYqMP'><span id='lYqMP'><b id='lYqMP'><form id='lYqMP'><ins id='lYqMP'></ins><ul id='lYqMP'></ul><sub id='lYqMP'></sub></form><legend id='lYqMP'></legend><bdo id='lYqMP'><pre id='lYqMP'><center id='lYqMP'></center></pre></bdo></b><th id='lYqMP'></th></span></q></dt></tr></i><div id='lYqMP'><tfoot id='lYqMP'></tfoot><dl id='lYqMP'><fieldset id='lYqMP'></fieldset></dl></div>
    1. <legend id='lYqMP'><style id='lYqMP'><dir id='lYqMP'><q id='lYqMP'></q></dir></style></legend>

      1. <tfoot id='lYqMP'></tfoot>

        Winforms:插入符号位置的屏幕位置

        Winforms: Screen Location of Caret Position(Winforms:插入符号位置的屏幕位置)

        <small id='vvkke'></small><noframes id='vvkke'>

              <i id='vvkke'><tr id='vvkke'><dt id='vvkke'><q id='vvkke'><span id='vvkke'><b id='vvkke'><form id='vvkke'><ins id='vvkke'></ins><ul id='vvkke'></ul><sub id='vvkke'></sub></form><legend id='vvkke'></legend><bdo id='vvkke'><pre id='vvkke'><center id='vvkke'></center></pre></bdo></b><th id='vvkke'></th></span></q></dt></tr></i><div id='vvkke'><tfoot id='vvkke'></tfoot><dl id='vvkke'><fieldset id='vvkke'></fieldset></dl></div>
              • <bdo id='vvkke'></bdo><ul id='vvkke'></ul>
                <tfoot id='vvkke'></tfoot><legend id='vvkke'><style id='vvkke'><dir id='vvkke'><q id='vvkke'></q></dir></style></legend>

                    <tbody id='vvkke'></tbody>

                  本文介绍了Winforms:插入符号位置的屏幕位置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  如何找到标准 Winforms TextBox 的插入符号的屏幕位置?

                  How can I find the screen position of the caret for a standard Winforms TextBox?

                  推荐答案

                  您只能使用本机互操作来做到这一点:GetCaretPos

                  You can do it only with native interop: GetCaretPos

                  [DllImport("user32.dll")]
                  [return: MarshalAs(UnmanagedType.Bool)]
                  static extern bool GetCaretPos(out Point lpPoint);
                  

                  这篇关于Winforms:插入符号位置的屏幕位置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  How to keep the Text of a Read only TextBox after PostBack()?(PostBack()之后如何保留只读文本框的文本?)
                  Winforms Textbox - Using Ctrl-Backspace to Delete Whole Word(Winforms 文本框 - 使用 Ctrl-Backspace 删除整个单词)
                  C# - Add button click events using code(C# - 使用代码添加按钮单击事件)
                  Multi-color TextBox C#(多色文本框 C#)
                  How can i set the caret position to a specific index in passwordbox in WPF(如何将插入符号位置设置为 WPF 密码框中的特定索引)
                  C# Numeric Only TextBox Control(C# 纯数字文本框控件)

                    <bdo id='Ob79P'></bdo><ul id='Ob79P'></ul>

                    <small id='Ob79P'></small><noframes id='Ob79P'>

                        <tfoot id='Ob79P'></tfoot>
                          <tbody id='Ob79P'></tbody>
                        1. <i id='Ob79P'><tr id='Ob79P'><dt id='Ob79P'><q id='Ob79P'><span id='Ob79P'><b id='Ob79P'><form id='Ob79P'><ins id='Ob79P'></ins><ul id='Ob79P'></ul><sub id='Ob79P'></sub></form><legend id='Ob79P'></legend><bdo id='Ob79P'><pre id='Ob79P'><center id='Ob79P'></center></pre></bdo></b><th id='Ob79P'></th></span></q></dt></tr></i><div id='Ob79P'><tfoot id='Ob79P'></tfoot><dl id='Ob79P'><fieldset id='Ob79P'></fieldset></dl></div>
                          <legend id='Ob79P'><style id='Ob79P'><dir id='Ob79P'><q id='Ob79P'></q></dir></style></legend>