is there any special code or setting i need to do in order to make my application to support tab stop? (assume i start from a empty project)
Printable View
is there any special code or setting i need to do in order to make my application to support tab stop? (assume i start from a empty project)
Give your parent window the WS_EX_CONTROLPARENT extended style. Give the child windows you want selectable the WS_TABSTOP style.
That code will work fine if the parent window is created from CreateWindowEx. But how about if the main window just a dialouge? I guest i can't archieve the samethings :(
A dialog should have this style automatically...
If not you can set it afterwards using SetWindowLongPtr (or SetWindowLong on older SDKs).