Delphi code to Vb

Posts 1–3 of 3 · Page 1 of 1
Delphi code to Vb
How 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
Posts 1–3 of 3 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?