المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Not able to Debug SetFont in Activex control.



C++ Programming
04-15-2009, 11:24 AM
Hi,

I am working in development of Active X control in VC++ .I need to create a property for FONT to have GetFont & SetFont. I have developed with default setting when I debug the code using Activex control test container I can go GetFont function in the code when I invoke GetFont but I try for SetFont it doesn’t moves to SetFont instead it goes to GetFont.
When I check with MSDN I came to know that IFontDisp is used which is inturn inherited to IDispatch which provides write access to set function only when we set the flag DISPATCH_PROPERTYPUT.
Could any one suggest me what are the steps to be taken to move the into Setfont function.

Thanks in Advance,




G.Girish