Click here to Skip to main content
15,905,563 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: print n in even numbers only Pin
Richard MacCutchan10-Dec-11 7:28
mveRichard MacCutchan10-Dec-11 7:28 
GeneralRe: print n in even numbers only Pin
Albert Holguin10-Dec-11 8:01
professionalAlbert Holguin10-Dec-11 8:01 
GeneralRe: print n in even numbers only Pin
Luc Pattyn10-Dec-11 7:39
sitebuilderLuc Pattyn10-Dec-11 7:39 
AnswerRe: print n in even numbers only Pin
Software_Developer10-Dec-11 9:11
Software_Developer10-Dec-11 9:11 
GeneralRe: print n in even numbers only Pin
Richard MacCutchan10-Dec-11 22:05
mveRichard MacCutchan10-Dec-11 22:05 
QuestionNetwork Pin
john56328-Dec-11 0:15
john56328-Dec-11 0:15 
AnswerRe: Network Pin
Richard MacCutchan8-Dec-11 0:37
mveRichard MacCutchan8-Dec-11 0:37 
GeneralRe: Network Pin
Addy Tas8-Dec-11 0:58
Addy Tas8-Dec-11 0:58 
GeneralRe: Network Pin
Richard MacCutchan8-Dec-11 1:02
mveRichard MacCutchan8-Dec-11 1:02 
GeneralRe: Network Pin
Addy Tas11-Dec-11 8:52
Addy Tas11-Dec-11 8:52 
GeneralRe: Network Pin
Richard MacCutchan11-Dec-11 22:11
mveRichard MacCutchan11-Dec-11 22:11 
AnswerRe: Network Pin
David Crow8-Dec-11 3:28
David Crow8-Dec-11 3:28 
QuestionWebLogic & ISS Server Pin
john56327-Dec-11 19:57
john56327-Dec-11 19:57 
AnswerRe: WebLogic & ISS Server Pin
Richard MacCutchan7-Dec-11 21:59
mveRichard MacCutchan7-Dec-11 21:59 
GeneralRe: WebLogic & ISS Server Pin
john56327-Dec-11 22:46
john56327-Dec-11 22:46 
GeneralRe: WebLogic & ISS Server Pin
Richard MacCutchan7-Dec-11 23:19
mveRichard MacCutchan7-Dec-11 23:19 
QuestionWS_TABSTOP Pin
jkirkerx7-Dec-11 8:51
professionaljkirkerx7-Dec-11 8:51 
This is my first form in c++ win32, and I want to get the tab key rolling for testing my program code, so when I fill in the edit boxes, I can just tab to the text box.

I put this form in a mdi child window, and all the samples I found use a dialog box. GetDialogItem was quite popular.

With the create window, I added the WS_TABSTOP.

If I can figure out the message generated by having focus in the textbox, and pressing the tab key, I think I can get the message in the wndProc, and set the focus to the next textbox.


txt_Manage_CreateAccount_LastName_Field = CreateWindow(TEXT("edit"),
TEXT(""),
WS_TABSTOP | WS_CHILD | WS_VISIBLE | WS_BORDER | SS_LEFT,
winWidth - 205,
92,
180, 20,
hManage_CreateAccount,
(HMENU) IDC_MANAGE_CREATEACCOUNT_LASTNAME,
GetModuleHandle(NULL),
NULL
);
		SendMessage(txt_Manage_CreateAccount_LastName_Field, WM_SETFONT, (WPARAM)hFont_txt, FALSE);
ShowWindow(txt_Manage_CreateAccount_LastName_Field, SW_SHOW);

AnswerRe: WS_TABSTOP Pin
David Crow7-Dec-11 9:34
David Crow7-Dec-11 9:34 
GeneralRe: WS_TABSTOP Pin
jkirkerx7-Dec-11 10:56
professionaljkirkerx7-Dec-11 10:56 
GeneralRe: WS_TABSTOP Pin
jkirkerx8-Dec-11 8:49
professionaljkirkerx8-Dec-11 8:49 
AnswerRe: WS_TABSTOP Pin
Stephen Hewitt8-Dec-11 2:16
Stephen Hewitt8-Dec-11 2:16 
GeneralRe: WS_TABSTOP Pin
jkirkerx8-Dec-11 6:14
professionaljkirkerx8-Dec-11 6:14 
GeneralRe: WS_TABSTOP Pin
Stephen Hewitt9-Dec-11 15:02
Stephen Hewitt9-Dec-11 15:02 
GeneralRe: WS_TABSTOP Pin
jkirkerx9-Dec-11 15:23
professionaljkirkerx9-Dec-11 15:23 
GeneralRe: WS_TABSTOP Pin
Stephen Hewitt9-Dec-11 15:39
Stephen Hewitt9-Dec-11 15:39 

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.