View Single Post
  #1  
Old 12-26-2007, 07:56 PM
Codein Codein is offline
jwd
Codein's Avatar
Join Date: Oct 2005
Location: Greater Manchester
Posts: 2,423
Codein has a spectacular aura aboutCodein has a spectacular aura about
Send a message via AIM to Codein Send a message via MSN to Codein
Rather weird GUI problem

I've having a really strange problem with setting a custom gui bitmap.

I'm using a 24-bit PNG with transparency.

This is the code I'm using:

PHP Code:
//#CLIENTSIDE

function onCreated() {
  
Message_Window.destroy();
  
  new 
GuiControlProfile("MessageWindow") {
    
bitmap "guiquian_messagewindow.png";
    
transparency 0.5;
  }

  new 
GuiWindowCtrl("Message_Window") {
    
profile "MessageWindow";
    
= (screenwidth screenwidth) + 180;
    
= (screenheight screenheight) + 20;
    
width screenwidth 200;
    
height 100;
    
text "message bar";
    
//No Control
    
canresize 0;
    
canclose 0;
    
canmove 0;
    
canmaximize 0;
    
canminimize 1;
  }
 

I've attached the image I've used and a screenshot of what's going on.
Attached Thumbnails
Click image for larger version

Name:	strange_problem.png
Views:	201
Size:	60.5 KB
ID:	43603  
Attached Images
 
Reply With Quote