Fixed PropertyWindow Procedure

This commit is contained in:
MusicalProgrammer
2018-10-23 15:22:22 -04:00
parent 7273ee9ce0
commit 0f700aeda5

View File

@@ -24,6 +24,9 @@ LRESULT CALLBACK PropProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
{ {
propWind->onResize(); propWind->onResize();
} }
case WM_NOTIFY:
MessageBox(NULL,"Test","Test",0);
break;
break; break;
default: default:
return DefWindowProc(hwnd, msg, wParam, lParam); return DefWindowProc(hwnd, msg, wParam, lParam);
@@ -93,7 +96,7 @@ bool PropertyWindow::onCreate(int x, int y, int sx, int sy, HMODULE hThisInstanc
PropGrid_ShowPropertyDescriptions(_propGrid,TRUE); PropGrid_ShowPropertyDescriptions(_propGrid,TRUE);
PropGrid_ExpandAllCatalogs(_propGrid); PropGrid_ExpandAllCatalogs(_propGrid);
SetWindowLongPtr(_propGrid,GWL_USERDATA,(LONG)this); SetWindowLongPtr(_hwndProp,GWL_USERDATA,(LONG)this);
_redraw(); _redraw();
return true; return true;