Changeset 83 in dev for ProjectEditor


Ignore:
Timestamp:
Mar 26, 2007, 11:11:22 AM (18 years ago)
Author:
dai_9181
Message:

STRING_NONE → STRING_NONE_
SetLayeredWindowAttributes → pSetLayeredWindowAttributes

Location:
ProjectEditor
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • ProjectEditor/ProjectEditor.h

    r22 r83  
    4141char *lpszCompilerName;
    4242
    43 FWINLAYER SetLayeredWindowAttributes;
     43FWINLAYER pSetLayeredWindowAttributes;
    4444HINSTANCE hUser32Lib;
    4545
  • ProjectEditor/RadToolsAndPropertyProc.cpp

    r3 r83  
    588588
    589589            //"なし"
    590             SendDlgItemMessage(hwnd,IDC_WINDOWMENU,CB_ADDSTRING,0,(long)STRING_NONE);
     590            SendDlgItemMessage(hwnd,IDC_WINDOWMENU,CB_ADDSTRING,0,(long)STRING_NONE_);
    591591
    592592            for(i3=0,i4=0;i3<ProjectInfo.NumberOfMenu;i3++){
     
    19571957
    19581958            //"なし"
    1959             SendDlgItemMessage(hwnd,IDC_CBS_OWNERDRAW,CB_ADDSTRING,0,(long)STRING_NONE);
     1959            SendDlgItemMessage(hwnd,IDC_CBS_OWNERDRAW,CB_ADDSTRING,0,(long)STRING_NONE_);
    19601960            //"固定"
    19611961            SendDlgItemMessage(hwnd,IDC_CBS_OWNERDRAW,CB_ADDSTRING,0,(long)STRING_OWNERDRAW_FIXED);
     
    30403040
    30413041            //"なし"
    3042             SendDlgItemMessage(hwnd,IDC_LVS_SORT,CB_ADDSTRING,0,(long)STRING_NONE);
     3042            SendDlgItemMessage(hwnd,IDC_LVS_SORT,CB_ADDSTRING,0,(long)STRING_NONE_);
    30433043            //"昇順"
    30443044            SendDlgItemMessage(hwnd,IDC_LVS_SORT,CB_ADDSTRING,0,(long)STRING_SORT_ASCENDING);
     
    33023302            SendDlgItemMessage(hwnd,IDC_LBS_SELECT,CB_ADDSTRING,0,(long)STRING_LISTBOXPROP_STYLE_SEL_EXTENDED);
    33033303            //"なし"
    3304             SendDlgItemMessage(hwnd,IDC_LBS_SELECT,CB_ADDSTRING,0,(long)STRING_NONE);
     3304            SendDlgItemMessage(hwnd,IDC_LBS_SELECT,CB_ADDSTRING,0,(long)STRING_NONE_);
    33053305
    33063306            if(ProjectInfo.pWindowInfo[i2].pChildInfo[MdiInfo[i].MdiRadInfo->SelectingItem[0]].style&LBS_MULTIPLESEL) SendDlgItemMessage(hwnd,IDC_LBS_SELECT,CB_SETCURSEL,1,0);
     
    33153315
    33163316            //"なし"
    3317             SendDlgItemMessage(hwnd,IDC_LBS_OWNERDRAW,CB_ADDSTRING,0,(long)STRING_NONE);
     3317            SendDlgItemMessage(hwnd,IDC_LBS_OWNERDRAW,CB_ADDSTRING,0,(long)STRING_NONE_);
    33183318            //"固定"
    33193319            SendDlgItemMessage(hwnd,IDC_LBS_OWNERDRAW,CB_ADDSTRING,0,(long)STRING_OWNERDRAW_FIXED);
     
    44434443
    44444444            //"なし"
    4445             SendDlgItemMessage(hwnd,IDC_UDS_ATTACH,CB_ADDSTRING,0,(long)STRING_NONE);
     4445            SendDlgItemMessage(hwnd,IDC_UDS_ATTACH,CB_ADDSTRING,0,(long)STRING_NONE_);
    44464446            //"左端"
    44474447            SendDlgItemMessage(hwnd,IDC_UDS_ATTACH,CB_ADDSTRING,0,(long)STRING_LEFT);
  • ProjectEditor/SubOperation.cpp

    r80 r83  
    939939
    940940    //アルファブレンド用のAPIを取得
    941     extern FWINLAYER SetLayeredWindowAttributes;
     941    extern FWINLAYER pSetLayeredWindowAttributes;
    942942    extern HINSTANCE hUser32Lib;
    943943    hUser32Lib=LoadLibrary("user32.dll");
    944     SetLayeredWindowAttributes=(FWINLAYER)GetProcAddress(hUser32Lib,"SetLayeredWindowAttributes");
     944    pSetLayeredWindowAttributes=(FWINLAYER)GetProcAddress(hUser32Lib,"pSetLayeredWindowAttributes");
    945945
    946946
  • ProjectEditor/WebSearch.cpp

    r24 r83  
    66#define ID_TIMER_IDLE 200
    77
    8 extern FWINLAYER SetLayeredWindowAttributes;
     8extern FWINLAYER pSetLayeredWindowAttributes;
    99
    1010
     
    2020                pobj_ResultList=(CResultList *)GetWindowLong(hwnd,GWL_USERDATA);
    2121
    22                 SetLayeredWindowAttributes(hwnd, 0,(int)((double)255/(double)100*(double)(pobj_ResultList->iAnimeCount*10)), LWA_ALPHA);
     22                pSetLayeredWindowAttributes(hwnd, 0,(int)((double)255/(double)100*(double)(pobj_ResultList->iAnimeCount*10)), LWA_ALPHA);
    2323
    2424                GetWindowRect(hwnd,&rc);
     
    151151    lStyle=GetWindowLong(hwnd,GWL_EXSTYLE) | WS_EX_LAYERED;
    152152    SetWindowLong(hwnd,GWL_EXSTYLE,lStyle);
    153     SetLayeredWindowAttributes(hwnd, 0, 0, LWA_ALPHA);
     153    pSetLayeredWindowAttributes(hwnd, 0, 0, LWA_ALPHA);
    154154
    155155    SetWindowLong(hwnd,GWL_USERDATA,(long)this);
  • ProjectEditor/common_msg_eng.h

    r3 r83  
    99// 汎用
    1010////////
    11 #define STRING_NONE             "None"
     11#define STRING_NONE_                "None"
    1212#define STRING_DEFAULT          "Default"
    1313#define STRING_ERROR            "Error"
  • ProjectEditor/common_msg_jpn.h

    r3 r83  
    99// 汎用
    1010////////
    11 #define STRING_NONE             "なし"
     11#define STRING_NONE_                "なし"
    1212#define STRING_DEFAULT          "デフォルト"
    1313#define STRING_ERROR            "エラー"
Note: See TracChangeset for help on using the changeset viewer.