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

C / C++ / MFC

 
AnswerRe: Random function Pin
hint_545-Dec-05 14:45
hint_545-Dec-05 14:45 
AnswerRe: Random function Pin
cmk5-Dec-05 20:18
cmk5-Dec-05 20:18 
QuestionHow do I put a Check box column into a data grid Pin
wdaliu5-Dec-05 13:14
wdaliu5-Dec-05 13:14 
QuestionError with templates Pin
ssn0015-Dec-05 13:00
ssn0015-Dec-05 13:00 
QuestionGet selected text from IE and Word Pin
Franc Morales5-Dec-05 11:45
Franc Morales5-Dec-05 11:45 
AnswerRe: Get selected text from IE and Word Pin
Sheng Jiang 蒋晟5-Dec-05 18:32
Sheng Jiang 蒋晟5-Dec-05 18:32 
GeneralRe: Get selected text from IE and Word Pin
Franc Morales5-Dec-05 19:00
Franc Morales5-Dec-05 19:00 
QuestionCtrl + Tab => next Page Pin
WernerP5-Dec-05 10:15
WernerP5-Dec-05 10:15 
Hi,

I have an MFC tab control which holds a couple of dialogs. On the first page there is a dialog which has a CListCtrl. I would like to implement

Ctrl + Tab => next page
Shift + Ctrl + Tab => prev page.

I thought this was simple - I would just override a WM_CHAR or WM_KEYDOWN or something similar. But the MFC handlers for these messages do not react to holding down/releasing Tab. They also don't give info, whether a combination of control keys like shift and ctrl are pressed together with tab.

Will I have to override PreTranslateMessage and set/unset a flag for the shift resp control keys when they are pressed/released? Or is there a more elegant solution?

Or is that kind of behavior already part of the tab control's standard implementation, and I just don't realize?

Thanks in advance
regards Werner
QuestionProperty Page Tab titles Pin
code dope5-Dec-05 9:22
code dope5-Dec-05 9:22 
QuestionRe: Property Page Tab titles Pin
David Crow5-Dec-05 9:47
David Crow5-Dec-05 9:47 
AnswerRe: Property Page Tab titles Pin
PJ Arends5-Dec-05 14:54
professionalPJ Arends5-Dec-05 14:54 
Questionerror C2228: left of '.ShowWindow' must have class/struct/union type Pin
newbie53455-Dec-05 9:14
newbie53455-Dec-05 9:14 
AnswerRe: error C2228: left of '.ShowWindow' must have class/struct/union type Pin
Maximilien5-Dec-05 9:39
Maximilien5-Dec-05 9:39 
GeneralRe: error C2228: left of '.ShowWindow' must have class/struct/union type Pin
newbie53455-Dec-05 10:01
newbie53455-Dec-05 10:01 
GeneralRe: error C2228: left of '.ShowWindow' must have class/struct/union type Pin
Maximilien5-Dec-05 10:19
Maximilien5-Dec-05 10:19 
GeneralRe: error C2228: left of '.ShowWindow' must have class/struct/union type Pin
newbie53455-Dec-05 11:03
newbie53455-Dec-05 11:03 
GeneralRe: error C2228: left of '.ShowWindow' must have class/struct/union type Pin
toxcct5-Dec-05 22:38
toxcct5-Dec-05 22:38 
QuestionRe: error C2228: left of '.ShowWindow' must have class/struct/union type Pin
David Crow5-Dec-05 9:40
David Crow5-Dec-05 9:40 
AnswerRe: error C2228: left of '.ShowWindow' must have class/struct/union type Pin
newbie53455-Dec-05 10:02
newbie53455-Dec-05 10:02 
GeneralRe: error C2228: left of '.ShowWindow' must have class/struct/union type Pin
David Crow5-Dec-05 10:39
David Crow5-Dec-05 10:39 
GeneralRe: error C2228: left of '.ShowWindow' must have class/struct/union type Pin
newbie53455-Dec-05 11:02
newbie53455-Dec-05 11:02 
Questionnmake launches Visual Studio 2003 Pin
Ian Bowler5-Dec-05 8:35
Ian Bowler5-Dec-05 8:35 
QuestionLooking to learn Pin
geniusintraining5-Dec-05 8:16
geniusintraining5-Dec-05 8:16 
AnswerRe: Looking to learn Pin
Bob Stanneveld5-Dec-05 9:37
Bob Stanneveld5-Dec-05 9:37 
QuestionControl Messges to Parent?? Pin
SublimeRide5-Dec-05 7:26
SublimeRide5-Dec-05 7:26 

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.