korimas

Results 10 comments of korimas

奇怪,搜不到,但代码里又看到了。。。 ![image](https://user-images.githubusercontent.com/15672287/167968388-fb4169ce-7326-4bf4-94d7-236149dbc455.png)

又重新看了下代码,貌似paintbox没有keypress事件

我看lazarus的Tpanel有Canvas,也有keypress事件,不过govcl貌似没有,作者有计划支持吗?

![image](https://user-images.githubusercontent.com/15672287/168222032-e456cb54-6693-45ea-89c0-25db9413220a.png) 现在通过mainform的keypress event来获取用户键盘输入,但发现个致命问题,可能导致这个软件流产(算是个windows下的ssh远程终端模拟器吧,自己练手玩玩的),单个按键输入(ascii字符)可以捕获了,但无法获得输入法输入,用输入法输入中文就会像下面截图中那样,无法被软件获取。 ![image](https://user-images.githubusercontent.com/15672287/168222191-2d3f839b-e9b3-4696-b99a-1716a0c63518.png) 不知道作者有没有解决办法。

感谢作者,我试一下。 这个软件想模仿xshell,要是能做成也打算开源(业余搞搞)。 开源不易,小小赞助了一笔~,不知道有没有微信交流群?

的确可以了,多谢! ![image](https://user-images.githubusercontent.com/15672287/168591788-c7ebb333-2695-48be-90b6-ed13ff8b9369.png) 还有个困惑,像之前那张图,输入中文的时候会有个绿色箭头的框,在正常的edit控件下是没有的,感觉是当前没有输入焦点,不知道有没有办法解决? ![image](https://user-images.githubusercontent.com/15672287/168592021-31caa043-5c6a-45bd-a65c-5eb46e048610.png)

我查了下,貌似要自己对接输入法 > 应用程序可以通过 IMM 对接输入法。所用的 win32 的 API 重点是如下几个 > > ImmGetContext 获取输入法上下文,用于后续所有的其他函数调用 > ImmAssociateContext 关联输入法和对应的窗口,让输入法了解在哪个窗口输入 > ImmSetCompositionWindow 用来设置输入法的窗口的坐标,也是本文最重要的函数

尝试了离线超时,触发自动删除,也是一直处于dropping状态 ```sql taos> show dnodes; id | end_point | vnodes | cores | status | role | create_time | offline reason | ====================================================================================================================================== 1 | c1:6030 | 2 | 4...

在二楼的基础上,然后我把c1:6030节点的taosd服务重启了,注意是ready的那个节点。 重启正常,查看服务状态正常。 ```shell [root@c1 log]# service taosd status Redirecting to /bin/systemctl status taosd.service ● taosd.service - TDengine server service Loaded: loaded (/etc/systemd/system/taosd.service; enabled; vendor preset: disabled) Drop-In: /run/systemd/system/taosd.service.d └─zzz-lxc-service.conf Active:...