- if(!(FindWindow(NULL, L"Debug")))
- {
- static bool bActivated = false;
- if(!bActivated)
- {
- ConsoleStart();
- SetConsoleTitle(L"Debug");
- bActivated = true;
- }
- else
- {
- ShowWindow(FindWindow(NULL, L"Debug"), SW_RESTORE);
- }
- SetLayeredWindowAttributes(FindWindow(NULL, L"Debug"), RGB(0,0,0), 50,LWA_ALPHA);
- this->btnShowCon->Text = "Hide Console";
- }
- else
- {
- ShowWindow(FindWindow(NULL, L"Debug"), SW_HIDE);
- this->btnShowCon->Text = "Show Console";
- }
Undefined
By: Guest | Date: Nov 23 2009 19:56 | Format: None | Expires: never | Size: 483 B | Hits: 946
Latest pastes
55 minutes ago
10 hours ago
1 days ago
2 days ago
2 days ago