Question about void updateBorderSize() in juce_win32_Windowing.cpp


#1

When I enabled direct2d, then create a window, the updateBorderSize is called by createWindow and setBounds.
But after the windows is show, I maximize the window size or restore the window size, the updateBorderSize is not called, so the code

direct2DContext->resized();

is never be called.

Please give me some suggestion, where is the best place which I should add “direct2DContext->resized();” to make the d2d resize when I resize the whole window!