Announcement

Collapse
No announcement yet.

No Focus On "Shell" Window

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • No Focus On "Shell" Window

    I'm running an exe file from another exe file using the shell function:

    Code:
    cmd$="\path\program.exe"
    y&=shell(cmd$,1)
    Even using setwindowpos I can't get the "program.exe" to grab the focus!

    Code:
    setwindowpos hwnd&,%hwnd_top,0,0,0,0,%swp_nomove or %swp_nosize or %swp_noownerzorder
    
    ''''''''''''
    Any ideas??
    Jim Seekamp

  • #2
    Never mind...
    It was a parent/child window problem elsewhere in the code that caused the problem!!
    Jim Seekamp

    Comment

    Working...
    X