heroboy

Results 22 comments of heroboy

I tried. I find sometime the menu would render at the main window right top position. The IME position is not correctly set when ImWindow is not in main os...

@ocornut ![image](https://user-images.githubusercontent.com/54468/36896690-95bbb84a-1e4e-11e8-8851-448b8fe5b18c.png) Sometimes. And when it occurs, the context menu is ok.

hi @ocornut, I guess you should call `SetNextWindowViewport` in `BeginMenu` ``` if (ImGui::BeginMenuBar()) { ImGui::SetNextWindowViewport(ImGui::GetCurrentWindow()->ViewportId); if (ImGui::BeginMenu("Test")) { ImGui::MenuItem("abcde"); ImGui::EndMenu(); } ImGui::EndMenuBar(); } ```

This link may help. https://gernotklingler.com/blog/creating-using-shared-libraries-different-compilers-different-operating-systems/

@JixunMoe hihi, 我想自己写代理或firefox的扩展,但是不是很了解Apache ,所以你贴的 ``` RewriteEngine on RewriteCond %{HTTP_HOST} ^m1\.music\.126\.net [NC] RewriteRule ^(.*)$ http://p1.music.126.net/$1 [NC,R=301] RewriteCond %{HTTP_HOST} ^m2\.music\.126\.net [NC] RewriteRule ^(.*)$ http://p2.music.126.net/$1 [NC,R=301] ``` 能解释一下吗? 意思是不是,如果访问的地址是http://m1.music.126.net/xxxxxx 替换成 http://p1.music.126.net/xxxxxx呢? 但是我发觉,大部分http://m1.music.126.net/xxxxxx.mp3 ,我都是能访问的,而且替换成p1反倒是不能访问了。

reference: https://github.com/nodejs/node/blob/master/lib/internal/readline/utils.js

This is my C# source code: ``` public class MapMode { public static Flag mode = Flag.Standard; public enum Flag : int { Standard = 0, //标准模式 Trial = 1,...

maybe relate to https://github.com/tediousjs/tedious/pull/113 , but it should use `iconv-lite` to encode string.

hi @Hadis-Fard, Please try this: ```javascript db.acquire((err, conn) => { if (err) return; var request = new tedious.Request("select '中文',@v1,@v2,@v3; set @v4 = '中文';", function (err) { if (err) { console.log(err);...

And I don't understand what you mean about `varchar stores 1 byte (ascii) characters`. As I know varchar is a byte string, but I am not sure the encoding is...