mercredi 4 mars 2015

ShellExecute opens html file in browser but behind the active window


Vote count:

0




Why this code opens the chrome behind the current application when chrome is already running and default browser. IE works ok.



Result := ShellExecute(Application.MainForm.Handle, nil,
StrPCopy(zFileName, FileName), StrPCopy(zParams, ''),
StrPCopy(zDir, ''), SW_SHOWDEFAULT );


asked 30 secs ago

Tom

2,727






ShellExecute opens html file in browser but behind the active window

Aucun commentaire:

Enregistrer un commentaire