Click here to Skip to main content
15,902,114 members
Home / Discussions / C#
   

C#

 
Generalinpout32.dll Pin
ahmedadelfarid19-Jul-04 18:57
ahmedadelfarid19-Jul-04 18:57 
Generalurgent ! handling multiple data tables in a dataset Pin
sharpX19-Jul-04 18:40
sharpX19-Jul-04 18:40 
GeneralRe: urgent ! handling multiple data tables in a dataset Pin
Heath Stewart20-Jul-04 9:49
protectorHeath Stewart20-Jul-04 9:49 
QuestionHow can I display 2 forms, one after the other? Pin
arik_a19-Jul-04 18:08
arik_a19-Jul-04 18:08 
AnswerRe: How can I display 2 forms, one after the other? Pin
MKlucher19-Jul-04 18:28
MKlucher19-Jul-04 18:28 
GeneralRe: How can I display 2 forms, one after the other? Pin
arik_a19-Jul-04 22:47
arik_a19-Jul-04 22:47 
QuestionHow to realize Web control's context menu by c# Pin
nakey_yang19-Jul-04 17:18
nakey_yang19-Jul-04 17:18 
AnswerRe: How to realize Web control's context menu by c# Pin
Nick Parker19-Jul-04 17:29
protectorNick Parker19-Jul-04 17:29 
IDocHostUIHandler is defined in the MsHtmHst.idl file. Basic idea is you can write your own idl file and use the midl compiler to generate the type library. Following that you can use the .NET Framework's command line tool tlbimp to generate a .NET assembly you can include within your application.

[
    uuid(47F05070-FD66-45cc-AD99-74260F94A16B)
]
library WebInterop
{    
    import "MsHtmHst.idl";
    enum tagDOCHOSTUIDBLCLK;
    enum tagDOCHOSTUIFLAG;
    enum tagDOCHOSTUITYPE;
    interface ICustomDoc;
    interface IDocHostShowUI;
    interface IDocHostUIHandler;
    interface IDocHostUIHandler2;
    interface IHostDialogHelper;
}


Then create the type library:
midl WebInterop.idl /tlb bin\WebInterop.tlb


Then create the .NET assembly:
tlbimp bin\WebInterop.tlb /out:bin\WebInterop.dll


Now create a class that inherits from IDocHostUIHandler and of course implements the appropriate methods.



- Nick Parker
My Blog | My Articles

GeneralVery Urgent Please -- Overloading ++ operator doesn't function as intended. Pin
Member 112523619-Jul-04 17:12
Member 112523619-Jul-04 17:12 
GeneralRe: Very Urgent Please -- Overloading ++ operator doesn't function as intended. Pin
Javier Lozano19-Jul-04 18:06
Javier Lozano19-Jul-04 18:06 
GeneralRe: Very Urgent Please -- Overloading ++ operator doesn't function as intended. Pin
Heath Stewart20-Jul-04 10:04
protectorHeath Stewart20-Jul-04 10:04 
GeneralBinary Data over network Pin
joelwwk19-Jul-04 17:11
joelwwk19-Jul-04 17:11 
GeneralRe: Binary Data over network Pin
Heath Stewart20-Jul-04 10:19
protectorHeath Stewart20-Jul-04 10:19 
GeneralMissing Authorization http header Pin
darma_m19-Jul-04 15:37
darma_m19-Jul-04 15:37 
GeneralResizing help Pin
Wjousts19-Jul-04 15:18
Wjousts19-Jul-04 15:18 
GeneralRe: Resizing help Pin
Heath Stewart20-Jul-04 10:25
protectorHeath Stewart20-Jul-04 10:25 
Questionhow to get the system imagelist Pin
noosword19-Jul-04 14:46
noosword19-Jul-04 14:46 
AnswerRe: how to get the system imagelist Pin
Heath Stewart20-Jul-04 4:29
protectorHeath Stewart20-Jul-04 4:29 
GeneralRe: how to get the system imagelist Pin
noosword20-Jul-04 19:02
noosword20-Jul-04 19:02 
GeneralRe: how to get the system imagelist Pin
Heath Stewart21-Jul-04 3:59
protectorHeath Stewart21-Jul-04 3:59 
GeneralCapturing the desktop Pin
Salman Taseer`19-Jul-04 13:15
Salman Taseer`19-Jul-04 13:15 
GeneralRe: Capturing the desktop Pin
Nick Parker19-Jul-04 17:16
protectorNick Parker19-Jul-04 17:16 
GeneralTag name of the root element of the XML data file Pin
Flack19-Jul-04 13:04
Flack19-Jul-04 13:04 
GeneralRe: Tag name of the root element of the XML data file Pin
Dave Kreskowiak19-Jul-04 15:32
mveDave Kreskowiak19-Jul-04 15:32 
GeneralRe: Tag name of the root element of the XML data file Pin
Flack19-Jul-04 16:05
Flack19-Jul-04 16:05 

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.