CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 8 of 8

Threaded View

  1. #6
    Join Date
    Jan 2013
    Posts
    4

    Re: CreateProcess iexplore -getting dwThreadId.how to check status 'Active' or not

    Expected Functionality.
    1. Open iexplore instance with createprocess--Working
    2. In next 'Status' command button to display the Status of iexplore ThreadId [Whether is active or not] - Not working with exact threadid. now just trying with Iframe
    3. 'Close' Command button to close that particular Iexplore based on threadid. ->Now Closing all Internet explore or Explicitly setting threadid. Pls. see the below code

    lthreadid = GetWindowThreadProcessId(lhWnd, lProcessId)
    lCurrentThreadId = lthreadid
    Based on lcurrentthreaid and checking active status and closing the particular iexplore. but I could not match the pinfo.dwthreadid with hwnd threadid. If tried the same flow with processId also still not showing matching value.Help please.
    Last edited by lalithaecw; February 1st, 2013 at 08:11 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured