Click here to Skip to main content
15,925,309 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: Cstring with ATL Pin
ThatsAlok1-Feb-05 2:54
ThatsAlok1-Feb-05 2:54 
GeneralRe: Cstring with ATL Pin
JabraJabra31-Jan-05 20:36
JabraJabra31-Jan-05 20:36 
Generalfindresource return null Pin
JabraJabra30-Jan-05 0:57
JabraJabra30-Jan-05 0:57 
GeneralParameter problem Pin
Monty229-Jan-05 22:14
Monty229-Jan-05 22:14 
GeneralRe: Parameter problem Pin
Jörgen Sigvardsson29-Jan-05 22:32
Jörgen Sigvardsson29-Jan-05 22:32 
GeneralRe: Parameter problem Pin
Monty229-Jan-05 22:40
Monty229-Jan-05 22:40 
GeneralFindResourceEx Pin
GanescuC27-Jan-05 23:36
GanescuC27-Jan-05 23:36 
QuestionHow to get the active project in visual studio Pin
JabraJabra26-Jan-05 21:51
JabraJabra26-Jan-05 21:51 
AnswerRe: How to get the active project in visual studio Pin
Stuart Dootson27-Jan-05 21:01
professionalStuart Dootson27-Jan-05 21:01 
GeneralRe: How to get the active project in visual studio Pin
JabraJabra31-Jan-05 4:25
JabraJabra31-Jan-05 4:25 
Generalwinlogon/Notify problem. Pin
dabayi26-Jan-05 4:11
dabayi26-Jan-05 4:11 
GeneralRe: winlogon/Notify problem. Pin
geo_m26-Jan-05 7:55
geo_m26-Jan-05 7:55 
GeneralRe: winlogon/Notify problem. Pin
dabayi27-Jan-05 1:58
dabayi27-Jan-05 1:58 
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 

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.