a little dialog edit box help plz
Posted: Mon Jan 12, 2009 1:05 am
im making a trainer and ive figured out most of the stuff on my own, but im stumped on this last thing. im putting a speed hack in that has a checkbox and an edit box. i cant figure out how to take the value from the edit box and poke it when the checkbox is checked. going off of the dialog example from the help file it says
- Code: Select all
VOID EditProc( HWND hOwner, HWND hEdit ) {
// Get the whole line of text and print it.
INT iLength = GetWindowTextLength( hEdit ) + 1;
CHAR * pcText = Malloc( iLength );
GetWindowText( hEdit, pcText, iLength );
PrintF( "Text changed to ā%sā.", pcText );
Free( pcText ); // Free your resources!
}