Rohit,

As z-order is a Windows thing, you will have to use WinAPI.  Enumerate the
children of the TApplication window, and find use the HWND to find the form.

ie.

  hWnd := Windows.GetWindow (Application.Handle, GW_CHILD or GW_HWNDFIRST);
  while hWnd <> 0 do begin
    // Post message to hWnd
    hWnd := Windows.GetWindow (hWnd, GW_HWNDNEXT);
  end;

Regards,
Dennis.

> -----Original Message-----
> Whats the best way of accessing the apps forms in z-order ?
>
> I need to duplicate a message passing mechanism for bar codes.

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to