Changeset 302 in dev for trunk/abdev/ProjectEditor/ChildWndOnRebar.cpp
- Timestamp:
- Aug 24, 2007, 2:13:12 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abdev/ProjectEditor/ChildWndOnRebar.cpp
r22 r302 184 184 185 185 //サブクラス化 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); 188 188 189 189 //フォントを設定 … … 250 250 //サブクラス化 251 251 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); 254 254 255 255 lpszText[0]=0; … … 295 295 //サブクラス化 296 296 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); 299 299 300 300 lpszText[0]=0; … … 334 334 //サブクラス化 335 335 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); 338 338 339 339 lpszText[0]=0; … … 356 356 //サブクラス化 357 357 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); 360 360 361 361 //フォントを設定 … … 384 384 //サブクラス化 385 385 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); 388 388 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); 391 391 392 392 //フォントを設定
Note:
See TracChangeset
for help on using the changeset viewer.