I have hooking application that takes whatever data it shows on its edit box (XP system calculator). Hooking has gone well, except that I used thread to get the its edit box data. I am aware that there's a way to get it without using loops/thread but I just can't figure it out how. CALLBACKs???(I'm not sure) I tried using Window Messages like: WindowProc
or PreTranslateMessage
. But I can't Set or GetWindowText - I observed, maybe because, my components were manually created (hard coded), since when I use a dragged&dropped item, I can set/getWindowText (But I am contrained to use Hard Code). Anyway, all I just need to know from YOU is how to make that function/code that don't use common loops (for, while, etc) or threads. Please help.....thanks a lot.
Please provide sample code so that I'll grasp the concepts. Thanks.