ToolBox程序开源

2008-4-8 Nie.Meining Coding

最近做了一些小工具,开源发布和大家交流讨论。
ToolBox程序截图如下:
点击查看原图

阅读全文>>

评论(0) 浏览(12796)

EmailSender程序开源

2008-4-8 Nie.Meining Coding

最近做了一些小工具,开源发布和大家交流讨论。

EmailSender程序截图如下:

点击查看原图

阅读全文>>

评论(0) 浏览(23220)

UJoke程序开源

2008-4-8 Nie.Meining Coding

最近做了一些小工具,开源发布和大家交流讨论。
UJoke程序截图如下:
点击查看原图

阅读全文>>

评论(0) 浏览(12735)

嘿嘿,U盘恶作剧!

2008-4-7 Nie.Meining Coding

昨天写了个小程序,可以作为U盘工具的雏形,比如U盘小偷什么的。

#define UNICODE

#define _UNICODE

#include <windows.h>

#include <windowsx.h>

#include <Dbt.h>

#include <tchar.h>

#include "resource.h"


阅读全文>>

评论(0) 浏览(23985)

【转载】Disabling Escape in modal dialog boxes

2008-4-6 Nie.Meining Coding

Today I spent a lot of time on a seemingly simple task. I’m writing a tool I need for Jayden using the Win32 API. In general, I quite like the Win32 API, but I ran into an annoying quirk today. I finally found the solution and I’m documenting it here to help other people that might run into the same problem and to make sure I don’t have to go through all this trouble again if I run into this problem in the future.

What I want sounds quite simple: I want to make it impossible for the user to close my modal dialog box by pressing Escape. Normally, this would break expected behaviour, but if you’re using a dialog box as your main window, it actually makes sense. I’ll go over the procedure to do this step by step. Don’t leave before we get to multiline edit controls, though, because that’s where it really gets weird.

阅读全文>>

评论(0) 浏览(2377)

Powered by emlog