[Windev] Find the Handle of World of Warcraft window menu

Shout-Out

User Tag List

Results 1 to 1 of 1
  1. #1
    mmosoft's Avatar Active Member CoreCoins Purchaser
    Reputation
    25
    Join Date
    May 2009
    Posts
    60
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Windev] Find the Handle of World of Warcraft window

    Hi everybody.

    Let's go for some Windev's code ^^.

    Before reading or writing in memory, you need to find the handle of the Wow's window.

    Here is the exemple :

    First, create a function

    Code:
    PROCEDURE Enum(nHwnd est un entier, nFichier est un entier)
    
    var est une chaƮne fixe sur 255
    temp est un entier
    temp1 est un entier
    
    temp=AppelDLL32("User32", "GetWindowTextLengthA", nHwnd)
    
    temp1=AppelDLL32("User32", "GetWindowTextA", nHwnd,&var,temp+1)
    
    SI temp1 <> 0 ALORS
    	SI Gauche(var,temp3) ~= "World of Warcraft" ALORS
    		gnWOW_HANDLE = nHwnd		
    	FIN
    FIN
    
    RENVOYER Vrai
    And then call this function like this

    Code:
    API("User32", "EnumWindows", &Enum, 0)
    That's all !!!

    Make attention, with this code, you are going to find all the windows with world of warcraft name, like directorys ...
    So make sure you have only the game runing or you need to add some codes ;.

    HF
    Last edited by mmosoft; 09-30-2009 at 12:50 PM.
    OLDER ACCS

    [Windev] Find the Handle of World of Warcraft window

Similar Threads

  1. Replies: 0
    Last Post: 09-30-2009, 12:59 PM
  2. The Evolution of World of Warcraft
    By sineater213 in forum World of Warcraft General
    Replies: 3
    Last Post: 07-26-2007, 04:25 PM
  3. The final answer (World of warcraft VS Runescape)
    By corn674 in forum World of Warcraft General
    Replies: 7
    Last Post: 11-26-2006, 02:16 AM
  4. The Zones of World of Warcraft
    By Shanaar in forum World of Warcraft Guides
    Replies: 7
    Last Post: 07-05-2006, 12:24 PM
All times are GMT -5. The time now is 04:58 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search