#Recovery Mode

User Tag List

Results 1 to 8 of 8

FindProcessWindow()

This is a discussion on FindProcessWindow() within the MapleStory Source Code Releases forums, part of the MapleStory  category; Code: HWND WINAPI FindProcessWindow(__in_z LPCSTR lpcszWindowClass, __in DWORD dwProcessId) { DWORD dwWindowId; CHAR pszClassName[200]; HWND hWnd; hWnd = GetTopWindow (NULL); ...

  1. 07-26-2012, 03:38 PM
    #1

    Banned

    Expand


    • My Statistics
    • My 1 Award

    Cog FindProcessWindow()

    Code:
     HWND WINAPI FindProcessWindow(__in_z LPCSTR lpcszWindowClass, __in DWORD dwProcessId)
    {
        DWORD dwWindowId;
        CHAR pszClassName[200];
        HWND hWnd;
        hWnd = GetTopWindow (NULL);
    
       while(hWnd != NULL)
        {
           if(GetClassName(hWnd, pszClassName, 200) > 0)
             if(lstrcmpiA(lpcszWindowClass, pszClassName) == 0)
               if(GetWindowThreadProcessId(hWnd, &dwWindowId))
                 if(dwWindowId == dwProcessId)
    
          return hWnd;
    
         hWnd = GetNextWindow(hWnd, GW_HWNDNEXT);
        }
     return NULL;
    }
    
    Last edited by aasdf; 07-26-2012 at 03:41 PM.

  2. The Following 2 Users Say Thank You to aasdf For This Useful Post:

    ara656 (08-03-2012), DissectiveNZ (08-01-2012)

  3. 08-03-2012, 02:02 AM
    #2

    Banned

    Expand


    • My Statistics

    Default Re: FindProcessWindow()

    Thank you for this, I needed it.
    +Thanked

    Edit: Used it for one of my Test Projects, If released will credit for you never forget that.
    Last edited by DissectiveNZ; 08-03-2012 at 02:07 AM.

  4. 08-03-2012, 02:09 AM
    #3

    Informed Hacker

    Expand

    Condor's Avatar
    • My Statistics

    Default Re: FindProcessWindow()

    Quote Originally Posted by DissectiveNZ
    [Dear Visitor, you're restricted from viewing links until you are registered & logged on.
    Click Here To Register Today
    Thank you for this, I needed it.
    +Thanked

    Edit: Used it for one of my Test Projects, If released will credit for you never forget that.
    this was written by Irwin!
    CAWNDAR PE CAWNDAR PE CAWNDAR PE CAWNDAR PE CAWNDAR PE CAWNDAR PE CAWNDAR PE CAWNDAR PE CAWNDAR PE CAWNDAR PE CAWNDAR PE CAWNDAR PE CAWNDAR PE CAWNDAR PE CAWNDAR PE CAWNDAR PE CAWNDAR PE CAWNDAR PE CAWNDAR PE CAWNDAR PE CAWNDAR PE CAWNDAR PE CAWNDAR PE CAWNDAR PE

  5. The Following 1 Users Say Thank You to Condor For This Useful Post:

    DissectiveNZ (08-03-2012)

  6. 08-03-2012, 02:10 AM
    #4

    Game Killer

    Expand

    Darktheif's Avatar
    • My Statistics
    • My 1 Award
    8
    Admin
    Male Male
    Created: 10-22-12
    Type: Baby
    16%

    Default Re: FindProcessWindow()

    Lol cant u also do this on VB? Ok time to make a VB trainer (10 years later) Yay got all the hooks and whatever crap u do to make the trainer doneXD

  7. 08-03-2012, 02:11 AM
    #5

    Banned

    Expand


    • My Statistics

    Default Re: FindProcessWindow()

    Quote Originally Posted by Condor
    [Dear Visitor, you're restricted from viewing links until you are registered & logged on.
    Click Here To Register Today
    this was written by Irwin!
    Okay, Thanks for the remark. Well I've seen others that are a lot more unorganized and this one here caught my eye.
    @
    [Dear Visitor, you're restricted from viewing links until you are registered & logged on.
    Click Here To Register Today
    perhaps?

  8. 08-03-2012, 02:14 AM
    #6

    Informed Hacker

    Expand

    Condor's Avatar
    • My Statistics

    Default Re: FindProcessWindow()

    Quote Originally Posted by Darktheif
    [Dear Visitor, you're restricted from viewing links until you are registered & logged on.
    Click Here To Register Today
    Lol cant u also do this on
    [Dear Visitor, you're restricted from viewing links until you are registered & logged on.
    Click Here To Register Today
    CAWNDAR PE CAWNDAR PE CAWNDAR PE CAWNDAR PE CAWNDAR PE CAWNDAR PE CAWNDAR PE CAWNDAR PE CAWNDAR PE CAWNDAR PE CAWNDAR PE CAWNDAR PE CAWNDAR PE CAWNDAR PE CAWNDAR PE CAWNDAR PE CAWNDAR PE CAWNDAR PE CAWNDAR PE CAWNDAR PE CAWNDAR PE CAWNDAR PE CAWNDAR PE CAWNDAR PE

  9. The Following 2 Users Say Thank You to Condor For This Useful Post:

    Darktheif (08-03-2012), DissectiveNZ (08-03-2012)

  10. 08-03-2012, 02:59 AM
    #7

    Game Killer

    Expand

    Darktheif's Avatar
    • My Statistics
    • My 1 Award
    8
    Admin
    Male Male
    Created: 10-22-12
    Type: Baby
    16%

    Default Re: FindProcessWindow()

    Quote Originally Posted by DissectiveNZ
    [Dear Visitor, you're restricted from viewing links until you are registered & logged on.
    Click Here To Register Today
    Okay, Thanks for the remark. Well I've seen others that are a lot more unorganized and this one here caught my eye.
    @
    [Dear Visitor, you're restricted from viewing links until you are registered & logged on.
    Click Here To Register Today
    perhaps?
    ? What lol ?

  11. 08-03-2012, 03:01 AM
    #8

    Banned

    Expand


    • My Statistics

    Default Re: FindProcessWindow()

    @
    [Dear Visitor, you're restricted from viewing links until you are registered & logged on.
    Click Here To Register Today
    hief I said it can be possible but if you're new to
    [Dear Visitor, you're restricted from viewing links until you are registered & logged on.
    Click Here To Register Today
    gave you it's very helpful and he is too.

Posting Permissions

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