Originally posted by: Shilpi Baijal
Does anybody know how to develop an mmc extension dll?
Thanks,
Shilpi
Originally posted by: Sylvain Lajoie
I'm creating an Extension AddIn that extends the Active Directory Users and Computers (ADUC) snap-in which is owned by Microsoft, so I can't rely on it to communicate with me. I have multiple property pages I am managing and everything is working fine, except that when the user moves from one of my tabs to the other, there is no way for me to tell MMC to keep the Apply button enabled. How can I tell MMC that the current item is dirty and needs
saving?
Thoughts?
Originally posted by: Chris
Hi,
How do you add an ActiveX Control to the property pages for an item in the results pane?
I inserted my ActiveX control using "Insert ActiveX Control" in the Dialog Resources and when I run the app, my property pages does not disply.
If I remove my ActiveX Control, the property page will display.
Also, I tested my ActiveX control in VB and it works fine.
Any suggestions would be great...
Thanks,
Chris
ReplyOriginally posted by: John Lee
In your code, you used 0 - 7 for m_resultDataItem.nImage value. I don't know what value I should pick. Does it matter what number I assign to m_resultDataItem.nImage?
Thanks.
ReplyOriginally posted by: Chris
I was wondering if you can help me out. One of my libs I need to link into my MMC app need strmiids.lib, which I believe is a Direct X lib. The problem is that strmiids defines IID_IComponent so I can't link because MMC also include an IID_IComponent. Is there a way around this???
Thanks,
Chris
Hi Leon,
Originally posted by: Matt Osborne
I have seen it discussed earlier, but have yet to have seen a solution to the problem where the default verb is executed when an Item is double clicked. I would appreciate any help on the subject.
Thanks,
Matt Osborne
Originally posted by: Timur Igamberdiev
The article is really nice and help me a lot. But I still can't find ansver to some very basic (and probably very stupid ;) questions.
I want to update dynamically both scope and result pane. In MSDE I found the next:
"MMC sends the MMCN_EXPAND notification the first time it needs to display a scope item's children in either the scope or result pane. The notification is not sent each time the item is visually expanded or collapsed"
I manually added a new item to my collection and need both panes to be refreshed. Is it any way to provoce MMC to send MMCN_EXPAND message again?
Thanks
Timur
Originally posted by: vicky
hi
am not a windows user basically but would like to know how do i generate the .msc file once the dll is done. anyone please any pointers
cheers
vicky
Originally posted by: Shilpi Baijal
Hi,
Is it possible to implement dialogs using MFC for MMC created using ATL???
Shilpi
Originally posted by: Gopi
Hello all,
I am implementing a snap-in, which has a node Template implementing IExtendPropertySheet2 interface. I want to use the same property pages to get the user input while creating new nodes. I was able to invoke the property pages from a command handler which uses the following method calls.
<Pre>
hr = pPropertySheetProvider->CreatePropertySheet(
_T("New Template"),
TRUE, // TRUE for Property sheet, FALSE for Wizard
(long)pTemplate,
piDataObject,
MMC_PSO_NOAPPLYNOW );
hr = pPropertySheetProvider->Show((long)hWnd, 0);
</Pre>
I want the property sheet to be modal so that i can insert a new node in the scope pane as soon as the sheet is dismissed. But it doesnt appear modal. But if i just make it a wizard, by specifying FALSE for the second argument to the CreatePropertySheet method, then the dialog appears as Modal.
It would be great if anyone can specify how to make the Property sheet appear modal or just provide me with a call back method technique, where the method will be invoked when the property sheet is dismissed.
Thanks in advance,
Gopi