Click here to Skip to main content
15,886,199 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionProblem with DeviceIoControl() Pin
john563229-Jan-09 19:13
john563229-Jan-09 19:13 
QuestionHow to implement Tab order to the controls in a MFC Dialog box Pin
kapardhi29-Jan-09 18:55
kapardhi29-Jan-09 18:55 
AnswerRe: How to implement Tab order to the controls in a MFC Dialog box Pin
Naveen29-Jan-09 18:59
Naveen29-Jan-09 18:59 
GeneralRe: How to implement Tab order to the controls in a MFC Dialog box Pin
Nahida HK12-Jul-16 22:29
Nahida HK12-Jul-16 22:29 
AnswerRe: How to implement Tab order to the controls in a MFC Dialog box Pin
ATM@CodeProject29-Jan-09 19:01
ATM@CodeProject29-Jan-09 19:01 
AnswerRe: How to implement Tab order to the controls in a MFC Dialog box Pin
Nishad S29-Jan-09 19:05
Nishad S29-Jan-09 19:05 
QuestionRe: How to implement Tab order to the controls in a MFC Dialog box Pin
AJ8326-Apr-11 22:02
AJ8326-Apr-11 22:02 
AnswerRe: How to implement Tab order to the controls in a MFC Dialog box Pin
Nishad S26-Apr-11 22:24
Nishad S26-Apr-11 22:24 
I presume that "dynamic edit box" means you are creating edit box dynamically at run time. If so, you can use SetWindowPos API to set the Z-order of edit control. You will get more information from the API documentation. The parameter hWndInsertAfter (or pWndInsertAfter in the case of MFC) can be the window handle of control, which is needed to be before in tab order.
For example,
m_edit2.SetWindowPos( &m_edit1, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZER | SWP_NOACTIVATE );
This will set the tab order as edit1 -> edit2.

Hope this info will help.
- ns ami -

GeneralRe: How to implement Tab order to the controls in a MFC Dialog box Pin
AJ8326-Apr-11 23:07
AJ8326-Apr-11 23:07 
GeneralRe: How to implement Tab order to the controls in a MFC Dialog box Pin
Nishad S26-Apr-11 23:24
Nishad S26-Apr-11 23:24 
GeneralRe: How to implement Tab order to the controls in a MFC Dialog box Pin
AJ8326-Apr-11 23:38
AJ8326-Apr-11 23:38 
GeneralRe: How to implement Tab order to the controls in a MFC Dialog box Pin
Nishad S26-Apr-11 23:46
Nishad S26-Apr-11 23:46 
GeneralRe: How to implement Tab order to the controls in a MFC Dialog box Pin
AJ8327-Apr-11 0:05
AJ8327-Apr-11 0:05 
GeneralRe: How to implement Tab order to the controls in a MFC Dialog box Pin
Nishad S27-Apr-11 0:18
Nishad S27-Apr-11 0:18 
GeneralRe: How to implement Tab order to the controls in a MFC Dialog box Pin
AJ8327-Apr-11 0:22
AJ8327-Apr-11 0:22 
GeneralRe: How to implement Tab order to the controls in a MFC Dialog box Pin
AJ8327-Apr-11 1:52
AJ8327-Apr-11 1:52 
Questionstr length Pin
VC++Maniac29-Jan-09 18:24
VC++Maniac29-Jan-09 18:24 
AnswerRe: str length Pin
Naveen29-Jan-09 18:44
Naveen29-Jan-09 18:44 
AnswerRe: str length Pin
_AnsHUMAN_ 29-Jan-09 18:46
_AnsHUMAN_ 29-Jan-09 18:46 
AnswerRe: str length Pin
kapardhi29-Jan-09 18:57
kapardhi29-Jan-09 18:57 
AnswerRe: str length Pin
Nishad S29-Jan-09 18:57
Nishad S29-Jan-09 18:57 
AnswerRe: str length Pin
VC++Maniac29-Jan-09 19:20
VC++Maniac29-Jan-09 19:20 
GeneralRe: str length Pin
Nishad S29-Jan-09 19:42
Nishad S29-Jan-09 19:42 
Question[Message Deleted] Pin
Alex@9C29-Jan-09 18:01
Alex@9C29-Jan-09 18:01 
AnswerRe: Arabic string format issue Pin
Joseph Marzbani29-Jan-09 20:37
Joseph Marzbani29-Jan-09 20:37 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.