|
꼼지락 님이 쓰신 글 :
: 없을까요?
:
: 알려주세여~ ^^
:
__fastcall TForm1::TForm1(TComponent* Owner)
: TForm(Owner)
{
// NT와 98에서는 실행 불가능... 이유는 잘 모르겠음.
/*
SLWA pSetLayeredWindowAttributes = NULL; // 함수포인터 선언, 초기화.
HINSTANCE hmodUSER32 = LoadLibrary("USER32.DLL"); // 인스턴스 얻음.
pSetLayeredWindowAttributes=(SLWA)GetProcAddress(hmodUSER32,"SetLayeredWindowAttributes");
//함수포인터 얻음.
HWND hwnd = this->Handle; //다이얼로그의 핸들 얻음.
SetWindowLong(hwnd, GWL_EXSTYLE, GetWindowLong(hwnd, GWL_EXSTYLE) | 524288);
pSetLayeredWindowAttributes(hwnd, 0, (255 * 90) / 100, 2);
}
2000에서밖에 지원안함...
|