Click here to Skip to main content
16,006,749 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Reading data from Ethernet port Pin
Michael P Butler6-Oct-01 9:32
Michael P Butler6-Oct-01 9:32 
GeneralOpenGL and black border Pin
Kristian Nilssen5-Oct-01 0:52
Kristian Nilssen5-Oct-01 0:52 
GeneralRe: OpenGL and black border Pin
5-Oct-01 2:44
suss5-Oct-01 2:44 
GeneralConverting back from CWnd::Message to SendMessage Pin
James Spibey4-Oct-01 23:56
James Spibey4-Oct-01 23:56 
GeneralRe: Converting back from CWnd::Message to SendMessage Pin
Christian Graus5-Oct-01 0:12
protectorChristian Graus5-Oct-01 0:12 
GeneralRe: Converting back from CWnd::Message to SendMessage Pin
Jon Hulatt5-Oct-01 0:13
Jon Hulatt5-Oct-01 0:13 
GeneralRe: Converting back from CWnd::Message to SendMessage Pin
Christian Graus5-Oct-01 0:28
protectorChristian Graus5-Oct-01 0:28 
GeneralRe: Converting back from CWnd::Message to SendMessage Pin
James Spibey6-Oct-01 11:24
James Spibey6-Oct-01 11:24 
Actually, I have found an easier way. All I have to do is override the DefWindowProc for my window and filter out the messages which I wish to forward:-
LRESULT CMyWnd::DefWindowProc(UINT message, WPARAM wParam, LPARAM lParam) 
{
	// Pass key presses to other window
	switch(message)	
	{
	case WM_KEYUP:
	case WM_KEYDOWN:
	case WM_SYSKEYUP:
	case WM_SYSKEYDOWN:
		::SendMessage(m_hWndTarget, message, wParam, lParam);
		break;
	}
	return CWnd::DefWindowProc(message, wParam, lParam);
}


James Spibey
GeneralRe: Converting back from CWnd::Message to SendMessage Pin
Paolo Messina5-Oct-01 11:26
professionalPaolo Messina5-Oct-01 11:26 
GeneralCListCtrl and Selection... Pin
Bernhard4-Oct-01 23:50
Bernhard4-Oct-01 23:50 
GeneralRe: CListCtrl and Selection... Pin
Bret Faller5-Oct-01 6:42
Bret Faller5-Oct-01 6:42 
GeneralRe: CListCtrl and Selection... Pin
Michael Dunn5-Oct-01 8:36
sitebuilderMichael Dunn5-Oct-01 8:36 
GeneralWIN CE Setup Pin
Kumar saurabh4-Oct-01 21:53
Kumar saurabh4-Oct-01 21:53 
GeneralDirectdraw interface Pin
erhemas4-Oct-01 21:47
erhemas4-Oct-01 21:47 
GeneralRe: Directdraw interface Pin
Christian Graus4-Oct-01 22:57
protectorChristian Graus4-Oct-01 22:57 
GeneralI need advice about which component to select for specific purpose . Please help ! Pin
4-Oct-01 19:57
suss4-Oct-01 19:57 
GeneralRe: I need advice about which component to select for specific purpose . Please help ! Pin
Bernhard4-Oct-01 21:46
Bernhard4-Oct-01 21:46 
GeneralRe: I need advice about which component to select for specific purpose . Please help ! Pin
5-Oct-01 1:16
suss5-Oct-01 1:16 
GeneralRe: I need advice about which component to select for specific purpose . Please help ! Pin
Aaron Schaefer5-Oct-01 6:13
Aaron Schaefer5-Oct-01 6:13 
GeneralManny thanks !!! :rose: Pin
6-Oct-01 10:46
suss6-Oct-01 10:46 
GeneralRe: I need advice about which component to select for specific purpose . Please help ! Pin
Rashid Thadha6-Oct-01 10:50
Rashid Thadha6-Oct-01 10:50 
GeneralRe: I need advice about which component to select for specific purpose . Please help ! Pin
6-Oct-01 11:15
suss6-Oct-01 11:15 
GeneralRe: I need advice about which component to select for specific purpose . Please help ! Pin
6-Oct-01 12:04
suss6-Oct-01 12:04 
GeneralRe: I need advice about which component to select for specific purpose . Please help ! Pin
Michael P Butler6-Oct-01 13:19
Michael P Butler6-Oct-01 13:19 
GeneralRe: I need advice about which component to select for specific purpose . Please help ! Pin
6-Oct-01 19:36
suss6-Oct-01 19:36 

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.