Solo usuarios registrados pueden comentar y agradecer, Logueate o Registrate

Autor Topic: takumi12 - TextInputBox  (Visto 5418 veces)

0 Miembros and 1 Guest are viewing this topic.

Offline takumi12 Posteado: July 09, 2022, 09:11:26 AM | Modificado: July 09, 2022, 09:31:46 AM by takumi12

  • MAESTRO

  • US. DE HONOR

  • LEYENDA

  • Php Coder
  • +11 puntos por ventas
  • *
  • *
  • Rank: Puto amo
  • Posts: 1.048
  • Gracias recibida: 45422
  • mx
código para crear un inputbox dentro del juego



UITextInputBox.h



UITextInputBox.cpp



Ejemplo:

creditos: @takumi12


Las offset no se crea, ni se destruye, solo se transforma

Gracias:

congacp1, finalfts24, leonardofcruz, bigrealtk92, MMOTOP100, hsowaty, drakulla, MIHARU, pety456, hoangha001, anonymousgh, bruno.castro, mutantekut, mohamerda22, jaes, bin9xhn2, ta6akus7, Van_Bom, Sub-Zero, xhwlit, mauri64, emersonx13, testaccount, phamloi7710, Pokeystabber, Ryzenn, frenzo2009, elcrom, ssaul, carper, Xysad, nhantac, MADRUGA, thangnvv92, giahuy, angel321, djkaku, idpnguyeni, duongcao, NoobDK, boypost, wellihard, phongvan1987, hans.ns, hide3by, Evangelio, daniel202, Denis Alves, wallaceh, 0911300989, dangiis, e911217, giveusatan, robiikaaa, crlzmdq, noobteam, oser77, crssbahr, matichile, nabuelbrunoperez22@gmail, hola23, juan0011, kalus91, aof10022535, OBBY, darkalves2, roshux, nhatphai21996vn, hald22, crosses, somlee, jserrao80, 1732313, dainam, calabocajea, ScottLy, AZURE, qq670348570@hotmail, onlywin, FOX, datccqc, vladslav, python, josejose, kameleonu, berte, chuky2003, MUDERBY, mjkjo0, Viper, felipesanto, 308508743, khanhvn, sh4ll3, mittosaker, dasgrid, komandirbk, saske98, vsro11, WTeam Dev, BPhamvn, josecola, tutu100, anderinho, dario, PachoRasta, armamor, SkazFire, Rose, xRonnye, Shaper, jeuzinn, Domedica, laulinh2, 153426, httdeptrai, scfmt, slavea, becoloko, zhujianhui, tunhi3000, cantante007, okilove23, hyonzinho666, m4rd0k, ilubatar, rapha_eu, Mazepa, josue3pc, Crowley, ezesosa, tucumanito, universalmu4, minhtrong, ronglovel, Hoangsy99, backerchen, dakosmu, xufqing, Jarvis, tyqhaha, DeilanSasame, s00x, garrone02, igznoth, ProTecno, rando, bustafa, antonionni, bamster89, Kosh, thangdtqn3, harry130, BDCAM, GerardZlar, Facundo Jara, 331515194, AishaCT, duglas_nike9, victorrz17, guibrooly, xxwillians, juan1997, boncha, DjGamer, ghmoraes, josef300, ์Nightz, mantios, webmonkey, hanzel, yhoon, aemoscon, zekcrom, RafhaelSouza, Almdar, StevenDX, mos02673, hu7vo6, LTP Team, hoanmaster, sonytfm, binho, SHILDKING, jorge2016, AreS, thekillrj, thuongdo07, Dizzy, jonhz, NoLimiT, goliloco, viorb, qlmnm01, MDDM, thunwa1, neeck1234, joelsobrin95, binhchivn, judakiss21, haintbn, mcalbert1, vitordodo157, RifleMaN_, kingteamus, mavine, chauttc, fengyun52894, mitavn, warrior, HayllanderBR, RinOv, straiker23, myway, Iямαηɗαɗ ☠, hennedy, zHammer, scriptkid, gredy, brahian1891, Zeus, malke, zhangjianle865, Wikka, CorsarioDgx, nic269, h3yShOk, joey, oxey.mu, esteban, CristiaNN, wenleiady, qixar, MsotoC, Murilo, GabrielDev, EaglE, LeeHenry, kenh14, rodrigoo22, donciukas14, usersa, Annabel, dreamboy7, ledemkhoc, birdy491, Carrasco, movesty, tamoio, Betell Host, Androjd123, leoferrarezi, pnicacio, francucho28, T-LEGENDARY, dhaomao, HazzdeN, zerg24, mocorongo, boybudz321, zlethanhlong, m1sterio, vokirval, visionmu, BRUM4T1CK, Felipe0211, cri0, pimkungclub, Nelsinhohj, leehenry1208, TeamCB, tkstriker, TryMenow, dlawls662, UnCleanOne, wildriff66, djnansr, llZeuzll, Genius05, mumadryn, samsunggon, ailsoncost, Genilson23, miracle1, vitor, vnshell, walkeny, jonathadll, Miisoia, BladeKnight109, wiljipa, zeruskill, AnDeR, anhtjm94, manfromvn, anh1pk, NghienMU, snowking, spartacus, jhonhy, Tongue, linkvas12, ZabiinoOo, Dragonvl15, xlockee, sagamacus, GoldSun, Kapocha33, RaduOnica, djagripnos, tcbaoanh, wnz5678, lstuan, yNot, Sweng, draco425, Nakamura, Nexus, CezarMaster, ZTMarkz, vaneavanea31, phuongcuongmsqm, Analista, InFamous, vcore30, Daniel@, geovanio, axeman192, kimrubi, weberson, nescafe, louis, kksky, nhanphu200, Marcela, agtanalata, Eternals, nylanpro, axcv157, afiqui, pedrob, glmmlg, Erick05, mael55, andreyzz, showmax, byweltin@gmail.com, LuisGaming, muccone, stopk, alexfy, truongtienhp, 183358, dahouzi, Realez, SPK, solar, Shellshock, lkt22, knight.php, coolgepds, comelon666, jony820, dieguitox, deathsquad, kaiocnx, victhorinox, redf0x, Hugo, LuciferXT, cobyzero, zeroalenda, Orion88, herjuni, muzic25, korron, gang, realman, animator, Sergio Franco, Senhor-D, Odisk, ayrton, joaovithor1, dark32, kayito, tammadall, thesofer, clockbooster, max1musn1, luciferlg, Specifier, PhantomKr, npt.formu, zpzwb113, stark98, repiolaa, shai09, c4nhsatcodong, skinmuonline, beecubin, Lauranoesta, SaintZeus, allhoy, angel3858, mustx1, davidrcj, beibei, RAGNAR111, Cartman, mugloves99, Arazox, vipgale01, ImportedPotato, iamzuika, kaisudo, Wendigo, dizzys, lechianh88, zodiacddos, quyanxu, whisky123

