[Solved] I need help with the launch/patch

Experienced Elementalist
Joined
Mar 16, 2019
Messages
211
Reaction score
64
Hi ragerz, I followed a tutorial to create a patch from a neighboring site, it is working correctly, but I edited the patch theme and it continues to work but what happens is that the dialog box and the loading bar are displaced from where I edited them, it continues to follow the pattern of the original launcher and not the one I edited

1753353064604 - [Solved] I need help with the launch/patch - RaGEZONE Forums

the dialog box appears where it is in red and the loading bar does not even appear because it is further down


If there is anyone who can help me with anything, please tell me where to go to edit the positioning or be able to help me in a more forceful way. I am willing to pay depending on the amount, of course! Thank you very much in advance.
 
You can edit the position in BetaPatchClientDlg under

Code:
BOOL CBetaPatchClientDlg::InitControls()

for News box, I think you look for
Code:
m_Static_HomeLink.SetWindowPos

and for buttons you look for
Code:
	GetDlgItem( IDC_BUTTON_START )->MoveWindow( 680, 450, 250, 87 ); //GAME START 
	GetDlgItem( IDC_BUTTON_REGISTER )->MoveWindow( 25, 515, 100, 20 ); //REGISTER
	GetDlgItem( IDC_OPTION )->MoveWindow( 295, 515, 100, 20 ); //OPTION
	GetDlgItem( IDC_EXIT )->MoveWindow( 555, 515, 100, 20 ); //CLOSE
	GetDlgItem( IDC_CURRENT_STATE)->MoveWindow( 25,443, 170, 20 ); //PATCH COMPLETED/PATCHING
	GetDlgItem( IDC_DOWN_SPEED)->MoveWindow( 295, 443, 100, 20 ); //DOWNLOAD SPEED
	GetDlgItem( IDC_FILE_NUMBER)->MoveWindow( 555, 443, 100, 20 ); // 1/1
	GetDlgItem( IDC_FILEPROGRESS )->MoveWindow( 25, 490, 630, 20 ); //UPPER PROGRESS BAR
	GetDlgItem( IDC_TOTALPROGRESS)->MoveWindow( 25, 465, 630, 20 ); //LOWER PROGRESS BAR
	GetDlgItem( IDC_MASQUERADEVERSION)->MoveWindow( 350, 550, 200, 20 );
 
Upvote 0
You can edit the position in BetaPatchClientDlg under

Code:
BOOL CBetaPatchClientDlg::InitControls()

for News box, I think you look for
Code:
m_Static_HomeLink.SetWindowPos

and for buttons you look for
Code:
    GetDlgItem( IDC_BUTTON_START )->MoveWindow( 680, 450, 250, 87 ); //GAME START
    GetDlgItem( IDC_BUTTON_REGISTER )->MoveWindow( 25, 515, 100, 20 ); //REGISTER
    GetDlgItem( IDC_OPTION )->MoveWindow( 295, 515, 100, 20 ); //OPTION
    GetDlgItem( IDC_EXIT )->MoveWindow( 555, 515, 100, 20 ); //CLOSE
    GetDlgItem( IDC_CURRENT_STATE)->MoveWindow( 25,443, 170, 20 ); //PATCH COMPLETED/PATCHING
    GetDlgItem( IDC_DOWN_SPEED)->MoveWindow( 295, 443, 100, 20 ); //DOWNLOAD SPEED
    GetDlgItem( IDC_FILE_NUMBER)->MoveWindow( 555, 443, 100, 20 ); // 1/1
    GetDlgItem( IDC_FILEPROGRESS )->MoveWindow( 25, 490, 630, 20 ); //UPPER PROGRESS BAR
    GetDlgItem( IDC_TOTALPROGRESS)->MoveWindow( 25, 465, 630, 20 ); //LOWER PROGRESS BAR
    GetDlgItem( IDC_MASQUERADEVERSION)->MoveWindow( 350, 550, 200, 20 );
Thank you very much, I just got home from work and I'm going to test it now

You can edit the position in BetaPatchClientDlg under

Code:
BOOL CBetaPatchClientDlg::InitControls()

for News box, I think you look for
Code:
m_Static_HomeLink.SetWindowPos

and for buttons you look for
Code:
    GetDlgItem( IDC_BUTTON_START )->MoveWindow( 680, 450, 250, 87 ); //GAME START
    GetDlgItem( IDC_BUTTON_REGISTER )->MoveWindow( 25, 515, 100, 20 ); //REGISTER
    GetDlgItem( IDC_OPTION )->MoveWindow( 295, 515, 100, 20 ); //OPTION
    GetDlgItem( IDC_EXIT )->MoveWindow( 555, 515, 100, 20 ); //CLOSE
    GetDlgItem( IDC_CURRENT_STATE)->MoveWindow( 25,443, 170, 20 ); //PATCH COMPLETED/PATCHING
    GetDlgItem( IDC_DOWN_SPEED)->MoveWindow( 295, 443, 100, 20 ); //DOWNLOAD SPEED
    GetDlgItem( IDC_FILE_NUMBER)->MoveWindow( 555, 443, 100, 20 ); // 1/1
    GetDlgItem( IDC_FILEPROGRESS )->MoveWindow( 25, 490, 630, 20 ); //UPPER PROGRESS BAR
    GetDlgItem( IDC_TOTALPROGRESS)->MoveWindow( 25, 465, 630, 20 ); //LOWER PROGRESS BAR
    GetDlgItem( IDC_MASQUERADEVERSION)->MoveWindow( 350, 550, 200, 20 );
Thank you very much, it worked really well
 
Last edited:
Upvote 0
Back