Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我可以知道或创建一条消息,告诉您光标在编辑控件中是向上还是向下移动?
您需要一个丰富的编辑控件来获取有关该消息的消息,即 EN_SELCHANGE 通知。EM_GETSEL 和 EM_EXLINEFROMCHAR 将插入符号位置映射到行号。