• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

Neuz Application Buttons

Inactive
Joined
Jan 20, 2009
Messages
1,014
Reaction score
1,830
This simply add's Minimize, Maximize and Close to the Neuz app bar.

Decided i would release this seeing someone epvp is selling this for 50 euro and it literally takes a brain and a quick merge to figure it out.

Open ( D3DApp.cpp ):

Find:
Code:
#ifdef __CSC_VER9_4
            m_dwWindowStyle = WS_OVERLAPPEDWINDOW;
#else //__CSC_VER9_4
            m_dwWindowStyle = WS_OVERLAPPEDWINDOW | WS_VISIBLE;
#endif //__CSC_VER9_4

Replace With:

Code:
#ifdef __ZHICHIZUIXIAOHUA
            m_dwWindowStyle = WS_OVERLAPPED | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME | 
                WS_MINIMIZEBOX | WS_VISIBLE;
#else //__ZHICHIZUIXIAOHUA
#ifdef __CSC_VER9_4
            m_dwWindowStyle = WS_OVERLAPPEDWINDOW;
#else //__CSC_VER9_4
            m_dwWindowStyle = WS_OVERLAPPEDWINDOW | WS_VISIBLE;
#endif //__CSC_VER9_4
            m_dwWindowStyle &= ~WS_MAXIMIZEBOX;
            m_dwWindowStyle &= ~WS_MINIMIZEBOX;
            m_dwWindowStyle &= ~WS_SYSMENU;
#endif //__ZHICHIZUIXIAOHUA

Find:
Code:
// Pause( true );

Replace With:
Code:
#ifdef __ZHICHIZUIXIAOHUA
                Pause( true ); // Pause while we're minimized - xuzhu°¡ °íħ
#endif //__ZHICHIZUIXIAOHUA

Find:
Code:
case WM_ENTERMENULOOP:

Above It Place:
Code:
#ifdef __ZHICHIZUIXIAOHUA
         case WM_NCMOUSEMOVE:
            //±êÌâÀ¸Òƶ¯Êó±ê
             SetCursor(LoadCursor(NULL,IDC_ARROW));
             break;
#endif //__ZHICHIZUIXIAOHUA

Find:
dwStyle = WS_OVERLAPPED | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME |
WS_MINIMIZEBOX | WS_VISIBLE;

Replace With:
Code:
#ifndef __ZHICHIZUIXIAOHUA
            
            dwStyle = WS_OVERLAPPEDWINDOW | WS_VISIBLE;
            dwStyle &= ~WS_MAXIMIZEBOX;
            dwStyle &= ~WS_MINIMIZEBOX;
            dwStyle &= ~WS_SYSMENU;
            dwStyle &= ~WS_SIZEBOX;
#else
            dwStyle = WS_OVERLAPPED | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME | 
                WS_MINIMIZEBOX | WS_VISIBLE;
#endif //__ZHICHIZUIXIAOHUA

In VersionCommon.h (Neuz)

Add:
Code:
#define __ZHICHIZUIXIAOHUA

Enjoy, this is not my code.
This code is from flyffCn googlecode and does indeed work.
 
Experienced Elementalist
Joined
Nov 5, 2011
Messages
242
Reaction score
75
I remeber i already did this, but took me a lil time, then idk wtf happened, all is gone xD, thanks for the release dude!
 
Scarlet Dreamz ~waves~
Joined
Jul 29, 2008
Messages
786
Reaction score
87
I remeber i already did this, but took me a lil time, then idk wtf happened, all is gone xD, thanks for the release dude!

I did this long time ago, but there are ways to do et whitout moving to much.
 
Flyff Developer
Loyal Member
Joined
Apr 6, 2009
Messages
1,873
Reaction score
384
Wouldn't the part about 'pausing the game while minimized' cause you to d/c if it's minimized for too long? I remember long ago on eFlyff that if you were full screen, and switched out to a different program (causing it to minimize), then doing it for too long would d/c you.
 
Inactive
Joined
Jan 20, 2009
Messages
1,014
Reaction score
1,830

You are 100% correct.

Those who don't want this feature can simply skip the pause part
 
Newbie Spellweaver
Joined
Jan 25, 2012
Messages
40
Reaction score
1
You are 100% correct.

Those who don't want this feature can simply skip the pause part

Does this work for windows 7? I tried adding and compiled successfully, but when opening neuz it shows the minimize maximize buttons for a split second then vanishes.
 
Initiate Mage
Joined
Aug 26, 2023
Messages
4
Reaction score
0
Hello Ive been able to apply the buttons but upon minimize my client dc'd why, i skip the pause part as i read the conversation above