Click here to Skip to main content
15,895,011 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
I had to move a lot of dirt to get the lowdown on that advice, but overall in the end, it will work soon today

I Added the DS_CONTROL, and the WS_EX_CONTROL_PARENT, which is suppose to extend dialog messaging to my MDI Child Window, and added a method to see the message from the tab key, and a intercept.

I loaded this in my form load function. Can't get a handle back from GetNextTabItem, so I will go back and check my window settings.

I'm not sure if what I wrote is sane or not, but it's a start.

// Intercept the Messages I want to hear
BOOL bReturn = FALSE;
while (GetMessage(&msg, NULL, 0, 0)) {
    if (bReturn == -1) {
    // handle the error and possibly exit
    }
    else { 
        TranslateMessage(&msg); 
	DispatchMessage(&msg);

	WCHAR szMessage[50];
	wsprintf(szMessage, L"msg=%u wparam=%u lparam=%u", msg.message, msg.wParam, msg.lParam);
	SetWindowText(lbl_Manage_CreateAccount_Status, szMessage);

	if (msg.message == WM_CHAR) {
		if ( msg.wParam == 9) {
			if ( msg.lParam == 983041 ) {
				HWND nextTab;
				nextTab = GetNextDlgTabItem(gManage, lbl_Manage_Label, FALSE);
		                DWORD errorCode = GetLastError();				
				SetFocus(nextTab);
			    }
			}
		}
	}		
    }	

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 
QuestionParsing in C Pin
Software20077-Dec-11 6:55
Software20077-Dec-11 6:55 
AnswerRe: Parsing in C Pin
Albert Holguin7-Dec-11 7:23
professionalAlbert Holguin7-Dec-11 7:23 
AnswerRe: Parsing in C Pin
Chris Losinger7-Dec-11 8:10
professionalChris Losinger7-Dec-11 8:10 
GeneralRe: Parsing in C Pin
Software20077-Dec-11 9:54
Software20077-Dec-11 9:54 
QuestionRe: Parsing in C Pin
David Crow7-Dec-11 9:27
David Crow7-Dec-11 9:27 

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.