Click here to Skip to main content
16,005,038 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
AnswerRe: What overloaded member function called in if(iterator) Pin
Joaquín M López Muñoz8-Feb-05 5:22
Joaquín M López Muñoz8-Feb-05 5:22 
GeneralRe: What overloaded member function called in if(iterator) Pin
DevendraC8-Feb-05 17:33
DevendraC8-Feb-05 17:33 
GeneralRe: What overloaded member function called in if(iterator) Pin
guypremont9-Feb-05 3:04
guypremont9-Feb-05 3:04 
GeneralRe: What overloaded member function called in if(iterator) Pin
Michael Dunn10-Feb-05 10:27
sitebuilderMichael Dunn10-Feb-05 10:27 
Generalusing cout in template argument... Pin
Malcolm Smart7-Feb-05 22:23
Malcolm Smart7-Feb-05 22:23 
GeneralRe: using cout in template argument... Pin
Joaquín M López Muñoz8-Feb-05 5:35
Joaquín M López Muñoz8-Feb-05 5:35 
GeneralRe: using cout in template argument... Pin
Malcolm Smart8-Feb-05 21:44
Malcolm Smart8-Feb-05 21:44 
GeneralControl's window not ready even in FinalConstruct() Pin
greekgoddj7-Feb-05 5:21
greekgoddj7-Feb-05 5:21 
Hello,

Things only seem to get stranger everyday.

If I am not mistaken, in an ATL ActiveX Control, the aim of FinalConstruct is that by the time the program reaches there, the object has alreay been created.

however that does not seem to be the case.

In FinalConstructor() m_hWnd in the next statement is NULL.
CWnd* parent = CWnd::FromHandle(this->m_hWnd);

How can the control's window not exist after the constructor has been completed?

Placing the same statment in the OnDraw function works, but not in FinalConstruct()?

Am I missing something? Is there some sort of FinalNoReallyThisOneIsTheFinalConstruct() ? WTF | :WTF:

Thanks


GeneralRe: Control's window not ready even in FinalConstruct() Pin
Michael Dunn7-Feb-05 7:02
sitebuilderMichael Dunn7-Feb-05 7:02 
GeneralRe: Control's window not ready even in FinalConstruct() Pin
Jörgen Sigvardsson7-Feb-05 8:58
Jörgen Sigvardsson7-Feb-05 8:58 
GeneralRe: Control's window not ready even in FinalConstruct() Pin
greekgoddj9-Feb-05 5:42
greekgoddj9-Feb-05 5:42 
GeneralRe: Control's window not ready even in FinalConstruct() Pin
Anonymous17-Feb-05 3:40
Anonymous17-Feb-05 3:40 
Questionhow to add new file to vss Pin
JabraJabra6-Feb-05 5:42
JabraJabra6-Feb-05 5:42 
AnswerRe: how to add new file to vss Pin
Igor Vigdorchik6-Feb-05 12:38
Igor Vigdorchik6-Feb-05 12:38 
GeneralRe: how to add new file to vss Pin
JabraJabra9-Feb-05 5:06
JabraJabra9-Feb-05 5:06 
GeneralArrays in VBA Pin
speedcat 4455-Feb-05 10:37
speedcat 4455-Feb-05 10:37 
GeneralWTL Linker error Pin
Franz Klein3-Feb-05 23:51
Franz Klein3-Feb-05 23:51 
QuestionCreating a CEdit in ATL ActiveX control with MFC Support? Pin
greekgoddj3-Feb-05 22:42
greekgoddj3-Feb-05 22:42 
AnswerRe: Creating a CEdit in ATL ActiveX control with MFC Support? Pin
greekgoddj7-Feb-05 0:06
greekgoddj7-Feb-05 0:06 
GeneralRe: Creating a CEdit in ATL ActiveX control with MFC Support? Pin
sh1it5058-Sep-10 3:24
sh1it5058-Sep-10 3:24 
GeneralATL for Ole Db Pin
lisoft3-Feb-05 15:28
lisoft3-Feb-05 15:28 
GeneralRe: ATL for Ole Db Pin
gauravjain4-Mar-05 10:43
gauravjain4-Mar-05 10:43 
GeneralRe: ATL for Ole Db Pin
lisoft6-Mar-05 4:15
lisoft6-Mar-05 4:15 
GeneralPassing string from a dll to an nt service. Pin
dabayi3-Feb-05 4:22
dabayi3-Feb-05 4:22 
QuestionHow to use SetThreadLocale on Win98 system Pin
GanescuC3-Feb-05 1:35
GanescuC3-Feb-05 1:35 

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.