Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DLL Talk / Dragging custom shaped window, gadget transparency not working either

Author
Message
NeoNova
18
Years of Service
User Offline
Joined: 1st Dec 2005
Location: Cone of Silence
Posted: 5th Jan 2006 06:25
I have a custom shaped window that I want to move around. I turn the entire window into a gadget and move it around based on desktop coords ... I read:
http://forum.thegamecreators.com/?m=forum_view&t=66939&b=18

but using those same techniques it's not working.

The code below only moves the entire window when mouse button goes up and only if I am still under pnlCover1.

Also the pnlCover2 panel gadget transparency isn't working (set to 0 to be able to see 3d graphics thru it).

Thanks in advance!



"The most merciful thing in the world, I think, is the inability of the human mind to correlate all its contents."
H. P. Lovecraft, "The Call of Cthulhu"
NeoNova
18
Years of Service
User Offline
Joined: 1st Dec 2005
Location: Cone of Silence
Posted: 5th Jan 2006 06:48
Fixed the transparency issue. I had this line:

SET IMAGE COLORKEY 0,0,14

still left in the code from previous version ... doh!

Setting colorkey back to black fixed it (or commented the line out).

"The most merciful thing in the world, I think, is the inability of the human mind to correlate all its contents."
H. P. Lovecraft, "The Call of Cthulhu"

Login to post a reply

Server time is: 2024-11-21 18:24:46
Your offset time is: 2024-11-21 18:24:46