Click here to Skip to main content
15,917,808 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Assign value to a variable after a delay [modified] Pin
Eugen Podsypalnikov29-Sep-10 20:48
Eugen Podsypalnikov29-Sep-10 20:48 
AnswerRe: Assign value to a variable after a delay Pin
Aescleal29-Sep-10 20:52
Aescleal29-Sep-10 20:52 
GeneralRe: Assign value to a variable after a delay Pin
Luc Pattyn30-Sep-10 0:43
sitebuilderLuc Pattyn30-Sep-10 0:43 
GeneralRe: Assign value to a variable after a delay Pin
Aescleal30-Sep-10 0:59
Aescleal30-Sep-10 0:59 
QuestionHow to call C# APIs from C++ Pin
pandit8429-Sep-10 17:36
pandit8429-Sep-10 17:36 
AnswerRe: How to call C# APIs from C++ Pin
Anand Todkar29-Sep-10 18:30
Anand Todkar29-Sep-10 18:30 
AnswerRe: How to call C# APIs from C++ Pin
Sauro Viti29-Sep-10 23:33
professionalSauro Viti29-Sep-10 23:33 
QuestionTab key doesn't work right Pin
garyflet29-Sep-10 6:32
garyflet29-Sep-10 6:32 
Using Visual C++ 6, service pack 6 on XP. I have a set of COlePropertyPages controlled by an OCX embedded in a dialog box. On one property page I have 10 edit controls. I want the user to be able to jump from control to control using the Tab button. However, when the focus is in a control and the user hits the tab button, the focus jumps to the OK button in the dialog box. From that point on, repeatedly pressing the Tab button merely jumps between the Help, OK, and Cancel buttons on the dialog box.

Trapping the WM_KEYDOWN message in the property page doesn't help, the code isn't reached. I tried subclassing one of the edit controls. Even when that edit control has the focus, and the Tab button is pressed, the WM_KEYDOWN message isn't reached. I tried using PreTranslateMessage() in the subclass, the code isn't reached (I tested all these using a break point.)

How can I make it so that the Tab button jumps from edit control to edit control?

Thanks!
AnswerRe: Tab key doesn't work right Pin
josda100029-Sep-10 6:58
josda100029-Sep-10 6:58 
GeneralRe: Tab key doesn't work right Pin
garyflet29-Sep-10 8:00
garyflet29-Sep-10 8:00 
AnswerRe: Tab key doesn't work right [modified] Pin
Stephen Hewitt29-Sep-10 8:35
Stephen Hewitt29-Sep-10 8:35 
GeneralRe: Tab key doesn't work right Pin
garyflet29-Sep-10 10:16
garyflet29-Sep-10 10:16 
GeneralRe: Tab key doesn't work right Pin
Stephen Hewitt29-Sep-10 20:10
Stephen Hewitt29-Sep-10 20:10 
QuestionMCI playback ended Pin
MikeRWinter29-Sep-10 2:26
MikeRWinter29-Sep-10 2:26 
AnswerRe: MCI playback ended Pin
MikeRWinter29-Sep-10 4:37
MikeRWinter29-Sep-10 4:37 
AnswerRe: MCI playback ended Pin
Cool_Dev29-Sep-10 4:38
Cool_Dev29-Sep-10 4:38 
GeneralRe: MCI playback ended Pin
MikeRWinter29-Sep-10 4:54
MikeRWinter29-Sep-10 4:54 
QuestionRedimension CComboBox Pin
mesajflaviu29-Sep-10 1:23
mesajflaviu29-Sep-10 1:23 
AnswerRe: Redimension CComboBox Pin
Eugen Podsypalnikov29-Sep-10 1:38
Eugen Podsypalnikov29-Sep-10 1:38 
GeneralRe: Redimension CComboBox Pin
mesajflaviu29-Sep-10 2:01
mesajflaviu29-Sep-10 2:01 
GeneralRe: Redimension CComboBox Pin
Eugen Podsypalnikov29-Sep-10 2:18
Eugen Podsypalnikov29-Sep-10 2:18 
GeneralRe: Redimension CComboBox Pin
mesajflaviu29-Sep-10 2:42
mesajflaviu29-Sep-10 2:42 
GeneralRe: Redimension CComboBox Pin
Eugen Podsypalnikov29-Sep-10 2:58
Eugen Podsypalnikov29-Sep-10 2:58 
GeneralRe: Redimension CComboBox Pin
mesajflaviu29-Sep-10 8:14
mesajflaviu29-Sep-10 8:14 
GeneralRe: Redimension CComboBox Pin
Eugen Podsypalnikov29-Sep-10 10:53
Eugen Podsypalnikov29-Sep-10 10:53 

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.