Click here to Skip to main content
15,920,005 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: winlogon/Notify problem. Pin
geo_m27-Jan-05 4:37
geo_m27-Jan-05 4:37 
GeneralRe: winlogon/Notify problem. Pin
Anonymous31-Jan-05 23:07
Anonymous31-Jan-05 23:07 
GeneralRe: winlogon/Notify problem. Pin
geo_m1-Feb-05 20:43
geo_m1-Feb-05 20:43 
QuestionATL/WTL Replacement for EscapeToCString? Pin
HurricaneFlossie25-Jan-05 13:17
HurricaneFlossie25-Jan-05 13:17 
AnswerRe: ATL/WTL Replacement for EscapeToCString? Pin
Jörgen Sigvardsson25-Jan-05 13:53
Jörgen Sigvardsson25-Jan-05 13:53 
AnswerRe: ATL/WTL Replacement for EscapeToCString? Pin
Stuart Dootson26-Jan-05 2:32
professionalStuart Dootson26-Jan-05 2:32 
GeneralRe: ATL/WTL Replacement for EscapeToCString? Pin
HurricaneFlossie26-Jan-05 12:59
HurricaneFlossie26-Jan-05 12:59 
GeneralAdding member variables to ATL composite ActiveX control Pin
mattxlr824-Jan-05 7:34
mattxlr824-Jan-05 7:34 
I am new to ATL/C++ and COM. I am trying to recreate VB User Controls in C++ as ActiveX controls. The ATL Composite Control is the only way I've found to do this so far.

1). I use the New Project Wizard to create a new ATL COM project with MFC support.

2). I add an ATL Composite Control with Control Points Enabled and add a Textbox and a Button.

3). Now I just want to set a member variable to the text control so I can say m_Text1.SetWindowsText("something");

4). But when I go into the Class Wizard, it asks if I want to create a class. I say yes, create a CDialog class, and can add the member variable.

5). Then, I go to the composite control, add an event handler to the button click, and it says "m_Text1" identifier is not found.

How do I add a usable member variable to a control on an ATL Class Wizard??

(I can use SetDlgMessageText, but that is not a good long term solution becuase I need access to any property of any control that I put on one of these).

And lastly, is there an easier way to accomplish this than what I am doing? I can't find a way to make a composite using the MFC ActiveX wizard.

Thanks in advance,
Matt Brown
GeneralATL COM programming Pin
NV1023-Jan-05 1:18
NV1023-Jan-05 1:18 
QuestionHow to expose a datetime type in WSDL in a ATL Webservice Pin
Michael B. Hansen20-Jan-05 21:32
Michael B. Hansen20-Jan-05 21:32 
QuestionHow to port a win32 without MFC project to ActiveX Control Pin
Le Hong Anh18-Jan-05 19:08
Le Hong Anh18-Jan-05 19:08 
Question,How to add interface wothout wizard ? Pin
Ritu Kwatra18-Jan-05 16:58
Ritu Kwatra18-Jan-05 16:58 
AnswerRe: ,How to add interface wothout wizard ? Pin
ThatsAlok18-Jan-05 18:41
ThatsAlok18-Jan-05 18:41 
GeneralRe: ,How to add interface wothout wizard ? Pin
Ritu Kwatra18-Jan-05 23:50
Ritu Kwatra18-Jan-05 23:50 
GeneralRe: ,How to add interface wothout wizard ? Pin
ThatsAlok19-Jan-05 0:52
ThatsAlok19-Jan-05 0:52 
GeneralRe: ,How to add interface wothout wizard ? Pin
Ritu Kwatra19-Jan-05 1:26
Ritu Kwatra19-Jan-05 1:26 
GeneralRe: ,How to add interface wothout wizard ? Pin
ThatsAlok19-Jan-05 1:44
ThatsAlok19-Jan-05 1:44 
QuestionHow to get selected dates from outlook calender Pin
rock_avi17-Jan-05 21:58
rock_avi17-Jan-05 21:58 
GeneralRead data from MS Word and Excel Pin
ajalilqarshi17-Jan-05 19:33
ajalilqarshi17-Jan-05 19:33 
GeneralRe: Read data from MS Word and Excel Pin
Tholkiem17-Jan-05 19:58
Tholkiem17-Jan-05 19:58 
GeneralAccessing IE IWebbrowser2 object with toolbar Pin
tnguyen44417-Jan-05 12:54
tnguyen44417-Jan-05 12:54 
GeneralRe: Accessing IE IWebbrowser2 object with toolbar Pin
Martin Koorts17-Jan-05 23:15
Martin Koorts17-Jan-05 23:15 
GeneralRe: Accessing IE IWebbrowser2 object with toolbar Pin
tnguyen44418-Jan-05 5:29
tnguyen44418-Jan-05 5:29 
GeneralRe: Accessing IE IWebbrowser2 object with toolbar Pin
Alex BitRise19-Jan-05 10:27
sussAlex BitRise19-Jan-05 10:27 
GeneralRe: Accessing IE IWebbrowser2 object with toolbar Pin
tnguyen44419-Jan-05 11:33
tnguyen44419-Jan-05 11:33 

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.