I use the "loop" because i have various passwords.. i mean, one by user, so, i need to find what password use to encrypt the msg
code:
if (hwnds[i] == ChatWnd.Handle) {
If the actual Handle is on the hwnds array.. then encode with their own password
Btw, i think i must use RegisterMessageNotification and OnWindowidEvent_MessageNotification
Im going to read mote about that (yes, i know hook is advanced stuff)