Righty-o, so ive been using VB6 for a break from c++ for a while...
And now im back to the basics.
And stuck.
.
.
I'm using this:
Code:
#include <iostream>
#define _WIN32_WINNT 0x0500
#include <windows.h>
using namespace std;
int main()
{
HWND hWnd = GetConsoleWindow();
SetConsoleTitle("Test");
SetWindowLong(hWnd, GWL_EXSTYLE,
GetWindowLong(hWnd, GWL_EXSTYLE) | WS_EX_LAYERED);
SetLayeredWindowAttributes(hWnd, 0, 50, LWA_ALPHA);
system("PAUSE");
return 0;
}
To try and make the console window translucent, but failing miserably.
Any idea's guys?
Thanks guys.