Click here to Skip to main content
15,922,894 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generaltapi messages Pin
Liate17-Jul-03 4:07
Liate17-Jul-03 4:07 
Generalmailto problem Pin
skinnyreptile17-Jul-03 4:05
skinnyreptile17-Jul-03 4:05 
GeneralRe: mailto problem Pin
Iain Clarke, Warrior Programmer17-Jul-03 4:29
Iain Clarke, Warrior Programmer17-Jul-03 4:29 
GeneralRe: mailto problem Pin
Ryan Binns17-Jul-03 5:39
Ryan Binns17-Jul-03 5:39 
GeneralRe: mailto problem Pin
Iain Clarke, Warrior Programmer17-Jul-03 6:01
Iain Clarke, Warrior Programmer17-Jul-03 6:01 
GeneralTab Order Pin
User 988517-Jul-03 3:51
User 988517-Jul-03 3:51 
GeneralRe: Tab Order Pin
Mike Dimmick17-Jul-03 4:23
Mike Dimmick17-Jul-03 4:23 
GeneralRe: Tab Order Pin
Iain Clarke, Warrior Programmer17-Jul-03 4:25
Iain Clarke, Warrior Programmer17-Jul-03 4:25 
Yes. The tab order in the resource editor simply becomes the order in which the controls are
created. The order in which they are created is reflected in the Z order of the child windows.

So:

void CMyDialog::OnChangeTabOrder ()
{
    CWnd *pWnd1 = GetDlgItem (IDC_EDIT1);
    CWnd *pWnd2 = GetDlgItem (IDC_EDIT2);

    pWnd1->SetWindowPos (pWnd2, 0,0,0,0, SWP_NOMOVE | SWPNOSIZE);
}


would put IDC_EDIT1 immediately after IDC_EDIT2 in the tab order. This assumes they each have the
WS_TABSTOP style set, else TAB would skip over them. WS_GROUP is something else to be careful about.

Clear?

Iain.
GeneralVS.NET and Win XP... Pin
Anonymous17-Jul-03 3:44
Anonymous17-Jul-03 3:44 
GeneralRe: VS.NET and Win XP... Pin
valikac17-Jul-03 4:31
valikac17-Jul-03 4:31 
GeneralRe: VS.NET and Win XP... Pin
pranavamhari17-Jul-03 6:28
pranavamhari17-Jul-03 6:28 
GeneralRe: VS.NET and Win XP... Pin
jspano17-Jul-03 7:34
jspano17-Jul-03 7:34 
GeneralRe: VS.NET and Win XP... Pin
Mike Nordell17-Jul-03 9:24
Mike Nordell17-Jul-03 9:24 
GeneralRe: VS.NET and Win XP... Pin
jspano18-Jul-03 4:51
jspano18-Jul-03 4:51 
GeneralModeless Windows Pin
Jay Hova17-Jul-03 3:44
Jay Hova17-Jul-03 3:44 
GeneralRe: Modeless Windows Pin
G. Steudtel17-Jul-03 5:07
G. Steudtel17-Jul-03 5:07 
QuestionHow to Calculate Net Connection Speed??????? Pin
HemantR...17-Jul-03 3:08
HemantR...17-Jul-03 3:08 
AnswerRe: How to Calculate Net Connection Speed??????? Pin
valikac17-Jul-03 4:33
valikac17-Jul-03 4:33 
GeneralRe: How to Calculate Net Connection Speed??????? Pin
HemantR...17-Jul-03 5:00
HemantR...17-Jul-03 5:00 
Generalreplacing a character in a string Pin
si_6917-Jul-03 2:41
si_6917-Jul-03 2:41 
GeneralRe: replacing a character in a string Pin
Ian Darling17-Jul-03 2:46
Ian Darling17-Jul-03 2:46 
GeneralRe: replacing a character in a string Pin
Ryan Binns17-Jul-03 3:05
Ryan Binns17-Jul-03 3:05 
GeneralHelp! How VC++ program running on multiple PCs Pin
aurorahe17-Jul-03 2:40
aurorahe17-Jul-03 2:40 
GeneralRe: Help! How VC++ program running on multiple PCs Pin
Ian Darling17-Jul-03 2:51
Ian Darling17-Jul-03 2:51 
GeneralRe: Help! How VC++ program running on multiple PCs Pin
aurorahe17-Jul-03 4:22
aurorahe17-Jul-03 4:22 

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.