Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Flyff > Flyff Private Server
You last visited: Today at 12:16

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[QUESTION] REMOVE "x" BUTTON

Discussion on [QUESTION] REMOVE "x" BUTTON within the Flyff Private Server forum part of the Flyff category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Sep 2013
Posts: 17
Received Thanks: 8
[QUESTION] REMOVE "x" BUTTON

Hii

I HAVE A QUESTION, HOW I REMOVE THE "x" BUTTON OF Invertory, Loading, Login, etc..

HERE A PICTURE



THANKS :3



sorry for my bad english
InControl2 is offline  
Old 05/24/2015, 12:27   #2
 
elite*gold: 0
Join Date: May 2015
Posts: 17
Received Thanks: 1
Hello,

In file WndNeuz.cpp (folder _Interface)


Code:
void CWndTitleBar::OnInitialUpdate()
Here:
Code:
			m_awndButton[ WTBID_CLOSE - 10000 ].Create( _T( "x" ), 0, CRect( m_nButtonMax * 16, 1 , m_nButtonMax * 16 + 16, 20), this, WTBID_CLOSE ), m_nButtonMax++;
			m_awndButton[ WTBID_CLOSE - 10000 ].SetTexture( m_pApp->m_pd3dDevice, MakePath( DIR_THEME, "ButtWndExit.tga" ), TRUE );
			m_awndButton[ WTBID_CLOSE - 10000 ].FitTextureSize();
Ychi.
YchiYchi is offline  
Old 05/24/2015, 12:30   #3
 
Mike Oxmaul's Avatar
 
elite*gold: 50
Join Date: Feb 2014
Posts: 288
Received Thanks: 245
Quote:
Originally Posted by YchiYchi View Post
Hello,

In file WndNeuz.cpp (folder _Interface)


Code:
void CWndTitleBar::OnInitialUpdate()
Here:
Code:
			m_awndButton[ WTBID_CLOSE - 10000 ].Create( _T( "x" ), 0, CRect( m_nButtonMax * 16, 1 , m_nButtonMax * 16 + 16, 20), this, WTBID_CLOSE ), m_nButtonMax++;
			m_awndButton[ WTBID_CLOSE - 10000 ].SetTexture( m_pApp->m_pd3dDevice, MakePath( DIR_THEME, "ButtWndExit.tga" ), TRUE );
			m_awndButton[ WTBID_CLOSE - 10000 ].FitTextureSize();
Ychi.

Better solution would be

constructor of the window

Code:
m_bNoCloseButton = TRUE;
Mike Oxmaul is offline  
Reply

Tags
edit, question, remove, source, x buttton




All times are GMT +1. The time now is 12:17.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.