Click here to Skip to main content
16,016,192 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Are there faster accessing arrays than vectors? Pin
Christian Graus28-Nov-01 12:32
protectorChristian Graus28-Nov-01 12:32 
AnswerRe: Are there faster accessing arrays than vectors? Pin
Todd Smith28-Nov-01 14:44
Todd Smith28-Nov-01 14:44 
AnswerRe: Are there faster accessing arrays than vectors? Pin
Chambers29-Nov-01 8:50
Chambers29-Nov-01 8:50 
GeneralRe: Are there faster accessing arrays than vectors? Pin
Chris Losinger29-Nov-01 11:08
professionalChris Losinger29-Nov-01 11:08 
GeneralRe: Are there faster accessing arrays than vectors? Pin
Todd Smith29-Nov-01 12:11
Todd Smith29-Nov-01 12:11 
GeneralRe: Are there faster accessing arrays than vectors? Pin
Todd Smith29-Nov-01 12:24
Todd Smith29-Nov-01 12:24 
GeneralRe: There are faster accessing arrays than vectors! Pin
Chambers30-Nov-01 2:39
Chambers30-Nov-01 2:39 
GeneralVery strange behavior in ActiveX control, pleas help Pin
Bill Wilson28-Nov-01 8:51
Bill Wilson28-Nov-01 8:51 
I've cross posted this into the C++ forum, cause a) it didn't get answered in the COM forum, b) the most knowledgeable people seem to hang out here. This problem was presented to me by a co-worker. It really has me stumped.

In our shop we utilize an application generator "Cool Plex". It builds C++ code and compiles it into dlls. One of its abilities is to include ActiveX controls on a screen. We have written an ActiveX control that dynamically creates a form using Combo box, ListBox and Ms MaskEdBox control. A typical usage might include 2 or 3 instances of each.

The Problem:
Inside our ActiveX we capture the Tab key in each control (control_OnKeyUp) and set focus to the next control, except for the MaskedEdit controls. We get other keys in the KeyUp event, but not the Tab key!!??

If I create a VB app and embed the control in it, the tabbing works as normal, So far, even worse. Now it appears the PLEX generated application is inhibiting the Tab key from getting to the MaskedEdit control which is encapsulated in our ActiveX control. Other encapsulated controls seem to work fine.

It seems to me that these symptoms are mutually exclusive. I don't see how this is possible, but the developer on this project has convinced me that this is what is happening.

1. PLEX container passes (or never gets) Tab key presses to the ActiveX control.
2. PLEX container inhibits the Tab key when the focus inside the ActiveX control is in a MaskedEdit control.
3. I believe the encapsulated control with the focus, gets the events before PLEX, precluding inhibiting the tab key at all.
4. PLEX container has no way to differentiate the encapsulated control with the focus from any other.
5. PLEX container has no way to differentiate the type of control. How could it know that the focus in our Activex control is on a MaskEdBox?


Thanks for the help,
Bill

Thanks for the help,
Bill
QuestionHow to map return-key(enter) from combobox? Pin
Pony28-Nov-01 7:52
Pony28-Nov-01 7:52 
GeneralSoftware Documentation Pin
28-Nov-01 7:48
suss28-Nov-01 7:48 
GeneralRe: Software Documentation Pin
Mike Nordell28-Nov-01 17:28
Mike Nordell28-Nov-01 17:28 
GeneralTo Christian Graus & Nish Pin
Karavaev Denis28-Nov-01 7:21
Karavaev Denis28-Nov-01 7:21 
GeneralRe: To Christian Graus & Nish Pin
Chris Losinger28-Nov-01 7:46
professionalChris Losinger28-Nov-01 7:46 
GeneralRe: Who are these guys? Pin
Masaaki Onishi28-Nov-01 9:47
Masaaki Onishi28-Nov-01 9:47 
GeneralRe: Who are these guys? Pin
Karavaev Denis28-Nov-01 17:20
Karavaev Denis28-Nov-01 17:20 
GeneralRe: To Christian Graus & Nish Pin
Karavaev Denis28-Nov-01 17:23
Karavaev Denis28-Nov-01 17:23 
GeneralRe: OK, This is a tricky one! Pin
Masaaki Onishi28-Nov-01 17:34
Masaaki Onishi28-Nov-01 17:34 
GeneralI think, I'm an idiot .... Pin
Karavaev Denis28-Nov-01 17:47
Karavaev Denis28-Nov-01 17:47 
GeneralRe: I think, I'm an idiot .... Pin
Masaaki Onishi28-Nov-01 18:44
Masaaki Onishi28-Nov-01 18:44 
GeneralRe: I think, I'm an idiot .... Pin
Karavaev Denis28-Nov-01 19:01
Karavaev Denis28-Nov-01 19:01 
GeneralRe: I think, I'm an idiot .... Pin
Nish Nishant28-Nov-01 18:45
sitebuilderNish Nishant28-Nov-01 18:45 
GeneralRe: Ooops, I forgot to say... Pin
Masaaki Onishi29-Nov-01 7:03
Masaaki Onishi29-Nov-01 7:03 
Generalgt Pin
28-Nov-01 5:34
suss28-Nov-01 5:34 
GeneralCFileDialog and CFile::Open Pin
RobJones28-Nov-01 5:23
RobJones28-Nov-01 5:23 
GeneralRe: CFileDialog and CFile::Open Pin
Nish Nishant28-Nov-01 5:26
sitebuilderNish Nishant28-Nov-01 5: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.