Click here to Skip to main content
16,005,734 members
Home / Discussions / Article Writing
   

Article Writing

 
GeneralRe: Forum Code Pin
Bryan Siegle8-Jun-01 12:02
Bryan Siegle8-Jun-01 12:02 
GeneralBlitting in DirectDraw 8 Pin
7-Jun-01 13:02
suss7-Jun-01 13:02 
GeneralRe: Blitting in DirectDraw 8 Pin
LOXmith12-Jun-01 1:02
LOXmith12-Jun-01 1:02 
GeneralRe: Blitting in DirectDraw 8 Pin
15-Jun-01 1:50
suss15-Jun-01 1:50 
GeneralRe: Blitting in DirectDraw 8 Pin
15-Jun-01 1:53
suss15-Jun-01 1:53 
QuestionHowto restart programmatically network adapter on windows 2000? Pin
7-Jun-01 7:54
suss7-Jun-01 7:54 
GeneralReturn Variant Array from a FUNCTION Pin
7-Jun-01 5:43
suss7-Jun-01 5:43 
GeneralRe: Return Variant Array from a FUNCTION Pin
Ghazi H. Wadi7-Jun-01 6:09
Ghazi H. Wadi7-Jun-01 6:09 
This is a topic I have been trying to get some time to cover it. And perhaps write an Article about it.

However, look at the MSDN CIRCLCOLL for implementation of collection and enumerations it should give you a great start
MSDN SAMPLE

STDMETHODIMP CMyCircleCollectionCreator::GetCircles(short n, VARIANT* retval)
{
VariantInit(retval);

CComObject<cmycirclecollection>* p = new CComObject<cmycirclecollection>;
p->Init(n);
IDispatch* pDisp;
p->QueryInterface(IID_IDispatch, (void**)&pDisp);
ATLASSERT(pDisp);
retval->vt = VT_DISPATCH;
retval->pdispVal = pDisp;
return S_OK;
}

where CMyCircleCollection is a collection that implements
get_Count, get_Item and get__NewEnum


Hope that helps

Cheers
Alfadhly




/*
It is Illogical to define an inventor by his invention
*/
GeneralRich Edit Controls - Inserting Files Pin
Steve Thresher7-Jun-01 4:00
Steve Thresher7-Jun-01 4:00 
GeneralScrolling the content Pin
Mangesh Sardesai6-Jun-01 18:59
Mangesh Sardesai6-Jun-01 18:59 
GeneralIE use of Wsock (32) dll Pin
Sasha Djurovic6-Jun-01 16:37
Sasha Djurovic6-Jun-01 16:37 
GeneralRe: IE use of Wsock (32) dll Pin
TomKat14-Mar-03 16:54
TomKat14-Mar-03 16:54 
GeneralSecurity on folders Pin
5-Jun-01 1:11
suss5-Jun-01 1:11 
GeneralCaptalizing 2 substrings in 1 textbox Pin
4-Jun-01 11:55
suss4-Jun-01 11:55 
QuestionAre you good at Web Design? Pin
3-Jun-01 16:23
suss3-Jun-01 16:23 
GeneralODBC Driver development Pin
v_krishnan2-Jun-01 20:00
v_krishnan2-Jun-01 20:00 
GeneralOwner Drawn Tooltips Pin
Mark Keogh1-Jun-01 22:28
Mark Keogh1-Jun-01 22:28 
GeneralRe: Owner Drawn Tooltips Pin
Chris Maunder1-Jun-01 22:57
cofounderChris Maunder1-Jun-01 22:57 
GeneralRe: Owner Drawn Tooltips Pin
Dhandapani Ammasai12-Jun-01 7:39
Dhandapani Ammasai12-Jun-01 7:39 
GeneralDAO example ... Pin
Hadi Rezaee1-Jun-01 17:56
Hadi Rezaee1-Jun-01 17:56 
GeneralOWNERDRAW Listbox help Pin
Neil Lamka1-Jun-01 7:12
Neil Lamka1-Jun-01 7:12 
GeneralRe: OWNERDRAW Listbox help Pin
19-Jun-01 15:40
suss19-Jun-01 15:40 
GeneralRe: OWNERDRAW Listbox help Pin
Neil Lamka11-Jul-01 5:31
Neil Lamka11-Jul-01 5:31 
GeneralError Checking & Control Pin
ben_is31-May-01 12:48
ben_is31-May-01 12:48 
GeneralScript file to shut down server at a certain time daily Pin
30-May-01 19:48
suss30-May-01 19:48 

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.