Click here to Skip to main content
15,898,826 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Bits Fields - How to Use them Pin
Antony M Kancidrowski11-Aug-04 2:03
Antony M Kancidrowski11-Aug-04 2:03 
GeneralRe: Bits Fields - How to Use them Pin
David Crow11-Aug-04 5:25
David Crow11-Aug-04 5:25 
GeneralRe: Bits Fields - How to Use them Pin
sweep12311-Aug-04 6:12
sweep12311-Aug-04 6:12 
GeneralRe: Bits Fields - How to Use them Pin
David Crow11-Aug-04 7:23
David Crow11-Aug-04 7:23 
GeneralRe: Bits Fields - How to Use them Pin
sweep12311-Aug-04 21:58
sweep12311-Aug-04 21:58 
GeneralRe: Bits Fields - How to Use them Pin
David Crow12-Aug-04 2:58
David Crow12-Aug-04 2:58 
GeneralRe: Bits Fields - How to Use them Pin
sweep12312-Aug-04 4:17
sweep12312-Aug-04 4:17 
GeneralDialog Keyboard Events Pin
Joel Holdsworth10-Aug-04 22:14
Joel Holdsworth10-Aug-04 22:14 
Hi, I'm having a problem with a dialog. I need my dialog box to recieve/intercept all keyboard events that go on inside, but I'm getting problems where only the controls are reciving the keyboard events. Presumably only the window with the focus can ever recieve keyboard message. My dialog simply does not recieive any OnChar, OnKeyDown, or OnSysChar events. So I implemented OnKillFocus in the dialog like so...
void CMyDialog::OnKillFocus(CWnd* pNewWnd) 
{
	CWnd::OnKillFocus(pNewWnd);

	// The focus must be maintained so that we always recieve keyboard input
	SetFocus();
}
However this seems to make all my buttons totally unclickable! Does anyone have a solution to this at all?

Joel Holdsworth
GeneralRe: Dialog Keyboard Events Pin
Johan Rosengren11-Aug-04 6:44
Johan Rosengren11-Aug-04 6:44 
GeneralVisual C++ .net and Word 2003 automation Pin
tiziacaia10-Aug-04 21:57
tiziacaia10-Aug-04 21:57 
GeneralRe: Visual C++ .net and Word 2003 automation Pin
Steve Thresher11-Aug-04 3:04
Steve Thresher11-Aug-04 3:04 
GeneralRe: Visual C++ .net and Word 2003 automation Pin
tiziacaia11-Aug-04 4:12
tiziacaia11-Aug-04 4:12 
GeneralRe: Visual C++ .net and Word 2003 automation Pin
Steve Thresher11-Aug-04 9:32
Steve Thresher11-Aug-04 9:32 
GeneralRe: Visual C++ .net and Word 2003 automation Pin
tiziacaia11-Aug-04 18:06
tiziacaia11-Aug-04 18:06 
GeneralRe: Visual C++ .net and Word 2003 automation Pin
Steve Thresher12-Aug-04 4:36
Steve Thresher12-Aug-04 4:36 
GeneralRe: Visual C++ .net and Word 2003 automation Pin
tiziacaia16-Aug-04 8:20
tiziacaia16-Aug-04 8:20 
GeneralRe: Visual C++ .net and Word 2003 automation Pin
tiziacaia18-Aug-04 7:17
tiziacaia18-Aug-04 7:17 
GeneralRe: Visual C++ .net and Word 2003 automation Pin
Steve Thresher18-Aug-04 11:00
Steve Thresher18-Aug-04 11:00 
GeneralRe: Visual C++ .net and Word 2003 automation Pin
tiziacaia18-Aug-04 18:27
tiziacaia18-Aug-04 18:27 
Questionhow to retrieve llist data from CListCtrl::OnNMRclick(NMHDR *pNMHDR, LRESULT *pResult) Pin
zecodela10-Aug-04 20:50
zecodela10-Aug-04 20:50 
AnswerRe: how to retrieve llist data from CListCtrl::OnNMRclick(NMHDR *pNMHDR, LRESULT *pResult) Pin
Aamir Butt10-Aug-04 21:36
Aamir Butt10-Aug-04 21:36 
GeneralRe: how to retrieve llist data from CListCtrl::OnNMRclick(NMHDR *pNMHDR, LRESULT *pResult) Pin
Dudi Avramov10-Aug-04 22:48
Dudi Avramov10-Aug-04 22:48 
GeneralRe: how to retrieve llist data from CListCtrl::OnNMRclick(NMHDR *pNMHDR, LRESULT *pResult) Pin
zecodela11-Aug-04 0:32
zecodela11-Aug-04 0:32 
Generalpublic data members Pin
elephantstar10-Aug-04 20:34
elephantstar10-Aug-04 20:34 
QuestionIs User Active ? Pin
Amarelia10-Aug-04 19:47
Amarelia10-Aug-04 19:47 

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.