Can anybody tell me the settings on this to make it flash until the window is maximized or selected? I am using this, but it just stays a solid orange.
If I set the count it will flash, but don't want it to flash a set amount of times. Thanks.Code:Dim flash As New FLASHWINFO flash.cbSize = System.Runtime.InteropServices.Marshal.SizeOf(flash) '/// size of structure in bytes flash.hwnd = MyBase.MdiParent.Handle '/// Handle to the window to be flashed flash.dwFlags = FLASHW_ALL '/// to flash both the caption bar + the tray flash.uCount = 0 '/// the number of flashes flash.dwTimeout = 1000 '/// speed of flashes in MilliSeconds ( can be left out ) '/// flash the window you have specified the handle for... FlashWindowEx(flash)




Reply With Quote