Click here to Skip to main content
15,910,234 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Accelerators in VC++ Pin
Code-o-mat15-Dec-09 2:08
Code-o-mat15-Dec-09 2:08 
QuestionActiveX controls child window of another ActiveX control Pin
Miriama2514-Dec-09 22:41
Miriama2514-Dec-09 22:41 
AnswerRe: ActiveX controls child window of another ActiveX control Pin
KarstenK14-Dec-09 23:09
mveKarstenK14-Dec-09 23:09 
GeneralRe: ActiveX controls child window of another ActiveX control Pin
Miriama2514-Dec-09 23:16
Miriama2514-Dec-09 23:16 
GeneralRe: ActiveX controls child window of another ActiveX control Pin
KarstenK14-Dec-09 23:41
mveKarstenK14-Dec-09 23:41 
GeneralRe: ActiveX controls child window of another ActiveX control [modified] Pin
Miriama2515-Dec-09 1:35
Miriama2515-Dec-09 1:35 
GeneralRe: ActiveX controls child window of another ActiveX control Pin
KarstenK15-Dec-09 1:57
mveKarstenK15-Dec-09 1:57 
GeneralRe: ActiveX controls child window of another ActiveX control Pin
Miriama2515-Dec-09 21:43
Miriama2515-Dec-09 21:43 
Hi.
I created a window in the sub ocx and added this method to the wrapper (please remember that the main ocx calls the sub ocx's methods by invoke helper (it is created inside the wrapper)).
now, after i call new sub() and before I call psub->create(...) , I call the new mthod that creates the sub window. When I call that method, the invoke helper crushes in WINOCC.CPP function CWnd::InvokeHelper at line
" ASSERT(m_pCtrlSite != NULL);      // not an OLE control (not yet, at least) "
I don't understand why.
I checked the sub ocx and that new function of it and it works fine as stand alone but when I have the wrapper between it, it crushes there (where I mentioned).
I serached in the internet and saw that most of the solutions for this problem is calling DoModal function but the ocx is not dialog based (the wrapper was build ,thought, through dialog based dll and I copied the wrapper into my project).
I would appreciate any help
Thanks
QuestionHow to load OCX file in VC++ Project Pin
Pavan_Putra14-Dec-09 22:29
Pavan_Putra14-Dec-09 22:29 
AnswerRe: How to load OCX file in VC++ Project Pin
CPallini14-Dec-09 22:37
mveCPallini14-Dec-09 22:37 
GeneralRe: How to load OCX file in VC++ Project Pin
Pavan_Putra14-Dec-09 23:13
Pavan_Putra14-Dec-09 23:13 
GeneralYou are welcome Pin
CPallini14-Dec-09 23:23
mveCPallini14-Dec-09 23:23 
QuestionHow can vertically move down scroll of List Ctrl? Pin
Le@rner14-Dec-09 21:14
Le@rner14-Dec-09 21:14 
AnswerRe: How can vertically move down scroll of List Ctrl? Pin
Rajesh R Subramanian14-Dec-09 21:29
professionalRajesh R Subramanian14-Dec-09 21:29 
GeneralRe: How can vertically move down scroll of List Ctrl? Pin
Le@rner14-Dec-09 21:54
Le@rner14-Dec-09 21:54 
AnswerRe: How can vertically move down scroll of List Ctrl? Pin
Rajesh R Subramanian15-Dec-09 0:10
professionalRajesh R Subramanian15-Dec-09 0:10 
GeneralRe: How can vertically move down scroll of List Ctrl? Pin
Le@rner15-Dec-09 0:31
Le@rner15-Dec-09 0:31 
QuestionHelp on c++ windows service. Pin
tuhincse02814-Dec-09 20:56
tuhincse02814-Dec-09 20:56 
AnswerRe: Help on c++ windows service. Pin
conrad Braam24-May-10 20:52
conrad Braam24-May-10 20:52 
QuestionCreate MFC project error Pin
MsmVc14-Dec-09 20:48
MsmVc14-Dec-09 20:48 
AnswerRe: Create MFC project error Pin
Rajesh R Subramanian14-Dec-09 21:19
professionalRajesh R Subramanian14-Dec-09 21:19 
GeneralRe: Create MFC project error Pin
MsmVc14-Dec-09 22:23
MsmVc14-Dec-09 22:23 
QuestionMake setup with all installation components for an exe Pin
jannathali14-Dec-09 20:08
jannathali14-Dec-09 20:08 
AnswerRe: Make setup with all installation components for an exe Pin
Cedric Moonen14-Dec-09 20:14
Cedric Moonen14-Dec-09 20:14 
AnswerRe: Make setup with all installation components for an exe Pin
Rajesh R Subramanian14-Dec-09 21:36
professionalRajesh R Subramanian14-Dec-09 21:36 

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.