Click here to Skip to main content
15,920,801 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
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 
GeneralRe: WS_TABSTOP Pin
jkirkerx9-Dec-11 16:34
professionaljkirkerx9-Dec-11 16:34 
GeneralRe: WS_TABSTOP Pin
Stephen Hewitt9-Dec-11 19:42
Stephen Hewitt9-Dec-11 19:42 
GeneralRe: WS_TABSTOP Pin
jkirkerx9-Dec-11 20:18
professionaljkirkerx9-Dec-11 20:18 
GeneralRe: WS_TABSTOP Pin
Stephen Hewitt9-Dec-11 21:22
Stephen Hewitt9-Dec-11 21:22 
AnswerIt works, now but how to detect shift tab << Pin
jkirkerx8-Dec-11 12:40
professionaljkirkerx8-Dec-11 12:40 
GeneralRe: It works, now but how to detect shift tab << Pin
Graham Breach8-Dec-11 13:06
Graham Breach8-Dec-11 13:06 
GeneralRoom for improvement let me know. Pin
jkirkerx8-Dec-11 13:16
professionaljkirkerx8-Dec-11 13:16 
I just figured that out, maybe I can detect the ks in a better way, something about the high and low order. but it goes forward and backwards now, and in my MDI Child window. So I don't have to dump my GUI's and convert them to dialogs.

Lesson hard learned after reading all those articles and tips.


C#
while (GetMessage(&msg, NULL, 0, 0)) {
        TranslateMessage(&msg);
        DispatchMessage(&msg);

        if (msg.message == WM_CHAR) {
            short ks = GetKeyState(VK_SHIFT);
            if (msg.wParam == VK_TAB) {
                if (ks >= 0) {
                    // Tab motion forward >>
                    SetFocus(GetNextDlgTabItem(hManage_CreateAccount, GetFocus(), FALSE));
                }
                else {
                    // Tab motion backward <<
                    SetFocus(GetNextDlgTabItem(hManage_CreateAccount, GetFocus(), TRUE));
                }
            }
        }
    }

QuestionParsing in C Pin
Software20077-Dec-11 6:55
Software20077-Dec-11 6:55 

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.