原创 淺談PreTranslateMessage用法

       PreTranslateMessage,就看看英文單詞就可以理解是幹什麼的了,Pre(Previous 之前的),Translate(轉換),message(消息)---什麼 什麼的 之前轉換消息。就是在把消息發送給wind

原创 以一個處理事情的事例爲例,談談肺腑之言,望讀着能理解

以一個處理事情的事例爲例,談談肺腑之言,望讀着能理解        在最近的項目中,軟件要做成支持23國的語言,做多語言不難,關鍵是多語言的編碼問題,做了這國的,其他國的語言編碼就亂套了,太麻煩了,真是太麻煩了,有的時候真讓人受不了。明明

原创 Message Reflection for Windows Controls

This technical note describes message reflection, a new feature in MFC 4.0. It also contains directions for creating a

原创 Animate to display a dialog message box in the right-bottom of the window screen

      If you used to use MSN Messager or like fetion in China,you will find a message box will be popped out in the rig

原创 How to wirte tray application procedure

    I wrote an application procedure on how to tray a dialog box in the bottom-right of the screen.  you should learn a

原创 10 New STL Algorithms That Will Make You A More Productive Developer

Introduction C++0x was recently furnished with new algorithms. Some of them fill in gaps in the C++03 Standard Library

原创 How to change software UI language

    Recently,I mastered a method on how to change software UI language such as menu,button something like that. Here,I

原创 How to use VC++6.0 to develop web Service Client

         If you wanna use VC++6.0 to develop application procedure of web service client,your machine have to install S

原创 SOAP 實例

   一個 SOAP 實例 在下面的例子中,一個 GetStockPrice 請求被髮送到了服務器。此請求有一個 StockName 參數,而在響應中則會返回一個 Price 參數。此功能的命名空間被定義在此地址中: "http://w

原创 自動生成xml文件

今天下午寫了個自動生成xml文件的demo.代碼如下:#include <fstream>#include <string>#include <vector>#include <map>using namespace std;class

原创 關於多語言編碼範圍

 中文的unicode碼的範圍4e00-9fa5 英文和ASC碼兼容,只不過高字節是0x00 低字節=ascii1)標準CJK文字 http://www.unicode.org/Public/UNIDATA

原创 學習筆記----字符串的追加和裁剪

 關於字符串的處理,我之前一般只停留在string的層面,也沒有更加深入的去學習,心裏面認爲,會用就可以了,沒有必要知道爲什麼是這樣?類型到底是什麼樣子,可就在我稀裏糊塗用的時候,卻發現了很多亂碼跳了出來,這個時候我不得不考慮類型的問題了

原创 筆記----boost學習第一步:編譯方法

         boost被稱爲是準標準C++庫,不過這也是該界人對它的尊稱。話說回來,boost確實很強大。不過一般的公司都不會用它。原因是:它不是C++ 標準,這個理由我已經遇到了很多次,很多人不知道是不懂boost,還是特意貶低它

原创 Put a CComboBox control on CToolBar

    This tutiual is about how to put a CComboBox control on CToolBar.look at the next description. First of all,you sho

原创 學習筆記----字符串分割

 1, 字符串的分割算法(標準庫版) void split(const string& s,char c,vector<string>& v){string::size_type i = 0;string: