Click here to Skip to main content
16,017,448 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Return pointer Pin
Manoj Kumar Rai22-May-07 4:43
professionalManoj Kumar Rai22-May-07 4:43 
AnswerTry to post you question in the C++/CLI forum. Pin
CPallini22-May-07 4:44
mveCPallini22-May-07 4:44 
GeneralRe: Try to post you question in the C++/CLI forum. Pin
Hamid_RT22-May-07 7:52
Hamid_RT22-May-07 7:52 
GeneralRe: Try to post you question in the C++/CLI forum. Pin
CPallini22-May-07 7:56
mveCPallini22-May-07 7:56 
GeneralRe: Try to post you question in the C++/CLI forum. Pin
Hamid_RT22-May-07 8:20
Hamid_RT22-May-07 8:20 
GeneralRe: Try to post you question in the C++/CLI forum. Pin
CPallini22-May-07 9:32
mveCPallini22-May-07 9:32 
GeneralRe: Try to post you question in the C++/CLI forum. Pin
Hamid_RT22-May-07 9:58
Hamid_RT22-May-07 9:58 
QuestionTab order and active x control Pin
amyvt22-May-07 3:43
amyvt22-May-07 3:43 
I've written an activex control using MFC in VC6. Its based on a dropdown combo box, but I subclass the edit control (and listbox). As you type in the edit box, it goes out to the database and fills the dropdown. The "leave" event is triggered by killing focus in the edit box. I check to see if the entry is legal, and if its not, I put up an error message

I'm trying to test it in a simple dialog.
Here's the problem. If I type in (or select) something "legal" and then hit tab, I go to the next control in the tab order just fine. But if the user types in something illegal and I put up the message box, I seem to lose my place in the tab order and go back to the first control in the dialog.

Oddly enough it works fine in a VB dialog (the opposite of the problem I've had in the past.)
I've set the WS_EX_CONTROLPARENT style in Precreatewindow for the main control.

Any help would be appreciated!
QuestionIDispatch::Invoke() function Pin
Syamlal S Nair22-May-07 2:27
Syamlal S Nair22-May-07 2:27 
AnswerRe: IDispatch::Invoke() function Pin
Arman S.22-May-07 3:32
Arman S.22-May-07 3:32 
AnswerRe: IDispatch::Invoke() function Pin
CPallini22-May-07 4:13
mveCPallini22-May-07 4:13 
GeneralRe: IDispatch::Invoke() function Pin
Syamlal S Nair22-May-07 23:19
Syamlal S Nair22-May-07 23:19 
GeneralRe: IDispatch::Invoke() function Pin
CPallini23-May-07 0:16
mveCPallini23-May-07 0:16 
QuestionFile operation problem. Pin
sandeepkavade22-May-07 1:57
sandeepkavade22-May-07 1:57 
QuestionRe: File operation problem. Pin
David Crow22-May-07 2:47
David Crow22-May-07 2:47 
QuestionWorker threads and GUI Pin
iayd22-May-07 1:21
iayd22-May-07 1:21 
AnswerRe: Worker threads and GUI Pin
Arman S.22-May-07 1:59
Arman S.22-May-07 1:59 
AnswerRe: Worker threads and GUI Pin
Roger Stoltz22-May-07 2:56
Roger Stoltz22-May-07 2:56 
GeneralRe: Worker threads and GUI Pin
iayd22-May-07 3:25
iayd22-May-07 3:25 
GeneralRe: Worker threads and GUI Pin
Manoj Kumar Rai22-May-07 4:18
professionalManoj Kumar Rai22-May-07 4:18 
GeneralRe: Worker threads and GUI Pin
Roger Stoltz22-May-07 5:05
Roger Stoltz22-May-07 5:05 
QuestionButton control Pin
saisp22-May-07 1:13
saisp22-May-07 1:13 
AnswerRe: Button control Pin
josip cagalj22-May-07 1:15
josip cagalj22-May-07 1:15 
AnswerRe: Button control Pin
Hamid_RT22-May-07 1:21
Hamid_RT22-May-07 1:21 
AnswerRe: Button control Pin
Hamid_RT22-May-07 1:25
Hamid_RT22-May-07 1:25 

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.