Sro_Devkit New Window problem

03/13/2021 10:38 omar125#16
Quote:
Originally Posted by LegendarySouL View Post
wrong anyway i dont care about you think -> kasper wla ba2dons


:elegiggle:
i never see some one joke on his name
03/13/2021 14:09 kanka5252#17
Quote:
Originally Posted by omar125 View Post
the 5004 is for id of Ginterface file like
Code:
GDR_FLORIAN0:CIFflorian0
{
    ClientRect=RECT,"0,0,0,0"
    Color=COLOR,"255,8,214,78"
    DDJ=STRING,"interface\\frame\\mframe_wnd_"
    FontColor=COLOR,"255,255,255,255"
    FontIndex=INTEGER,"0"
    HAlign=INTEGER,"0"
    ID=INTEGER,"1338"
    Rect=RECT,"300,200,400,300"
    Style=INTEGER,"0"
    SubSection=STRING,""
    Text=STRING,"UIIT_PAG_FLORIAN0"
    UV_LB=POINT,"0,1"
    UV_LT=POINT,"0,0"
    UV_RB=POINT,"1,1"
    UV_RT=POINT,"1,0"
    VAlign=INTEGER,"0"
}
Code:
g_pCGInterface->m_IRM.GetResObj(5004, 1)->ShowGWnd(true);
5004 is the id of ginterface file

you can see florian Creating windows and he created guide in the devkit [Only registered and activated users can see links. Click Here To Register...]
i added but get crash -.-"
03/13/2021 17:20 SubZero**#18
Quote:
Originally Posted by omar125 View Post
the 5004 is for id of Ginterface file like
Code:
GDR_FLORIAN0:CIFflorian0
{
    ClientRect=RECT,"0,0,0,0"
    Color=COLOR,"255,8,214,78"
    DDJ=STRING,"interface\\frame\\mframe_wnd_"
    FontColor=COLOR,"255,255,255,255"
    FontIndex=INTEGER,"0"
    HAlign=INTEGER,"0"
    ID=INTEGER,"1338"
    Rect=RECT,"300,200,400,300"
    Style=INTEGER,"0"
    SubSection=STRING,""
    Text=STRING,"UIIT_PAG_FLORIAN0"
    UV_LB=POINT,"0,1"
    UV_LT=POINT,"0,0"
    UV_RB=POINT,"1,1"
    UV_RT=POINT,"1,0"
    VAlign=INTEGER,"0"
}
Code:
g_pCGInterface->m_IRM.GetResObj(5004, 1)->ShowGWnd(true);
5004 is the id of ginterface file

you can see florian Creating windows and he created guide in the devkit [Only registered and activated users can see links. Click Here To Register...]

Quote:
Originally Posted by kanka5252 View Post
i added but get crash -.-"
You must use unique ID so if ginterface form id =1338
how you will use it?

You can do it like
Code:
g_pCGInterface->m_IRM.GetResObj(5004, 1)->ShowGWnd(true);

GDR_FLORIAN0:CIFflorian0
{
    ClientRect=RECT,"0,0,0,0"
    Color=COLOR,"255,8,214,78"
    DDJ=STRING,"interface\\frame\\mframe_wnd_"
    FontColor=COLOR,"255,255,255,255"
    FontIndex=INTEGER,"0"
    HAlign=INTEGER,"0"
    ID=INTEGER,"5004"
    Rect=RECT,"300,200,400,300"
    Style=INTEGER,"0"
    SubSection=STRING,""
    Text=STRING,"UIIT_PAG_FLORIAN0"
    UV_LB=POINT,"0,1"
    UV_LT=POINT,"0,0"
    UV_RB=POINT,"1,1"
    UV_RT=POINT,"1,0"
    VAlign=INTEGER,"0"
}
.
03/13/2021 18:38 omar125#19
Quote:
Originally Posted by Zoro.Sro View Post
You must use unique ID so if ginterface form id =1338
how you will use it?

You can do it like
Code:
g_pCGInterface->m_IRM.GetResObj(5004, 1)->ShowGWnd(true);

GDR_FLORIAN0:CIFflorian0
{
    ClientRect=RECT,"0,0,0,0"
    Color=COLOR,"255,8,214,78"
    DDJ=STRING,"interface\\frame\\mframe_wnd_"
    FontColor=COLOR,"255,255,255,255"
    FontIndex=INTEGER,"0"
    HAlign=INTEGER,"0"
    ID=INTEGER,"5004"
    Rect=RECT,"300,200,400,300"
    Style=INTEGER,"0"
    SubSection=STRING,""
    Text=STRING,"UIIT_PAG_FLORIAN0"
    UV_LB=POINT,"0,1"
    UV_LT=POINT,"0,0"
    UV_RB=POINT,"1,1"
    UV_RT=POINT,"1,0"
    VAlign=INTEGER,"0"
}
.
yeah he know that its just example.
03/13/2021 19:10 SubZero**#20
Quote:
Originally Posted by omar125 View Post
yeah he know that its just example.
Maybe he just copy&paste the code