Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > C/C++
You last visited: Today at 02:06

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



C++ Fensterabfrage

Discussion on C++ Fensterabfrage within the C/C++ forum part of the Coders Den category.

Reply
 
Old   #1
 
arnibold's Avatar
 
elite*gold: 0
Join Date: May 2008
Posts: 183
Received Thanks: 12
C++ Fensterabfrage

Guten Abend,
mit folgendem Code, wartet das Programm auf ein Fenster.
Code:
    HWND window = NULL;
    while(window == NULL)
    {
            window = FindWindow(NULL, "xyz");
            Sleep(500);
    }
Ich möchte folgende Struktur in C++ umsetzen.
Code:
scan:
Sleep(30000); //damit das nicht durchgehend "scannt"
Falls Fenster "Fenstername" nicht existiert, goto afterscan
Falls Fenster "Fenstername" existiert, goto scan
afterscan:
[...]
Ich hoffe ihr könnt mir helfen.
arnibold is offline  
Reply




All times are GMT +1. The time now is 02:07.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.