Ignore:
Timestamp:
Aug 24, 2007, 2:13:12 AM (17 years ago)
Author:
dai_9181
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/abdev/ProjectEditor/ChildWndOnRebar.cpp

    r22 r302  
    184184
    185185    //サブクラス化
    186     OldDocComboProc=(WNDPROC)GetWindowLong(hDocCombo,GWL_WNDPROC);
    187     SetWindowLong(hDocCombo,GWL_WNDPROC,(long)DocComboProc);
     186    OldDocComboProc=(WNDPROC)GetWindowLongPtr(hDocCombo,GWLP_WNDPROC);
     187    SetWindowLongPtr(hDocCombo,GWLP_WNDPROC,(long)DocComboProc);
    188188
    189189    //フォントを設定
     
    250250    //サブクラス化
    251251    extern WNDPROC OldStandardToolbarProc;
    252     OldStandardToolbarProc=(WNDPROC)GetWindowLong(pobj_StandardToolbar->GetHandle(),GWL_WNDPROC);
    253     SetWindowLong(pobj_StandardToolbar->GetHandle(),GWL_WNDPROC,(long)StandardToolbarProc);
     252    OldStandardToolbarProc=(WNDPROC)GetWindowLongPtr(pobj_StandardToolbar->GetHandle(),GWLP_WNDPROC);
     253    SetWindowLongPtr(pobj_StandardToolbar->GetHandle(),GWLP_WNDPROC,(long)StandardToolbarProc);
    254254
    255255    lpszText[0]=0;
     
    295295    //サブクラス化
    296296    extern WNDPROC OldStandardToolbarProc;
    297     OldStandardToolbarProc=(WNDPROC)GetWindowLong(pobj_DebuggerToolbar->GetHandle(),GWL_WNDPROC);
    298     SetWindowLong(pobj_DebuggerToolbar->GetHandle(),GWL_WNDPROC,(long)StandardToolbarProc);
     297    OldStandardToolbarProc=(WNDPROC)GetWindowLongPtr(pobj_DebuggerToolbar->GetHandle(),GWLP_WNDPROC);
     298    SetWindowLongPtr(pobj_DebuggerToolbar->GetHandle(),GWLP_WNDPROC,(long)StandardToolbarProc);
    299299
    300300    lpszText[0]=0;
     
    334334    //サブクラス化
    335335    extern WNDPROC OldStandardToolbarProc;
    336     OldStandardToolbarProc=(WNDPROC)GetWindowLong(pobj_ReleaseToolbar->GetHandle(),GWL_WNDPROC);
    337     SetWindowLong(pobj_ReleaseToolbar->GetHandle(),GWL_WNDPROC,(long)StandardToolbarProc);
     336    OldStandardToolbarProc=(WNDPROC)GetWindowLongPtr(pobj_ReleaseToolbar->GetHandle(),GWLP_WNDPROC);
     337    SetWindowLongPtr(pobj_ReleaseToolbar->GetHandle(),GWLP_WNDPROC,(long)StandardToolbarProc);
    338338
    339339    lpszText[0]=0;
     
    356356    //サブクラス化
    357357    extern WNDPROC OldSelectCompilerComboProc;
    358     OldSelectCompilerComboProc=(WNDPROC)GetWindowLong(hSelectCompilerCombo,GWL_WNDPROC);
    359     SetWindowLong(hSelectCompilerCombo,GWL_WNDPROC,(long)SelectCompilerComboProc);
     358    OldSelectCompilerComboProc=(WNDPROC)GetWindowLongPtr(hSelectCompilerCombo,GWLP_WNDPROC);
     359    SetWindowLongPtr(hSelectCompilerCombo,GWLP_WNDPROC,(long)SelectCompilerComboProc);
    360360
    361361    //フォントを設定
     
    384384    //サブクラス化
    385385    extern WNDPROC OldWebSearchProc;
    386     OldWebSearchProc=(WNDPROC)GetWindowLong(hWebSearchCombo,GWL_WNDPROC);
    387     SetWindowLong(hWebSearchCombo,GWL_WNDPROC,(long)WebSearchProc);
     386    OldWebSearchProc=(WNDPROC)GetWindowLongPtr(hWebSearchCombo,GWLP_WNDPROC);
     387    SetWindowLongPtr(hWebSearchCombo,GWLP_WNDPROC,(long)WebSearchProc);
    388388    extern WNDPROC OldWebSearchEditProc;
    389     OldWebSearchEditProc=(WNDPROC)GetWindowLong(GetWindow(hWebSearchCombo,GW_CHILD),GWL_WNDPROC);
    390     SetWindowLong(GetWindow(hWebSearchCombo,GW_CHILD),GWL_WNDPROC,(long)WebSearchEditProc);
     389    OldWebSearchEditProc=(WNDPROC)GetWindowLongPtr(GetWindow(hWebSearchCombo,GW_CHILD),GWLP_WNDPROC);
     390    SetWindowLongPtr(GetWindow(hWebSearchCombo,GW_CHILD),GWLP_WNDPROC,(long)WebSearchEditProc);
    391391
    392392    //フォントを設定
Note: See TracChangeset for help on using the changeset viewer.