Page 1 of 3 123 LastLast
Results 1 to 15 of 37
  1. #1
    IcySeal's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    300
    Reputation
    34
    Thanks
    148
    My Mood
    Amused

    [D3D] TxtBox Class!!!!!!!!!!!!!!!!

    Ok so I've been working on this for most of this morning. Credz to crash for the inspiration lack of support, and some code.


    This can be used to make a custom PTC feature in your d3d hack.
    It can also be used to make a password, to keep your hack private.



    Now we need a few functions to get us started.
    Code:
    bool press(int key)
    {    
        if(GetAsyncKeyState(key)<0){
            return true;
        } else {
            return false;
        }
    }
    char getChar()
    {
        if(press(VK_SHIFT)){
            if(press(0x30)){
                return '0';
            }
            if(press(0x31)){
                return '1';
            }
            if(press(0x32)){
                return '2';
            }
            if(press(0x33)){
                return '3';
            }
            if(press(0x34)){
                return '4';
            }
            if(press(0x35)){
                return '5';
            }
            if(press(0x36)){
                return '6';
            }
            if(press(0x37)){
                return '7';
            }
            if(press(0x38)){
                return '8';
            }
            if(press(0x39)){
                return '9';
            }
            if(press(0x41)){
                return 'A';
            }
            if(press(0x42)){
                return 'B';
            }
            if(press(0x43)){
                return 'C';
            }
            if(press(0x44)){
                return 'D';
            }
            if(press(0x45)){
                return 'E';
            }
            if(press(0x46)){
                return 'F';
            }
            if(press(0x47)){
                return 'G';
            }
            if(press(0x48)){
                return 'H';
            }
            if(press(0x49)){
                return 'I';
            }
            if(press(0x4A)){
                return 'J';
            }
            if(press(0x4B)){
                return 'K';
            }
            if(press(0x4C)){
                return 'L';
            }
            if(press(0x4D)){
                return 'M';
            }
            if(press(0x4E)){
                return 'N';
            }
            if(press(0x4F)){
                return 'O';
            }
            if(press(0x50)){
                return 'P';
            }
            if(press(0x51)){
                return 'Q';
            }
            if(press(0x52)){
                return 'R';
            }
            if(press(0x53)){
                return 'S';
            }
            if(press(0x54)){
                return 'T';
            }
            if(press(0x55)){
                return 'U';
            }
            if(press(0x56)){
                return 'V';
            }
            if(press(0x57)){
                return 'W';
            }
            if(press(0x58)){
                return 'X';
            }
            if(press(0x59)){
                return 'Y';
            }
            if(press(0x5A)){
                return 'Z';
            }
        } else {
            if(press(0x30)){
                return '0';
            }
            if(press(0x31)){
                return '1';
            }
            if(press(0x32)){
                return '2';
            }
            if(press(0x33)){
                return '3';
            }
            if(press(0x34)){
                return '4';
            }
            if(press(0x35)){
                return '5';
            }
            if(press(0x36)){
                return '6';
            }
            if(press(0x37)){
                return '7';
            }
            if(press(0x38)){
                return '8';
            }
            if(press(0x39)){
                return '9';
            }
            if(press(0x41)){
                return 'a';
            }
            if(press(0x42)){
                return 'b';
            }
            if(press(0x43)){
                return 'c';
            }
            if(press(0x44)){
                return 'd';
            }
            if(press(0x45)){
                return 'e';
            }
            if(press(0x46)){
                return 'f';
            }
            if(press(0x47)){
                return 'g';
            }
            if(press(0x48)){
                return 'h';
            }
            if(press(0x49)){
                return 'i';
            }
            if(press(0x4A)){
                return 'j';
            }
            if(press(0x4B)){
                return 'k';
            }
            if(press(0x4C)){
                return 'l';
            }
            if(press(0x4D)){
                return 'm';
            }
            if(press(0x4E)){
                return 'n';
            }
            if(press(0x4F)){
                return 'o';
            }
            if(press(0x50)){
                return 'p';
            }
            if(press(0x51)){
                return 'q';
            }
            if(press(0x52)){
                return 'r';
            }
            if(press(0x53)){
                return 's';
            }
            if(press(0x54)){
                return 't';
            }
            if(press(0x55)){
                return 'u';
            }
            if(press(0x56)){
                return 'v';
            }
            if(press(0x57)){
                return 'w';
            }
            if(press(0x58)){
                return 'x';
            }
            if(press(0x59)){
                return 'y';
            }
            if(press(0x5A)){
                return 'z';
            }
        }
        if(press(0xBE)){
            return '.';
        }
        if(press(VK_SPACE)){
            return ' ';
        }
        return '`';
    }
    bool isMouseinRegion(int x1, int y1, int x2, int y2)
    {
        POINT cPos;
        GetCursorPos(&cPos);
        if(cPos.x > x1 && cPos.x < x2 && cPos.y > y1 && cPos.y < y2){
            return true;
        } else {
            return false;
        }
    }
    void ins(int loc, char * arPtr, char chr){
    	for(int i = strlen(arPtr)-1; i>loc+1; i--){
    		*(arPtr+i+1) = *(arPtr+i);
    	}
    	*(arPtr+loc) = chr;
    }
    void del(int loc, char *arPtr){
    	*(arPtr+loc) = NULL;
    	for(int i = loc; *(arPtr+i+1)!=NULL; i++){
    		*(arPtr+i) = *(arPtr+i+1);
    		*(arPtr+i+1) = NULL;
    	}
    }
    You will be missing some D3D functions you can find them in acid burn's thread.

    Then we have the class itself:
    Code:
    class caTxtBox{
    private:
    	char textbuf[512], passbuf[512];
    	POINT position;
    	SIZE maxDimensions;
    public:
    	bool active, pass;
    	int cursor;
    	caTxtBox();
    	caTxtBox(int inX, int inY, int width, int height, bool password){
    		position.x = inX; position.y = inY;
    		active = false; pass = password;
    		maxDimensions.cx = width; maxDimensions.cy = height;
    	}
    	void drawTxtBox(IDirect3DDevice9* pDevice);
    	void eventCode();
    	char * getTextC();
    	LPCSTR getTextL();
    };
    Then these functions get defined in the global scope:
    Code:
    void caTxtBox::drawTxtBox(IDirect3DDevice9* pDevice){
    	if(pass){
    		for(int i = 0; i < 512; i++){
    			if(textbuf[i] == '|'){
    				passbuf[i]='|';
    			}else if(textbuf[i] == NULL){
    				passbuf[i]=NULL;
    			}else{
    				passbuf[i]='*';
    			}
    		}
    	}
    	if(active){
    
    		DrawBox(position.x,position.y,maxDimensions.cx,maxDimensions.cy,BLACK,GREEN,pDevice);
    
    		if(!pass){
    			DrawString(position.x+3,position.y+2,ORANGE,(LPCSTR)textbuf);
    		}else{
    			DrawString(position.x+3,position.y+2,ORANGE,(LPCSTR)passbuf);
    		}
    
    	}else{
    
    		if(isMouseinRegion(position.x,position.y,position.x+maxDimensions.cx,position.y+maxDimensions.cy)){
    
    			DrawBox(position.x,position.y,maxDimensions.cx,maxDimensions.cy,GREY,GREEN,pDevice);
    
    		}else{
    
    			DrawBox(position.x,position.y,maxDimensions.cx,maxDimensions.cy,BLACK,RED,pDevice);
    
    		}
    
    		if(!pass){
    			DrawString(position.x+3,position.y+2,RED,(LPCSTR)textbuf);
    		}else{
    			DrawString(position.x+3,position.y+2,RED,(LPCSTR)passbuf);
    		}
    
    	}
    
    }
    void caTxtBox::eventCode()
    {
    	if(active){
    
    		if(strstr(textbuf,"|")==NULL){
    
    			ins(cursor,(char*)textbuf,'|');
    
    		}
    		SIZE tempSZ;
    		myFont->GetTextExtent((TCHAR*)textbuf,&tempSZ);
    		if(getChar() != '`' && tempSZ.cx < maxDimensions.cx - 6){
    
    			ins(cursor,(char*)textbuf,getChar());
    			textbuf[cursor+1] = '|';
    			cursor+=1;
    			//Sleep(125);
    
    
    		}
    		if(press(VK_BACK)){
    
    			if(cursor > 0){
    				del(cursor,(char*)textbuf);
    				textbuf[cursor-1] = '|';
    				cursor-=1;
    				//Sleep(175);
    
    			}
    
    		}
    		if(press(VK_LEFT) && cursor > 0){
    			cursor-=1;
    			textbuf[cursor+1] = NULL;
    			textbuf[cursor+1] = textbuf[cursor];
    			textbuf[cursor] = NULL;
    			textbuf[cursor] = '|';
    			//Sleep(25);
    		}
    		if(press(VK_RIGHT) && cursor < (int)strlen((char*)textbuf)-1){
    			cursor+=1;
    			textbuf[cursor-1] = NULL;
    			textbuf[cursor-1] = textbuf[cursor];
    			textbuf[cursor] = NULL;
    			textbuf[cursor] = '|';
    			//Sleep(25);
    		}
    
    	}else{
    
    		if(strstr(textbuf,"|")!=NULL){
    
    			del(cursor,(char*)textbuf);
    
    		}
    
    	}
    
    
    
    	if(GetAsyncKeyState(VK_LBUTTON)<0){
    		if(isMouseinRegion(position.x,position.y,position.x+maxDimensions.cx,position.y+maxDimensions.cy)){
    			
    			active = true;
    
    		}else{
    
    			active = false;
    
    		}
    
    	}
    
    }

    You can retrieve text through either getTextC or getTextL



    Then it can be initialized in the global scope like so:
    Code:
    caTxtBox txtBox(300,300,150,24);
    In your main loop you would need this:
    Code:
    txtBox.eventCode();
    Then it would get drawn as so:
    Code:
    txtBox.drawTxtBox(pDevice);

    Last edited by IcySeal; 08-26-2010 at 10:59 AM.

  2. The Following 11 Users Say Thank You to IcySeal For This Useful Post:

    Beatz (08-26-2010),CodeDemon (08-26-2010),GodHack2 (09-12-2010),Jason (08-26-2010),markoj (08-26-2010),NOOB (10-08-2010),Nubzgetkillz (11-27-2010),tahha (09-20-2010),topblast (08-26-2010),Turbulence (03-22-2011),why06 (01-18-2011)

  3. #2
    CodeDemon's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    vagina
    Posts
    1,070
    Reputation
    50
    Thanks
    940
    My Mood
    Fine
    Awesome release Seal!

  4. #3
    Stephen's Avatar
    Join Date
    Jun 2009
    Gender
    male
    Location
    Engine.exe
    Posts
    4,689
    Reputation
    184
    Thanks
    1,149
    My Mood
    Aggressive
    Nice work bro

  5. #4
    mmbob's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    ja
    Posts
    653
    Reputation
    70
    Thanks
    1,157
    My Mood
    Bitchy
    Code:
    for (BYTE i = '0'; i <= '9'; ++i)
     if (GetAsyncKeyState(i) & 1)
      return i;
    for (BYTE i = 'A'; i <= 'Z'; ++i)
     if (GetAsyncKeyState(i) & 1)
      return i + ((GetAsyncKeyState(VK_SHIFT) & 0x8000) ? 0 : ('a' - 'A'));
    Last edited by mmbob; 08-26-2010 at 07:17 AM. Reason: Code tags

  6. The Following User Says Thank You to mmbob For This Useful Post:

    topblast (08-26-2010)

  7. #5
    fvestrgenrl's Avatar
    Join Date
    Jan 2009
    Gender
    male
    Posts
    172
    Reputation
    9
    Thanks
    26
    omgz NICE RELEASE! cant wait for this to start being used in people's menus!
    Quote Originally Posted by fallon View Post
    hi i have make a hack and with hot keys but when i start it combat arms close down


    i use this code



    Code:
    PushToConsole("SkelModelStencil (V_F9)1");
    PushToConsole("ShowFps (V_INSERT");
    PushToConsole("ActivationDistance 999999(V_F6)" );
    PushToConsole("DisableCrosshair (V_NUMPAD 1" );
    PushToConsole("CrossHairR 255(V_NUMPAD 2) ");
    PushToConsole("ReloadSpeed 0.000000(V_F5) ");
    }
    Learning C++
    Pg 33/1225
    2.7%

  8. #6
    deathninjak0's Avatar
    Join Date
    Feb 2009
    Gender
    male
    Posts
    1,510
    Reputation
    12
    Thanks
    294
    My Mood
    Cool
    Good job seal /

  9. #7
    CoderNever's Avatar
    Join Date
    Feb 2009
    Gender
    female
    Location
    https://mpgh.net MPGHCash: $700,458,011
    Posts
    1,198
    Reputation
    131
    Thanks
    2,236
    My Mood
    Buzzed
    Nice you spent a few hours of your life coding this when it really means nothing since you did not post a screenshot .

  10. #8
    Void's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Location
    Inline.
    Posts
    3,198
    Reputation
    205
    Thanks
    1,445
    My Mood
    Mellow
    All those if statements look horrible, just create a low level keyboard hook and display whatever parameters the callback returns.

  11. #9
    CodeDemon's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    vagina
    Posts
    1,070
    Reputation
    50
    Thanks
    940
    My Mood
    Fine
    Quote Originally Posted by CoderNever View Post
    Nice you spent a few hours of your life coding this when it really means nothing since you did not post a screenshot .
    / here is one, all credz to seal!


  12. #10
    IcySeal's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    300
    Reputation
    34
    Thanks
    148
    My Mood
    Amused
    Quote Originally Posted by Void View Post
    All those if statements look horrible, just create a low level keyboard hook and display whatever parameters the callback returns.
    I could. But who knows.

  13. #11
    DeadLinez's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    https://mpgh.net Sexy Points: 989,576,420
    Posts
    465
    Reputation
    11
    Thanks
    500
    My Mood
    Psychedelic
    nice bro this is sick, anyways im just gonna do a remote PTC handling hack with custom PTC's

  14. #12
    Beatz's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Location
    In your head.
    Posts
    2,118
    Reputation
    66
    Thanks
    321
    My Mood
    Stressed
    Awesome job Seal!
    Don't Talk If You Can't Do.


  15. #13
    Auxilium's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    深い碧の果てに
    Posts
    4,518
    Reputation
    445
    Thanks
    609
    My Mood
    Happy
    [php]if(Patrick == banned)
    {
    ;
    }[/php]

  16. #14
    ac1d_buRn's Avatar
    Join Date
    Aug 2009
    Gender
    female
    Location
    CA Source Section
    Posts
    3,404
    Reputation
    157
    Thanks
    4,003
    My Mood
    Flirty
    You can never fail to impress ;D

  17. #15
    mrxd.power's Avatar
    Join Date
    Feb 2009
    Gender
    male
    Location
    Italy?
    Posts
    25
    Reputation
    10
    Thanks
    3
    My Mood
    Cold
    Quote Originally Posted by IcySeal View Post
    Ok so I've been working on this for most of this morning. Credz to crash for the inspiration lack of support, and some code.


    This can be used to make a custom PTC feature in your d3d hack.
    It can also be used to make a password, to keep your hack private.



    Now we need a few functions to get us started.
    Code:
    bool press(int key)
    {    
        if(GetAsyncKeyState(key)<0){
            return true;
        } else {
            return false;
        }
    }
    char getChar()
    {
        if(press(VK_SHIFT)){
            if(press(0x30)){
                return '0';
            }
            if(press(0x31)){
                return '1';
            }
            if(press(0x32)){
                return '2';
            }
            if(press(0x33)){
                return '3';
            }
            if(press(0x34)){
                return '4';
            }
            if(press(0x35)){
                return '5';
            }
            if(press(0x36)){
                return '6';
            }
            if(press(0x37)){
                return '7';
            }
            if(press(0x38)){
                return '8';
            }
            if(press(0x39)){
                return '9';
            }
            if(press(0x41)){
                return 'A';
            }
            if(press(0x42)){
                return 'B';
            }
            if(press(0x43)){
                return 'C';
            }
            if(press(0x44)){
                return 'D';
            }
            if(press(0x45)){
                return 'E';
            }
            if(press(0x46)){
                return 'F';
            }
            if(press(0x47)){
                return 'G';
            }
            if(press(0x48)){
                return 'H';
            }
            if(press(0x49)){
                return 'I';
            }
            if(press(0x4A)){
                return 'J';
            }
            if(press(0x4B)){
                return 'K';
            }
            if(press(0x4C)){
                return 'L';
            }
            if(press(0x4D)){
                return 'M';
            }
            if(press(0x4E)){
                return 'N';
            }
            if(press(0x4F)){
                return 'O';
            }
            if(press(0x50)){
                return 'P';
            }
            if(press(0x51)){
                return 'Q';
            }
            if(press(0x52)){
                return 'R';
            }
            if(press(0x53)){
                return 'S';
            }
            if(press(0x54)){
                return 'T';
            }
            if(press(0x55)){
                return 'U';
            }
            if(press(0x56)){
                return 'V';
            }
            if(press(0x57)){
                return 'W';
            }
            if(press(0x58)){
                return 'X';
            }
            if(press(0x59)){
                return 'Y';
            }
            if(press(0x5A)){
                return 'Z';
            }
        } else {
            if(press(0x30)){
                return '0';
            }
            if(press(0x31)){
                return '1';
            }
            if(press(0x32)){
                return '2';
            }
            if(press(0x33)){
                return '3';
            }
            if(press(0x34)){
                return '4';
            }
            if(press(0x35)){
                return '5';
            }
            if(press(0x36)){
                return '6';
            }
            if(press(0x37)){
                return '7';
            }
            if(press(0x38)){
                return '8';
            }
            if(press(0x39)){
                return '9';
            }
            if(press(0x41)){
                return 'a';
            }
            if(press(0x42)){
                return 'b';
            }
            if(press(0x43)){
                return 'c';
            }
            if(press(0x44)){
                return 'd';
            }
            if(press(0x45)){
                return 'e';
            }
            if(press(0x46)){
                return 'f';
            }
            if(press(0x47)){
                return 'g';
            }
            if(press(0x48)){
                return 'h';
            }
            if(press(0x49)){
                return 'i';
            }
            if(press(0x4A)){
                return 'j';
            }
            if(press(0x4B)){
                return 'k';
            }
            if(press(0x4C)){
                return 'l';
            }
            if(press(0x4D)){
                return 'm';
            }
            if(press(0x4E)){
                return 'n';
            }
            if(press(0x4F)){
                return 'o';
            }
            if(press(0x50)){
                return 'p';
            }
            if(press(0x51)){
                return 'q';
            }
            if(press(0x52)){
                return 'r';
            }
            if(press(0x53)){
                return 's';
            }
            if(press(0x54)){
                return 't';
            }
            if(press(0x55)){
                return 'u';
            }
            if(press(0x56)){
                return 'v';
            }
            if(press(0x57)){
                return 'w';
            }
            if(press(0x58)){
                return 'x';
            }
            if(press(0x59)){
                return 'y';
            }
            if(press(0x5A)){
                return 'z';
            }
        }
        if(press(0xBE)){
            return '.';
        }
        if(press(VK_SPACE)){
            return ' ';
        }
        return '`';
    }
    bool isMouseinRegion(int x1, int y1, int x2, int y2)
    {
        POINT cPos;
        GetCursorPos(&cPos);
        if(cPos.x > x1 && cPos.x < x2 && cPos.y > y1 && cPos.y < y2){
            return true;
        } else {
            return false;
        }
    }
    void ins(int loc, char * arPtr, char chr){
    	for(int i = strlen(arPtr)-1; i>loc+1; i--){
    		*(arPtr+i+1) = *(arPtr+i);
    	}
    	*(arPtr+loc) = chr;
    }
    void del(int loc, char *arPtr){
    	*(arPtr+loc) = NULL;
    	for(int i = loc; *(arPtr+i+1)!=NULL; i++){
    		*(arPtr+i) = *(arPtr+i+1);
    		*(arPtr+i+1) = NULL;
    	}
    }
    You will be missing some D3D functions you can find them in acid burn's thread.

    Then we have the class itself:
    Code:
    class caTxtBox{
    private:
    	char textbuf[512], passbuf[512];
    	POINT position;
    	SIZE maxDimensions;
    public:
    	bool active, pass;
    	int cursor;
    	caTxtBox();
    	caTxtBox(int inX, int inY, int width, int height, bool password){
    		position.x = inX; position.y = inY;
    		active = false; pass = password;
    		maxDimensions.cx = width; maxDimensions.cy = height;
    	}
    	void drawTxtBox(IDirect3DDevice9* pDevice);
    	void eventCode();
    	char * getTextC();
    	LPCSTR getTextL();
    };
    Then these functions get defined in the global scope:
    Code:
    void caTxtBox::drawTxtBox(IDirect3DDevice9* pDevice){
    	if(pass){
    		for(int i = 0; i < 512; i++){
    			if(textbuf[i] == '|'){
    				passbuf[i]='|';
    			}else if(textbuf[i] == NULL){
    				passbuf[i]=NULL;
    			}else{
    				passbuf[i]='*';
    			}
    		}
    	}
    	if(active){
    
    		DrawBox(position.x,position.y,maxDimensions.cx,maxDimensions.cy,BLACK,GREEN,pDevice);
    
    		if(!pass){
    			DrawString(position.x+3,position.y+2,ORANGE,(LPCSTR)textbuf);
    		}else{
    			DrawString(position.x+3,position.y+2,ORANGE,(LPCSTR)passbuf);
    		}
    
    	}else{
    
    		if(isMouseinRegion(position.x,position.y,position.x+maxDimensions.cx,position.y+maxDimensions.cy)){
    
    			DrawBox(position.x,position.y,maxDimensions.cx,maxDimensions.cy,GREY,GREEN,pDevice);
    
    		}else{
    
    			DrawBox(position.x,position.y,maxDimensions.cx,maxDimensions.cy,BLACK,RED,pDevice);
    
    		}
    
    		if(!pass){
    			DrawString(position.x+3,position.y+2,RED,(LPCSTR)textbuf);
    		}else{
    			DrawString(position.x+3,position.y+2,RED,(LPCSTR)passbuf);
    		}
    
    	}
    
    }
    void caTxtBox::eventCode()
    {
    	if(active){
    
    		if(strstr(textbuf,"|")==NULL){
    
    			ins(cursor,(char*)textbuf,'|');
    
    		}
    		SIZE tempSZ;
    		myFont->GetTextExtent((TCHAR*)textbuf,&tempSZ);
    		if(getChar() != '`' && tempSZ.cx < maxDimensions.cx - 6){
    
    			ins(cursor,(char*)textbuf,getChar());
    			textbuf[cursor+1] = '|';
    			cursor+=1;
    			//Sleep(125);
    
    
    		}
    		if(press(VK_BACK)){
    
    			if(cursor > 0){
    				del(cursor,(char*)textbuf);
    				textbuf[cursor-1] = '|';
    				cursor-=1;
    				//Sleep(175);
    
    			}
    
    		}
    		if(press(VK_LEFT) && cursor > 0){
    			cursor-=1;
    			textbuf[cursor+1] = NULL;
    			textbuf[cursor+1] = textbuf[cursor];
    			textbuf[cursor] = NULL;
    			textbuf[cursor] = '|';
    			//Sleep(25);
    		}
    		if(press(VK_RIGHT) && cursor < (int)strlen((char*)textbuf)-1){
    			cursor+=1;
    			textbuf[cursor-1] = NULL;
    			textbuf[cursor-1] = textbuf[cursor];
    			textbuf[cursor] = NULL;
    			textbuf[cursor] = '|';
    			//Sleep(25);
    		}
    
    	}else{
    
    		if(strstr(textbuf,"|")!=NULL){
    
    			del(cursor,(char*)textbuf);
    
    		}
    
    	}
    
    
    
    	if(GetAsyncKeyState(VK_LBUTTON)<0){
    		if(isMouseinRegion(position.x,position.y,position.x+maxDimensions.cx,position.y+maxDimensions.cy)){
    			
    			active = true;
    
    		}else{
    
    			active = false;
    
    		}
    
    	}
    
    }

    You can retrieve text through either getTextC or getTextL



    Then it can be initialized in the global scope like so:
    Code:
    caTxtBox txtBox(300,300,150,24);
    In your main loop you would need this:
    Code:
    txtBox.eventCode();
    Then it would get drawn as so:
    Code:
    txtBox.drawTxtBox(pDevice);

    Why not a keyboard hook? :P

Page 1 of 3 123 LastLast

Similar Threads

  1. Jetamay's D3D Form Class
    By radnomguywfq3 in forum C++/C Programming
    Replies: 16
    Last Post: 11-26-2009, 05:17 PM
  2. D3D Sprite Class
    By radnomguywfq3 in forum C++/C Programming
    Replies: 0
    Last Post: 03-01-2009, 12:37 PM
  3. Guild Wars New Classes
    By Chronologix in forum General Gaming
    Replies: 24
    Last Post: 07-23-2006, 08:46 AM
  4. [Help] D3D
    By SpiderByte in forum WarRock - International Hacks
    Replies: 7
    Last Post: 01-18-2006, 09:13 PM
  5. [Tutorial]Change class without respawn
    By vir2000 in forum Game Hacking Tutorials
    Replies: 0
    Last Post: 01-04-2006, 01:47 PM