[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ms-atl
Subject:    OT: Error in MS docs?
From:       Shaun Wilde <shaun_wilde () HOTMAIL ! COM>
Date:       2000-06-29 21:27:19
[Download RAW message or body]


Hi I've just created an IE toolbar button that calls a COM object as
described in

http://msdn.microsoft.com/workshop/browser/ext/tutorials/button.asp

however - it describes that when I press the toolbar and my implementation
of IOleComandTarget::Exec is called nCmdID should be 1 and when the menu is
selected nCmdID should be 2 - however I find that it is always 0 and you
cannot distinguish between the two.

also QueryStatus asks about the status of some wierd number (2008) not 0,1
or 2

Can anyone confirm this and explain

I have the said object at

http://www.many-monkeys.co.uk/utils.htm and the source is available under
ExPrint (NB my site needs work so no comments :) )

I am using IE 5.00.2314.1003IC

I'd contact MS directly but.... I just wana be more sure it isn't me :)

Shaun Wilde

----------------------------------------------------------------
Users Guide http://msdn.microsoft.com/workshop/essentials/mail.asp
contains important info including how to unsubscribe.  Save time, search
the archives at http://discuss.microsoft.com/archives/index.html

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic