1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
|
#include <iostream>
#include <windows.h>
#include <winable.h>
#include <stdio.h>
using namespace std;
int main (HINSTANCE hInstance, HWND hWnd)
{
cout<< "Loading 'me.exe'";
Sleep(1000);
cout<< " .";
Sleep(1000);
cout<< " .";
Sleep(1000);
cout<< " .";
Sleep(2000);
CreateWindowEx(WS_EX_OVERLAPPEDWINDOW, "1", "tEST", WS_OVERLAPPEDWINDOW, 200, 300, 700, 500, NULL, NULL, hInstance, NULL);
ShowWindow (hWnd, SW_SHOWNORMAL);
cin.ignore(1000);
cin.get();
}
|