初めまして。
あるプログラムを作っているのですが、タイトルバーを消して、画像表示させたんですが、何故か、画像の表示がおかしくなります。
どうすれば直るでしょうか?
元画像 : http://www1.axfc.net/uploader/Sc/so/285670
タイトルバーをけして画像表示させたときの画像 : http://www1.axfc.net/uploader/Sc/so/285671
////////////////////////////////////////////////
//関数の登録
#uselib "user32.dll"
#func GetWindowLongA "GetWindowLongA" int , int
#func SetWindowLongA "SetWindowLongA" int , int , int
#func SetLayered "SetLayeredWindowAttributes" int , int , int , int
#func SendMessageA "SendMessageA" int , int , int , int
#func PostMessageA "PostMessageA" int , int , int , int
#func SetCapture "SetCapture" int
#func ReleaseCapture "ReleaseCapture"
////////////////////////////////////////////////
//ウィンドウ初期化
screen 0 , 400 , 200
////////////////////////////////////////////////
//タイトルバーの無いウィンドウに変更 GWL_STYLE(-16)
SetWindowLongA hwnd , -16 , 0x90000000
////////////////////////////////////////////////
picload "Skypetool.bmp",1