Click here to Skip to main content
15,908,444 members
Home / Discussions / C#
   

C#

 
GeneralRe: CachedBitmap Pin
J. Dunlap12-Nov-03 21:03
J. Dunlap12-Nov-03 21:03 
GeneralRe: CachedBitmap Pin
mhmoud rawas12-Nov-03 22:55
mhmoud rawas12-Nov-03 22:55 
GeneralRe: CachedBitmap Pin
J. Dunlap13-Nov-03 8:42
J. Dunlap13-Nov-03 8:42 
GeneralRe: CachedBitmap Pin
mhmoud rawas14-Nov-03 20:16
mhmoud rawas14-Nov-03 20:16 
Questionhow to control web components in winform by embeding a browser(ie) Pin
nakey_yang12-Nov-03 18:45
nakey_yang12-Nov-03 18:45 
AnswerRe: how to control web components in winform by embeding a browser(ie) Pin
mhmoud rawas12-Nov-03 18:57
mhmoud rawas12-Nov-03 18:57 
AnswerRe: how to control web components in winform by embeding a browser(ie) Pin
Heath Stewart13-Nov-03 3:36
protectorHeath Stewart13-Nov-03 3:36 
GeneralRe: how to control web components in winform by embeding a browser(ie) Pin
J. Dunlap13-Nov-03 8:38
J. Dunlap13-Nov-03 8:38 
Heath Stewart wrote:
You can QI (or cast in .NET) the WebBrowser control (or an IHTMLDocument* interface) to ICustomDoc and call SetUIHandler, passing a reference to your implementation of IDocHostUIHandler (but that only lets you use UI customization methods)

Just to give a quick example:
ICustomDoc cDoc = (ICustomDoc)webBrowser.Document;
cDoc.SetUIHandler((IDocHostUIHandler)this);


There's something I'd like to warn people about with the WebBrowser control. I replaced the default context menu for the WebBrowser, but whenever my context menu closed (after an item was clicked), the next item on the default context menu was executed, even though it never appeared. I was just about at my wit's end when I realized that the context menu must be sending something back to the window it was shown on behalf of - the WebBrowser control - and it was executing the default menu's commands. Changing the window passed into the context menu to the form instead of the WebBrowser solved the problem.

"It is appallingly obvious that our technology exceeds our humanity." -- Albert Einstein

FLUID UI Toolkit | FloodFill in C# & GDI+







AnswerRe: how to control web components in winform by embeding a browser(ie) Pin
Heath Stewart13-Nov-03 3:47
protectorHeath Stewart13-Nov-03 3:47 
GeneralRe: how to control web components in winform by embeding a browser(ie) Pin
J. Dunlap13-Nov-03 8:26
J. Dunlap13-Nov-03 8:26 
GeneralCOM+ Transaction 70-320 exam question Pin
CillyMe12-Nov-03 17:52
CillyMe12-Nov-03 17:52 
GeneralFileDialog in WEB forms application Pin
Rostrox12-Nov-03 17:22
Rostrox12-Nov-03 17:22 
GeneralRe: FileDialog in WEB forms application Pin
Heath Stewart13-Nov-03 3:20
protectorHeath Stewart13-Nov-03 3:20 
GeneralQuestion about threads Pin
zhang_ding12-Nov-03 15:53
zhang_ding12-Nov-03 15:53 
GeneralRe: Question about threads Pin
mhmoud rawas13-Nov-03 0:44
mhmoud rawas13-Nov-03 0:44 
GeneralRe: Question about threads Pin
zhang_ding13-Nov-03 16:24
zhang_ding13-Nov-03 16:24 
GeneralNet Send Emulator Pin
obelisk2912-Nov-03 8:28
obelisk2912-Nov-03 8:28 
GeneralRe: Net Send Emulator Pin
Anonymous12-Nov-03 8:42
Anonymous12-Nov-03 8:42 
GeneralRe: Net Send Emulator Pin
obelisk2912-Nov-03 8:46
obelisk2912-Nov-03 8:46 
GeneralRe: Net Send Emulator Pin
Heath Stewart12-Nov-03 9:03
protectorHeath Stewart12-Nov-03 9:03 
GeneralRe: Net Send Emulator Pin
obelisk2912-Nov-03 9:58
obelisk2912-Nov-03 9:58 
GeneralRe: Net Send Emulator Pin
Daniel M. Edwards12-Nov-03 13:33
Daniel M. Edwards12-Nov-03 13:33 
GeneralRe: Net Send Emulator Pin
Heath Stewart12-Nov-03 8:59
protectorHeath Stewart12-Nov-03 8:59 
GeneralRe: Net Send Emulator Pin
obelisk2912-Nov-03 9:02
obelisk2912-Nov-03 9:02 
GeneralRe: Net Send Emulator Pin
obelisk2912-Nov-03 10:01
obelisk2912-Nov-03 10:01 

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.