Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

SetFocus in InstallShield 5.53


1 reply to this topic

mnocom

mnocom
  • Members
  • 6 posts

Posted 04 February 2002 - 07:13

I have a source written in InstallShield 5.1, but I only have the InstallShield 5.53 software. I found a SetFocus call in the 5.1 script and it doesn't seem to work.

If anyone knows the SetFocus counterpart in InstallShield 5.53, please reply to this thread.

Thanks a lot!!!


Blake Miller Wonder

Blake Miller Wonder
  • Members
  • 121 posts

Posted 06 February 2002 - 20:47

You can probably call the Windows API function directly:

HWND SetFocus(
 HWND hWnd   // handle to window
);

The prototype in InstallScript:

From WINSUB.H(66):
prototype  HWND USER.SetFocus( HWND );

From SDINT.H(215):
prototype  HWND USER.SetFocus( HWND );