Hi! I have a question. In dialog box (main window) i have 2 buttons. When i click on 'About' i see about box. When i get back from this into main window, how to focus again on edit box? Thank you Greetz
SetFocus :) Mirno
hi i know that, but the question is where in the code? ... if ax==aboutid invoke messagebox, ... ... give me the example thx
Its something like that anyway (I've got no docs with me so its what I remember (which isn't a lot) :) ) Mirno
... if ax==aboutid invoke messagebox, ... invoke GetDlgItem, hWnd, editid ;eax now has the handle of the edit box invoke SetFocus, eax .endif ;or else or whatever ...
thx man i solve the problem greetz