MCPcopy Create free account
hub / github.com/WheretIB/nullc / TabbedFilesProc

Method TabbedFilesProc

GUI/TabbedFiles.cpp:361–398  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

359}
360
361LRESULT CALLBACK TabbedFiles::TabbedFilesProc(HWND hWnd, unsigned int message, WPARAM wParam, LPARAM lParam)
362{
363 __try
364 {
365 switch(message)
366 {
367 case WM_CREATE:
368 OnCreate(hWnd);
369 break;
370 case WM_DESTROY:
371 OnDestroy(hWnd);
372 break;
373 case WM_PAINT:
374 OnPaint(hWnd);
375 break;
376 case WM_SIZE:
377 OnSize(hWnd, LOWORD(lParam), HIWORD(lParam));
378 break;
379 case WM_LBUTTONDOWN:
380 OnMouseLeft(hWnd, true, LOWORD(lParam), HIWORD(lParam));
381 break;
382 case WM_LBUTTONUP:
383 OnMouseLeft(hWnd, false, LOWORD(lParam), HIWORD(lParam));
384 break;
385 case WM_MOUSEMOVE:
386 OnMouseMove(hWnd, LOWORD(lParam), HIWORD(lParam));
387 break;
388 case WM_COMMAND:
389 OnCommand(hWnd, (HWND)lParam);
390 break;
391 default:
392 return DefWindowProc(hWnd, message, wParam, lParam);
393 }
394 }__except(EXCEPTION_EXECUTE_HANDLER){
395 assert(!"Exception in window procedure handler");
396 }
397 return 0;
398}

Callers

nothing calls this directly

Calls 8

OnSizeFunction · 0.85
OnMouseLeftFunction · 0.85
OnMouseMoveFunction · 0.85
OnCommandFunction · 0.85
assertFunction · 0.85
OnCreateFunction · 0.70
OnDestroyFunction · 0.70
OnPaintFunction · 0.70

Tested by

no test coverage detected