Page 1 of 2 12 LastLast
Results 1 to 15 of 24
  1. #1
    NOOBJr's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    in NOOB
    Posts
    1,426
    Reputation
    112
    Thanks
    693

    [Info]Text Box Class

    Anyone know were i can get a text box class or how to make one? Thanks

  2. #2
    Sydney's Avatar
    Join Date
    Mar 2010
    Gender
    male
    Location
    Germany...
    Posts
    1,358
    Reputation
    37
    Thanks
    1,144
    My Mood
    Amused
    Icy Seal posted a tut.

    Thanks Cosmos


  3. #3
    _Fk127_'s Avatar
    Join Date
    Nov 2010
    Gender
    male
    Posts
    724
    Reputation
    16
    Thanks
    208
    My Mood
    Bitchy
    IcySeal posted one. You just need to set up a CD3D Font and itll work fine.



    Put this image in your signature if you support HTML5 development!

  4. #4
    topblast's Avatar
    Join Date
    Mar 2010
    Gender
    male
    Location
    Far from around you Programmer: C++ | VB | C# | JAVA
    Posts
    3,611
    Reputation
    149
    Thanks
    4,951
    My Mood
    Cool
    TO MAKE ONE(no leechy cody), you Draw a Bordered box and Draw Text in it with a flashing box. To Do keyboard a loop for each char on the keyboard and convert to text and draw on the textbox. If ur typing to much Calculate the RECT and draw in the rect.
    I just like programming, that is all.

    Current Stuff:

    • GPU Programmer (Cuda)
    • Client/Server (Cloud Server)
    • Mobile App Development

  5. #5
    NOOBJr's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    in NOOB
    Posts
    1,426
    Reputation
    112
    Thanks
    693
    Quote Originally Posted by kongamonga View Post
    Icy Seal posted a tut.
    Were is the tutorial? Ive been looking?

    Quote Originally Posted by _Fk127_ View Post
    IcySeal posted one. You just need to set up a CD3D Font and itll work fine.
    Talk to me on msn

    Quote Originally Posted by topblast View Post
    TO MAKE ONE(no leechy cody), you Draw a Bordered box and Draw Text in it with a flashing box. To Do keyboard a loop for each char on the keyboard and convert to text and draw on the textbox. If ur typing to much Calculate the RECT and draw in the rect.
    Ok sounds easy! Ill work on it.

  6. #6
    Synns's Avatar
    Join Date
    May 2007
    Gender
    male
    Posts
    5,173
    Reputation
    170
    Thanks
    2,555
    My Mood
    Bitchy
    Quote Originally Posted by Zane Slayman View Post

    Were is the tutorial? Ive been looking?


    Talk to me on msn



    Ok sounds easy! Ill work on it.
    Literally took me 10 seconds.

    https://www.mpgh.net/forum/207-combat...box-class.html

  7. #7
    NOOBJr's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    in NOOB
    Posts
    1,426
    Reputation
    112
    Thanks
    693
    Quote Originally Posted by Tyrannus View Post
    Thanks Bro!

  8. #8
    whatup777's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    CA Source Code Section
    Posts
    4,030
    Reputation
    147
    Thanks
    351
    My Mood
    Dead
    Calculate the size of the text with GetTextExtent and then adjust the size accordingly.
    Quotes I live by.


    A foolish person learns from his mistakes, I wise person learns from others.
    Quote Originally Posted by AVGN View Post



    mhm

    i live in texas

    i was at the grocery store with my son. He saw a mexican guy, and he said "Look daddy! a mower man!"

    he's 4 yrs old

  9. #9
    NOOBJr's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    in NOOB
    Posts
    1,426
    Reputation
    112
    Thanks
    693
    Got one error
    MyFont->getTextL((TCHAR*)textbuf,&tempSZ);
    Whats myFont?

  10. #10
    speedforyou's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Posts
    741
    Reputation
    -59
    Thanks
    108
    My Mood
    Happy
    mpghhaxo posted one to if u want i can upload but no credits to me(for EU easy to change tho)

    steel o-o's sig =
    = Done , = Not Done

    Leecher 0 =
    Newbie 25 =
    Member 50 =
    Advanced Member 100 =
    H4X0R Member 150 =
    Dual-Keyboard Member 250 =
    Expert Member 500 =
    's Trainer 750 =
    MPGH Expert 1000 =
    Synthetic Hacker 1250 =
    Blackhat Hacker 1500 =
    Whitehat Hacker 2000 =
    's Guardian 2500 =
    Upcoming MPGHiean 3000 =
    MPGH Addict 3500 =
    MPGHiean 4000 =
    MPGH Knight 4500 =
    MPGH Lord 5000 =
    MPGH Champion 5500 =
    MPGH King 6000 =
    MPGH Legend 6500 =
    MPGH God 7000 =
    MPGH God II 7500 =
    MPGH God III 8000 =
    MPGH God IV 8500 =
    MPGH God V 9000 =
    Arun's Slave 9500 =
    Dave's Slave 10000 =

  11. #11
    NOOBJr's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    in NOOB
    Posts
    1,426
    Reputation
    112
    Thanks
    693
    Quote Originally Posted by speedforyou View Post
    mpghhaxo posted one to if u want i can upload but no credits to me(for EU easy to change tho)
    PLEASE!

    /ToShort

  12. #12
    topblast's Avatar
    Join Date
    Mar 2010
    Gender
    male
    Location
    Far from around you Programmer: C++ | VB | C# | JAVA
    Posts
    3,611
    Reputation
    149
    Thanks
    4,951
    My Mood
    Cool
    Quote Originally Posted by Zane Slayman View Post
    Got one error
    MyFont->getTextL((TCHAR*)textbuf,&tempSZ);
    Whats myFont?
    OHHHHHHHHHHHHHHHHHHHH MY BELLY!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!
    I just like programming, that is all.

    Current Stuff:

    • GPU Programmer (Cuda)
    • Client/Server (Cloud Server)
    • Mobile App Development

  13. #13
    NOOBJr's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    in NOOB
    Posts
    1,426
    Reputation
    112
    Thanks
    693
    Quote Originally Posted by topblast View Post


    OHHHHHHHHHHHHHHHHHHHH MY BELLY!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!
    Can you help. Ive been working for a strait 6 hours on this!

  14. #14
    whit's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Posts
    7,170
    Reputation
    490
    Thanks
    2,253
    Quote Originally Posted by Zane Slayman View Post
    Got one error
    MyFont->getTextL((TCHAR*)textbuf,&tempSZ);
    Whats myFont?
    CD3DFont *MyFont;

  15. #15
    why06's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Location
    IBM
    Posts
    4,305
    Reputation
    170
    Thanks
    2,198
    My Mood
    Flirty
    Post the error as it appears in the Console window of the compiler.

    "Every gun that is made, every warship launched, every rocket fired signifies, in the final sense, a theft from those who hunger and are not fed, those who are cold and are not clothed. This world in arms is not spending money alone. It is spending the sweat of its laborers, the genius of its scientists, the hopes of its children. The cost of one modern heavy bomber is this: a modern brick school in more than 30 cities. It is two electric power plants, each serving a town of 60,000 population. It is two fine, fully equipped hospitals. It is some fifty miles of concrete pavement. We pay for a single fighter plane with a half million bushels of wheat. We pay for a single destroyer with new homes that could have housed more than 8,000 people. This is, I repeat, the best way of life to be found on the road the world has been taking. This is not a way of life at all, in any true sense. Under the cloud of threatening war, it is humanity hanging from a cross of iron."
    - Dwight D. Eisenhower

Page 1 of 2 12 LastLast