Changeset 55 in dev for ProjectEditor/DialogBoxes.cpp


Ignore:
Timestamp:
Feb 13, 2007, 3:14:57 AM (17 years ago)
Author:
dai_9181
Message:

・コマンドラインオプション "/unicode" に対応。
・Unicode文字セットを使用する場合に "UNICODE" が自動的に#defineされるようにしました。
・SByte型(8ビット符号付き整数型)を追加。
・Char型を文字型に変更。
・プロジェクトオプションから「Unicode文字セットを使用する」チェックを選択できるようにしました。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ProjectEditor/DialogBoxes.cpp

    r22 r55  
    328328                    if(SendDlgItemMessage(hwnd,IDC_STRICT,BM_GETCHECK,0,0))
    329329                        NewProjectInfo.dwOption|=PJ_OP_STRICT;
     330                    if(SendDlgItemMessage(hwnd,IDC_UNICODE,BM_GETCHECK,0,0))
     331                        NewProjectInfo.dwOption|=PJ_OP_UNICODE;
    330332                    if(SendDlgItemMessage(hwnd,IDC_API_COMMCTRL,BM_GETCHECK,0,0))
    331333                        NewProjectInfo.dwOption|=PJ_OP_COMMCTRL;
     
    797799                SendDlgItemMessage(hwnd,IDC_STRICT,BM_SETCHECK,BST_CHECKED,0);
    798800
     801            //Unicode
     802            if(temp_dwPjOption&PJ_OP_UNICODE)
     803                SendDlgItemMessage(hwnd,IDC_UNICODE,BM_SETCHECK,BST_CHECKED,0);
     804
    799805            break;
    800806        case WM_NOTIFY:
     
    808814                    temp_dwPjOption|=PJ_OP_STRICT;
    809815                else temp_dwPjOption&=~PJ_OP_STRICT;
     816
     817                //Unicode
     818                if(SendDlgItemMessage(hwnd,IDC_UNICODE,BM_GETCHECK,0,0))
     819                    temp_dwPjOption|=PJ_OP_UNICODE;
     820                else temp_dwPjOption&=~PJ_OP_UNICODE;
    810821
    811822                if(nmhdr->code==PSN_APPLY) SaveSetting_DlgPjOption();
Note: See TracChangeset for help on using the changeset viewer.