Skip to content
This repository has been archived by the owner on Jun 18, 2023. It is now read-only.

Commit

Permalink
ALMRun窗口强制置顶
Browse files Browse the repository at this point in the history
  • Loading branch information
chenall committed Sep 23, 2014
1 parent ac188c8 commit 51cfab1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ ALMRun Base 基本功能
例子(以管理员权限隐藏执行notepad.exe): ">@notepad.exe“

* 内置环境变量
* `%ALMRUN_SYS%` 操作系统类型,值为x86或x64
* `%ALMRUN_HOME%` (ALMRUN程序所在目录)
* `%ALMRUN_DRIVE%` (ALMRUN程序所在磁盘比如C:)
* `%ALMRUN_ROOT%` (ALMRUN默认根目录,可用config和ROOT参数修改)
Expand Down Expand Up @@ -155,6 +156,6 @@ Build 编译方法
Download 程序下载
===================

ALMRUN最新编译版<https://github.com/chenall/ALMRun/archive/Build.zip>
ALMRUN最新版本下载<https://github.com/chenall/ALMRun/releases>

其它版本请从 [更新记录] 下载
2 changes: 1 addition & 1 deletion doc/update.log
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
### [v1.2.0.68](https://github.com/chenall/ALMRun/archive/v1.2.0.68_BIN.zip)
### [v1.2.0.68](https://github.com/chenall/ALMRun/releases/download/v1.2.0.68/ALMRun-1.2.0.68_bin.7z)
2014-09-17 1. 简单修正中文字符长度问题(不是很完美,但一般况下没有什么问题).
2. 主题增加listfontname设置,允许单独指定列表的字体,skin.txt模板更新.

Expand Down
2 changes: 2 additions & 0 deletions src/MerryFrame.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,8 @@ void MerryFrame::OnShowEvent(wxShowEvent& e)
this->CentreOnce();
m_listBoxPanel->Dismiss();
this->Raise();

g_controller->SetWindowPos(this->GetHWND(),HWND_TOPMOST,0,0,0,0,SWP_NOMOVE | SWP_NOSIZE);
textCtrl->SetFocus();
#ifdef __WXMSW__
textCtrl->SetEnInputMode();
Expand Down

0 comments on commit 51cfab1

Please sign in to comment.