Offline stopk #1 Posteado: July 28, 2022, 09:14:29 AM

  • 0 puntos por ventas
  • *
  • Rank: Sup. destacado
  • Posts: 100
  • Gracias recibida: 168
  • bh
 cool2 cool2 cool2
I find that you are the only one who has been sharing on this forum lately


Offline stopk #2 Posteado: July 28, 2022, 09:19:49 AM

  • 0 puntos por ventas
  • *
  • Rank: Sup. destacado
  • Posts: 100
  • Gracias recibida: 168
  • bh
Will this help fix my problem? My friend!
https://postimg.cc/gallery/08Mq3sf



Offline GoldSun #3 Posteado: July 29, 2022, 02:58:55 AM

  • 0 puntos por ventas
  • *
  • Rank: Principiante
  • Posts: 21
  • Gracias recibida: 1008
  • vn
Do good work.
How to use Enter while GiveFocus Box. And how to unFocus it.
@takumi12


Offline cobyzero #4 Posteado: November 17, 2022, 12:05:15 AM

  • MAESTRO

  • US. DE HONOR

  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 634
  • Gracias recibida: 27622
  • pe
@takumi12 y yo guardandolo como una reliquia, y sale publicado  ^^


Offline myway #5 Posteado: December 10, 2022, 03:11:58 PM | Modificado: December 10, 2022, 03:28:29 PM by myway

  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 201
  • Gracias recibida: 818
  • ar
RForm.obj : error LNK2001: símbolo externo "public: __thiscall CUITextInputBox::CUITextInputBox(void)" (??0CUITextInputBox@@QAE@XZ) sin resolver

por que me podria salir este error ?
 

jaja Resuelto jaja


