I have a few button windows and on wm_create i create these with createwindow() function and apply bitmaps to them.
when someone clicks on one of these bitmaps i destroy about 90% of them and when someone clicks on the remaining button i must recreate all of the buttons when i try this the project compiles without errors but when i click on the button which recreates the buttons it tells me an unhandled win32 exception happened and the application closes.
How do i make this work??????????