Note that GUICtrlSendToDummy() is used only for non-blocking processing of WM_NOTIFY message, so in this way you can have in OnStatusBarDoubleClick() also long lasting or blocking code like messagebox without any harm on system.