Click here to Skip to main content
15,917,538 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: using for_each Pin
Jörgen Sigvardsson24-May-04 10:56
Jörgen Sigvardsson24-May-04 10:56 
GeneralATL & ActiveX & HTTP Session Pin
VictorPr19-May-04 2:37
VictorPr19-May-04 2:37 
GeneralATL DLL not showing in COM+ Pin
parkerpkthn18-May-04 11:18
parkerpkthn18-May-04 11:18 
GeneralCOM Server/Service Pin
shekar_raja17-May-04 18:26
shekar_raja17-May-04 18:26 
GeneralRe: COM Server/Service Pin
Anonymous17-May-04 19:03
Anonymous17-May-04 19:03 
GeneralRe: COM Server/Service Pin
shekar_raja18-May-04 15:13
shekar_raja18-May-04 15:13 
Generaladding property to ATL HTML control Pin
Abhi Lahare16-May-04 22:16
Abhi Lahare16-May-04 22:16 
Generalset activeX property using param.in HTML page Pin
Abhi Lahare18-May-04 3:58
Abhi Lahare18-May-04 3:58 
hi all,

Here this is what i have done so far.

1.Created a Full control using ATL app Wizard. MyATLFullCntrl

2. Added following line to the list of Classes that the MyATLFullCntrl
public IPersistPropertyBagImpl</code> <code> <MyATLFullCntrl>

3. Added Entry in COM_MAP
COM_INTERFACE_ENTRY(IPersistPropertyBag)

4) Added a Property using add property
Type: BSTR
Name: Url

5) Implement the get and put methods in the .cpp file:
STDMETHODIMP MyATLFullCntrl::get_Url(BSTR *pVal)
{
return S_OK;
}
STDMETHODIMP MyATLFullCntrl::put_String(BSTR newVal)
{
return S_OK;
}
6) Add the following entry to the PROP_MAP:
PROP_ENTRY("Url", 1, CLSID_NULL)

With this setup I am opening the web page with Object tag Embeded
<HTML>
<HEAD>
<TITLE>ATL 3.0 test page for object MyATLFullControl</TITLE>
</HEAD>
<BODY>
<OBJECT ID="MyATLFullControl" CLASSID="CLSID:XXXXx-XXXX-XXX" HEIGHT=100 WIDTH=100 >
<PARAM NAME="Url" VALUE="abc">
</OBJECT>
</BODY>
</HTML>
but when i debug ,the control is not at the put_Url() function.Confused | :confused:
Can anybody point me where i am wrong?

Thanks in advance,
Abhishake

Success is simply a matter of luck. Ask any failure.
--Earl Wilson

QuestionSliders and Editboxes in WTL??? Pin
Member 15847216-May-04 20:15
Member 15847216-May-04 20:15 
GeneralWTL - 7.5 Released - Open Source Pin
Ed Preston15-May-04 5:50
Ed Preston15-May-04 5:50 
GeneralRe: WTL - 7.5 Released - Open Source Pin
Jörgen Sigvardsson15-May-04 12:57
Jörgen Sigvardsson15-May-04 12:57 
GeneralRe: WTL - 7.5 Released - Open Source Pin
_Magnus_16-May-04 23:38
_Magnus_16-May-04 23:38 
GeneralRe: WTL - 7.5 Released - Open Source Pin
Jörgen Sigvardsson23-May-04 12:02
Jörgen Sigvardsson23-May-04 12:02 
Generalafter installing xp service pack 1 and latest windows update. Pin
ekklesia14-May-04 19:59
ekklesia14-May-04 19:59 
Generalerror PRJ0019: A tool returned an error code: Performing registration Pin
parkerpkthn14-May-04 7:33
parkerpkthn14-May-04 7:33 
GeneralString Parsing ! Pin
ra_sasi14-May-04 6:22
ra_sasi14-May-04 6:22 
GeneralRe: String Parsing ! Pin
Andrew Walker14-May-04 16:56
Andrew Walker14-May-04 16:56 
GeneralRe: String Parsing ! Pin
ra_sasi17-May-04 4:10
ra_sasi17-May-04 4:10 
GeneralRe: String Parsing ! Pin
Andrew Walker17-May-04 22:40
Andrew Walker17-May-04 22:40 
GeneralRe: String Parsing ! Pin
ra_sasi20-May-04 12:10
ra_sasi20-May-04 12:10 
GeneralITableCreation Pin
João Paulo Figueira12-May-04 7:28
professionalJoão Paulo Figueira12-May-04 7:28 
GeneralRe: ITableCreation Pin
João Paulo Figueira12-May-04 23:52
professionalJoão Paulo Figueira12-May-04 23:52 
General8-bit graphics display Pin
ted_yu11-May-04 14:49
ted_yu11-May-04 14:49 
GeneralRe: 8-bit graphics display Pin
John M. Drescher11-May-04 16:50
John M. Drescher11-May-04 16:50 
GeneralRe: 8-bit graphics display Pin
ted_yu11-May-04 18:18
ted_yu11-May-04 18:18 

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.