Can u teach me how to update this text from other GUI?
I want to make GUI for rank ingame. If it needs to create each variable per text then to too many variables...
For example my GUI like this:
Code:
for (int i = 0; i < 20; i++)
{
RECT r_slot = {18,55 + (23*i),47,24};
rank_slot = (CIFStatic *) CGWnd::CreateInstance(this,GFX_RUNTIME_CLASS(CIFStatic),r_slot,21+i,1);
rank_slot->SetText(L"-");
}
I don't know how to update this text
Quote:
Originally Posted by WolfgangNeverDie
I think you don't want to make 100++ "m_mybutton" like that to create a GUI's Rank!
If your GUI's Rank has 20 rows and 6 columns. You must create 120 button. Omg @@!
Hello,
Code:
for (int i = 0; i < 20; i++)
{
RECT r_slot = {18,55 + (23*i),47,24};
rank_slot = (CIFStatic *) CGWnd::CreateInstance(this,GFX_RUNTIME_CLASS(CIFStatic),r_slot,21+i,1);
rank_slot->SetText(L"-");
}
you forget thing.
change from rank_slot = (CIFStatic *) to rank_sloti = (CIFStatic *)
and
rank_slot->SetText(L"-"); to rank_sloti->SetText(L"-");
for (int i = 0; i < 20; i++)
{
RECT r_slot = {18,55 + (23*i),47,24};
rank_slot = (CIFStatic *) CGWnd::CreateInstance(this,GFX_RUNTIME_CLASS(CIFStatic),r_slot,21+i,1);
rank_slot->SetText(L"-");
}
you forget thing.
change from rank_slot = (CIFStatic *) to rank_sloti = (CIFStatic *)
and
rank_slot->SetText(L"-"); to rank_sloti->SetText(L"-");
good luck
Wait Can you explain one
CIFStatic can't addion a string/int "i". I don't understand how to increase this rank_slot1 rank_slot2 ...
sry for my unknowledge
I think you don't want to make 100++ "m_mybutton" like that to create a GUI's Rank!
If your GUI's Rank has 20 rows and 6 columns. You must create 120 button. Omg @@!
why ill create 120 buttons anyway?!
For rank gui you can use the created GUI As variable on ur next gui as a new type
I have a problem that after setting the client path and running VS in debug, I got this message *Please Execute the "Silkroad.exe."*
I think the DLL isn't injected to the client.
[Source] Fix the old exp bar - by writing code! 05/17/2020 - SRO PServer Guides & Releases - 18 Replies Hello beloved, dead community,
its time for another release. Its more of a proof of concept and I hope it might inspire people to continue working on it. You don't need the source to accomplish cool things. Just write your own source.
http://i.epvpimg.com/d7hJbab.png
Ye, its super ugly looking. I choose to be a coder, not a designer. I'd be happy, if someone supplies me a proper version of the 2dt and ddj files so I can update this embarrassing screenshot.
Anyway. It allows you to...
[Release/WIP]EP6 Source code 04/15/2018 - Shaiya PServer Guides & Releases - 33 Replies Hi guys,
First of all, I want to say that this release is not recommended for public servers yet. Shortly ago I changed my server to ep6 using shen1l's pet.dll, the server crashed every day, after checking the dump files I discovered that the problem was in pet.dll, but without the source code it would be harder to find the cause of the problem. So I decided to start a project and release the source code for everyone, so that everyone can solve their problems more easily, and also so that...
[C++ Source] My Free Farm Bot [WIP] 06/28/2011 - Browsergames - 0 Replies I decided to release this on here as i have no more use for it and no intention to continue the project.
I am releasing 2 projects: One basic library for mff called libmff(although it is not really a library) there is an example on how to use it in the package.
And a helper with a fancy gui.
Note that there is almost no error checking on the helper and that it crashes if you for example forget to select a product.
You need libcurl and boost for both and GWEN(the gui toolkit by garry) for...