Announcement

Collapse
No announcement yet.

No Focus On "Shell" Window

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

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

    Leave a comment:


  • Jim Seekamp
    started a topic No Focus On "Shell" Window

    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??
Working...
X