Please consider the following program (it uses WinFB library)
Code: Select all
' How to detect that window have been resized?
Dim As HWND Window_Main
Dim As MSG msg
'Create a resizable window
Window_Main = Window_New (100, 100, 600, 600, "Resizable window")
Select Case msg.hwnd
Select Case msg.message
Print "window painted"
Print "window resized"
Loop Until Window_Event_Close(Window_Main, msg)
When window is created (or recreated after mini- or maximization) the message "windows painted "
is printed in the console. However, when window in resized, nothing is printed. So, how to detect
a resize event? Thanks in advance,