Click here to Skip to main content
15,891,431 members
Home / Discussions / COM
   

COM

 
GeneralWin32 Application and IE Pin
cyp0rk21-Jul-05 16:16
cyp0rk21-Jul-05 16:16 
GeneralCOM Event Queues Pin
Anonymous21-Jul-05 2:48
Anonymous21-Jul-05 2:48 
GeneralRe: COM Event Queues Pin
I am ke xu24-Jul-05 0:20
I am ke xu24-Jul-05 0:20 
GeneralRe: COM Event Queues Pin
Anonymous24-Jul-05 10:20
Anonymous24-Jul-05 10:20 
Generalcommunication between COM objects Pin
Member 1106649721-Jul-05 2:20
Member 1106649721-Jul-05 2:20 
GeneralAggregation Pin
madness50121-Jul-05 1:16
madness50121-Jul-05 1:16 
GeneralRe: Aggregation Pin
Anuj Purwar25-Jul-05 2:00
Anuj Purwar25-Jul-05 2:00 
GeneralATL-COM: Unable to remove popup menu from MSWord Pin
mandanani21-Jul-05 1:12
mandanani21-Jul-05 1:12 
I had a problem while adding a popup menu to Word. The popup menu is being added to Word and is not removing after closing the Word (even if I made the Menu item to TEMPORARY). One new popup menu is being added every time I open the MS Word. The same case with menu item.
please help to solve this.

Here below my code:

CComVariant varType(10);
CComVariant vtEmpty(DISP_E_PARAMNOTFOUND, VT_ERROR);
CComVariant vtTemp(VARIANT_TRUE);
CComVariant vtBefore(nMenuIndex);

// Adding the new menubar
CComPtr<commandbarcontrol> spCtrl;
spCtrl = spCtrls->Add(varType, vtEmpty, vtEmpty, vtBefore, vtTemp);
ATLASSERT(spCtrl);

CComQIPtr< Office2000::CommandBarPopup > spPopup(spCtrl->GetControl());
ATLASSERT(spPopup);

// Setting the new menubar properties
spPopup->PutCaption(OLESTR("&Templates"));
spPopup->PutVisible(VARIANT_TRUE);

// now add a menubar to the menubar
CComPtr<office2000::commandbarcontrols> spCmdBarCtrls;
spCmdBarCtrls = spPopup->GetControls();

Generalchat application problem --remote connection Pin
Murat AKA20-Jul-05 9:11
Murat AKA20-Jul-05 9:11 
GeneralRe: chat application problem --remote connection Pin
I am ke xu24-Jul-05 0:08
I am ke xu24-Jul-05 0:08 
GeneralRe: chat application problem --remote connection Pin
Murat AKA24-Jul-05 4:29
Murat AKA24-Jul-05 4:29 
GeneralQuestion On Passing Data To Custom Draw Message Handler Pin
yccheok19-Jul-05 22:55
yccheok19-Jul-05 22:55 
Generalstandalone COM server (exe) not instantiating Pin
gautaminova19-Jul-05 16:48
gautaminova19-Jul-05 16:48 
GeneralIExplorer Button with menu Pin
18-Jul-05 11:34
suss18-Jul-05 11:34 
GeneralAdding dialog to Activex - VC++ Pin
urssmiling18-Jul-05 4:10
urssmiling18-Jul-05 4:10 
GeneralActiveX to server communication Pin
vinodraut18-Jul-05 1:45
vinodraut18-Jul-05 1:45 
GeneralEvents in RTC-client Pin
TheVictorious18-Jul-05 0:02
TheVictorious18-Jul-05 0:02 
GeneralActiveX Control on a Window Pin
Maddie from Dartford17-Jul-05 23:54
Maddie from Dartford17-Jul-05 23:54 
GeneralRe: ActiveX Control on a Window Pin
vishalmore19-Jul-05 3:30
vishalmore19-Jul-05 3:30 
QuestionHow to use the texture as the background of bars in mschart? Pin
luckyeagle17-Jul-05 23:46
luckyeagle17-Jul-05 23:46 
GeneralDisplay custom image format in IE Pin
Pantelis Georgiadis17-Jul-05 23:21
Pantelis Georgiadis17-Jul-05 23:21 
GeneralRe: Display custom image format in IE Pin
vishalmore20-Jul-05 2:36
vishalmore20-Jul-05 2:36 
GeneralRe: Display custom image format in IE Pin
Pantelis Georgiadis20-Jul-05 3:08
Pantelis Georgiadis20-Jul-05 3:08 
GeneralRe: Display custom image format in IE Pin
vishalmore20-Jul-05 4:05
vishalmore20-Jul-05 4:05 
GeneralRe: Display custom image format in IE Pin
vishalmore20-Jul-05 4:10
vishalmore20-Jul-05 4:10 

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.