Click here to Skip to main content
15,907,281 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Owner drawn menu Pin
Hamid_RT15-Mar-07 19:15
Hamid_RT15-Mar-07 19:15 
GeneralRe: Owner drawn menu Pin
Mark Salsbery16-Mar-07 6:57
Mark Salsbery16-Mar-07 6:57 
GeneralRe: Owner drawn menu Pin
Hamid_RT16-Mar-07 7:15
Hamid_RT16-Mar-07 7:15 
Questionhow to make a form behind all the desktop icons Pin
goldli14-Mar-07 14:21
goldli14-Mar-07 14:21 
AnswerRe: how to make a form behind all the desktop icons Pin
Bram van Kampen14-Mar-07 16:10
Bram van Kampen14-Mar-07 16:10 
GeneralRe: how to make a form behind all the desktop icons Pin
goldli14-Mar-07 16:21
goldli14-Mar-07 16:21 
QuestionBuilding DLL Pin
cbrack66614-Mar-07 13:47
cbrack66614-Mar-07 13:47 
QuestionCScrollView doesn't respond to mousewheel or keyboard Pin
SeniorBob14-Mar-07 13:22
SeniorBob14-Mar-07 13:22 
Hello,

I'm having a problem with a CScrollView in a CSplitterWnd. It doesn't respond to any keyboard commands (WM_KEYDOWN) or to WM_MOUSEWHEEL. The CSplitterWnd is a 1 row, 2 col splitter. The left side (0,0) is a CFormView and the right side (0,1) is the CScrollView (CMessageView : CScrollView). Unfortunately CMessageView originally inherited from just a CView and I later changed it to inherit from CScrollView by manually changing all the CView references to CScrollView, except where there was a pointer to CView. This may be an underlying cause to the problem.

Anyway the scrollview responds properly to the use of the scrollbars, but doesn't respond to the keyboard or mousewheel. I've been able to determine that the CMessageView does indeed have focus and that it does in fact receive WM_MOUSEWHEEL commands. I haven't tried WM_KEYDOWN commands, but I suspect that it will respond to them as well.

Does anyone have any ideas on what I'm doing wrong? Or some suggestions on other things to try? I've googled on this for quite a while now and nothing that I've found seems to work. I thought that a CScrollView was supposed to automatically work with mouse wheels and the keyboard.

Thanks in advance for any help.

Questionim just learning to prgram and have troubleing starting this question Pin
bigtimer102214-Mar-07 12:32
bigtimer102214-Mar-07 12:32 
AnswerRe: im just learning to prgram and have troubleing starting this question Pin
Bram van Kampen14-Mar-07 16:30
Bram van Kampen14-Mar-07 16:30 
AnswerRe: im just learning to prgram and have troubleing starting this question Pin
_AnsHUMAN_ 14-Mar-07 18:52
_AnsHUMAN_ 14-Mar-07 18:52 
GeneralRe: im just learning to prgram and have troubleing starting this question Pin
bigtimer102214-Mar-07 18:54
bigtimer102214-Mar-07 18:54 
GeneralRe: im just learning to prgram and have troubleing starting this question Pin
_AnsHUMAN_ 14-Mar-07 19:03
_AnsHUMAN_ 14-Mar-07 19:03 
GeneralRe: im just learning to prgram and have troubleing starting this question Pin
bigtimer102214-Mar-07 19:03
bigtimer102214-Mar-07 19:03 
QuestionSimple Problem? Blind Author cant see? Pin
LeighRogers14-Mar-07 11:50
LeighRogers14-Mar-07 11:50 
AnswerRe: Simple Problem? Blind Author cant see? Pin
John R. Shaw14-Mar-07 15:33
John R. Shaw14-Mar-07 15:33 
AnswerRe: Simple Problem? Blind Author cant see? Pin
Hamid_RT14-Mar-07 19:15
Hamid_RT14-Mar-07 19:15 
QuestionNeed help communicating with MFC dialog boxes (domodal) [modified] Pin
CoffeeAddict1914-Mar-07 11:10
CoffeeAddict1914-Mar-07 11:10 
AnswerRe: Need help communicating with MFC dialog boxes (domodal) Pin
toxcct14-Mar-07 11:23
toxcct14-Mar-07 11:23 
GeneralRe: Need help communicating with MFC dialog boxes (domodal) Pin
andersod214-Mar-07 12:27
andersod214-Mar-07 12:27 
GeneralRe: Need help communicating with MFC dialog boxes (domodal) [modified] Pin
CoffeeAddict1914-Mar-07 18:24
CoffeeAddict1914-Mar-07 18:24 
GeneralRe: Need help communicating with MFC dialog boxes (domodal) Pin
andersod214-Mar-07 18:42
andersod214-Mar-07 18:42 
GeneralRe: Need help communicating with MFC dialog boxes (domodal) Pin
andersod214-Mar-07 13:13
andersod214-Mar-07 13:13 
GeneralRe: Need help communicating with MFC dialog boxes (domodal) Pin
toxcct14-Mar-07 22:07
toxcct14-Mar-07 22:07 
GeneralRe: Need help communicating with MFC dialog boxes (domodal) Pin
andersod215-Mar-07 10:30
andersod215-Mar-07 10:30 

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.