Offline xufqing #6 Posteado: February 23, 2023, 01:41:12 AM | Modificado: February 23, 2023, 09:49:50 AM by xufqing

  • 0 puntos por ventas
  • *
  • Rank: Dedicado
  • Posts: 32
  • Gracias recibida: 70
  • cn
 ^^
Code: [Select]
this->m_searchInputBox = new CUITextInputBox;
this->m_searchInputBox->Init(g_hWnd, 70, 15, 10);
this->m_searchInputBox->SetBackColor(0, 0, 0, 255);
this->m_searchInputBox->SetTextColor(255, 255, 230, 210);
this->m_searchInputBox->SetFont(g_hFont);
this->m_searchInputBox->SetState(UISTATE_NORMAL);
this->m_searchInputBox->SetOption(UIOPTION_NUMBERONLY);

this->m_searchInputBox->SetPosition(ContentX + 15 + 30,  ContentY - 14);

this->m_searchInputBox->Render();

if (this->m_searchInputBox->CheckMouseTarget())
{
if(MouseLButton)
{
gConsole.Write(0,"2h:%d,2w:%d,s:%d,p:%d",this->m_searchInputBox->GetHeight(),this->m_searchInputBox->GetWidth(),this->m_searchInputBox->GetSize(),this->m_searchInputBox->GetPos());
this->m_searchInputBox->GiveFocus(TRUE);
}

}



main 1.04e

May I ask why GiveFocus(TRUE) doesn't work?


Offline thongd45 #7 Posteado: February 23, 2023, 03:02:24 AM

  • 0 puntos por ventas
  • *
  • Rank: Principiante
  • Posts: 5
  • Gracias recibida: 170
  • vn
Only for Type Password appear the cusor


Offline xufqing #8 Posteado: February 23, 2023, 09:51:03 AM

  • 0 puntos por ventas
  • *
  • Rank: Dedicado
  • Posts: 32
  • Gracias recibida: 70
  • cn
^^
Code: [Select]
this->m_searchInputBox = new CUITextInputBox;
this->m_searchInputBox->Init(g_hWnd, 70, 15, 10);
this->m_searchInputBox->SetBackColor(0, 0, 0, 255);
this->m_searchInputBox->SetTextColor(255, 255, 230, 210);
this->m_searchInputBox->SetFont(g_hFont);
this->m_searchInputBox->SetState(UISTATE_NORMAL);
this->m_searchInputBox->SetOption(UIOPTION_NUMBERONLY);

this->m_searchInputBox->SetPosition(ContentX + 15 + 30,  ContentY - 14);

this->m_searchInputBox->Render();

if (this->m_searchInputBox->CheckMouseTarget())
{
if(MouseLButton)
{
gConsole.Write(0,"2h:%d,2w:%d,s:%d,p:%d",this->m_searchInputBox->GetHeight(),this->m_searchInputBox->GetWidth(),this->m_searchInputBox->GetSize(),this->m_searchInputBox->GetPos());
this->m_searchInputBox->GiveFocus(TRUE);
}

}



main 1.04e

May I ask why GiveFocus(TRUE) doesn't work?

I fixed it done  :D :D


Offline bin9xhn2 #9 Posteado: June 30, 2023, 05:35:26 AM

  • 0 puntos por ventas
  • *
  • Rank: Sup. destacado
  • Posts: 114
  • Gracias recibida: 207
  • vn
RForm.obj : error LNK2001: símbolo externo "public: __thiscall CUITextInputBox::CUITextInputBox(void)" (??0CUITextInputBox@@QAE@XZ) sin resolver

por que me podria salir este error ?
 

jaja Resuelto jaja

I also got the same error. can you give me the solution ?


Solo usuarios registrados pueden comentar y agradecer, Logueate o Registrate


 

Related Topics

  Subject / Started by Replies Last post
41 Replies
12156 Views
Last post March 29, 2021, 06:55:47 AM
by whisky123
1 Replies
2032 Views
Last post October 16, 2020, 10:07:41 PM
by idpnguyeni
10 Replies
2552 Views
Last post January 08, 2021, 06:25:21 AM
by onlinezajzaj
1 Replies
2901 Views
Last post February 03, 2022, 04:04:25 PM
by RAGNAR111
7 Replies
2048 Views
Last post August 12, 2025, 03:02:09 AM
by maxileo