Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.
const SEE_MASK_HMONITOR = $00200000; // Not defined in ShellAPI unit procedure TForm1.Button2Click(Sender: TObject); var sei : TShellExecuteInfo; SecondaryMonitor : Cardinal; begin // Get the Handle to the secondary monitor if Screen.MonitorCount = 1 then SecondaryMonitor := 0 else if Screen.PrimaryMonitor = Screen.Monitors then SecondaryMonitor := Screen.Monitors.Handle else SecondaryMonitor := Screen.Monitors.Handle; // Fill in ShellExecuteEx info ZeroMemory(@sei,SizeOf(sei)); sei.cbSize := SizeOf(sei); sei.fMask := SEE_MASK_HMONITOR; sei.hIcon := SecondaryMonitor; sei.lpVerb := 'open'; sei.lpFile := 'notepad.exe'; sei.nShow := SW_SHOWMAXIMIZED; ShellExecuteEx(@sei); end;
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.