Click here to Skip to main content
15,910,886 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
AnswerRe: Equivalent for CPtrList in ATL Pin
Stuart Dootson10-Mar-09 2:04
professionalStuart Dootson10-Mar-09 2:04 
AnswerCPtrList is not in c++, it is in vc++ Pin
weifirst12-Mar-09 21:42
weifirst12-Mar-09 21:42 
QuestionRegarding Adobe Acrobat Reader6.0 Add-in Pin
NATARAJAN VENKATARAMANI5-Mar-09 4:03
NATARAJAN VENKATARAMANI5-Mar-09 4:03 
QuestionHow can we create a dynamic button, label and a listview control on a window created in ATL/WTL ? Pin
Dharmendra Bhargava4-Mar-09 22:03
Dharmendra Bhargava4-Mar-09 22:03 
AnswerRe: How can we create a dynamic button, label and a listview control on a window created in ATL/WTL ? Pin
Jonathan Davies8-Mar-09 5:40
Jonathan Davies8-Mar-09 5:40 
GeneralRe: How can we create a dynamic button, label and a listview control on a window created in ATL/WTL ? Pin
Dharmendra Bhargava9-Mar-09 21:57
Dharmendra Bhargava9-Mar-09 21:57 
GeneralRe: How can we create a dynamic button, label and a listview control on a window created in ATL/WTL ? Pin
Jonathan Davies10-Mar-09 1:13
Jonathan Davies10-Mar-09 1:13 
Questionnon dialog object sink advise causing assert to be thrown during advise initialisation Pin
TClarke4-Mar-09 0:26
TClarke4-Mar-09 0:26 
Hi all,

I have an ATL control based on CComCompositeControl. In the control's dialog box I have a web browser, from which I am sinking events. I also have another COM object which is not on the dialog box from which I'm sinking events. I'm getting an assert thrown as my control initialises in AtlAdviseSinkMap. In this ATL method there is a loop which goes over all the ids of the sink entries and calls:

HWND h = pT->GetDlgItem(pEntries->nControlID);
ATLASSERT(h != NULL);


While this works perfectly for the embedded web browser, the other object not on the dialog box causes an exception.
Is there a setting I can use to inform the initialisation that it is not a dialog object and that this is not appropriate but without the assert being thrown.

Many thanks

Cheers
Tom

Philosophy: The art of never getting beyond the concept of life.
Religion: Morality taking credit for the work of luck.

AnswerRe: non dialog object sink advise causing assert to be thrown during advise initialisation Pin
Jonathan Davies6-Mar-09 1:01
Jonathan Davies6-Mar-09 1:01 
GeneralRe: non dialog object sink advise causing assert to be thrown during advise initialisation Pin
TClarke6-Mar-09 1:25
TClarke6-Mar-09 1:25 
GeneralRe: non dialog object sink advise causing assert to be thrown during advise initialisation Pin
Jonathan Davies6-Mar-09 2:16
Jonathan Davies6-Mar-09 2:16 
GeneralRe: non dialog object sink advise causing assert to be thrown during advise initialisation Pin
TClarke6-Mar-09 2:43
TClarke6-Mar-09 2:43 
QuestionDerived class from a template base class Pin
yellowine3-Mar-09 17:34
yellowine3-Mar-09 17:34 
AnswerRe: Derived class from a template base class Pin
led mike4-Mar-09 4:34
led mike4-Mar-09 4:34 
Questionset_union question (about the parameter _Result) Pin
followait2-Mar-09 3:51
followait2-Mar-09 3:51 
AnswerRe: set_union question (about the parameter _Result) Pin
Stuart Dootson2-Mar-09 7:25
professionalStuart Dootson2-Mar-09 7:25 
GeneralRe: set_union question (about the parameter _Result) Pin
followait2-Mar-09 14:41
followait2-Mar-09 14:41 
GeneralRe: set_union question (about the parameter _Result) Pin
«_Superman_»2-Mar-09 17:52
professional«_Superman_»2-Mar-09 17:52 
GeneralRe: set_union question (about the parameter _Result) Pin
Stuart Dootson2-Mar-09 19:20
professionalStuart Dootson2-Mar-09 19:20 
QuestionPerformance clarification on vectors? Pin
mmayur27-Feb-09 5:58
mmayur27-Feb-09 5:58 
AnswerRe: Performance clarification on vectors? Pin
Stuart Dootson27-Feb-09 8:19
professionalStuart Dootson27-Feb-09 8:19 
Questionhelp: A C++ template question [modified] Pin
yellowine24-Feb-09 11:12
yellowine24-Feb-09 11:12 
AnswerRe: help: A C++ template question Pin
Stuart Dootson24-Feb-09 11:20
professionalStuart Dootson24-Feb-09 11:20 
GeneralRe: help: A C++ template question Pin
yellowine24-Feb-09 11:24
yellowine24-Feb-09 11:24 
GeneralRe: help: A C++ template question Pin
Stuart Dootson24-Feb-09 12:53
professionalStuart Dootson24-Feb-09 12: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.