Delphi code to VbHow would this delphi code be implamented in vb ? Timer1.Enabled := False; SetWindowPos(Form1.Handle, HWND_TOPMOST, 0, 0, 0, 0, SWP_SHOWWINDOW or SWP_NOMOVE or SWP_NOSIZE or SWP_NOACTIVATE); Form1.Refresh; Application.ProcessMessages; Timer1.Enabled := True;
Code: Timer1.Enabled = False SetWindowPos(Form1.Handle, HWND_TOPMOST, 0, 0, 0, 0, SWP_SHOWWINDOW Or SWP_NOMOVE Or SWP_NOSIZE Or SWP_NOACTIVATE) Form1.Refresh() Application.ProcessMessages() Timer1.Enabled = True Note that you'll need to import SetWindowPos(), as it is not part of the Visual Basic or .NET frameworks.
okies thanks umm any idea in what i could change it into because delphi is hard and dont feel like learning that $h.t