Click here to Skip to main content
15,886,137 members
Home / Discussions / C#
   

C#

 
GeneralIDocHostUIHandler, FilterDataObject Pin
s.keller2-Feb-04 9:05
s.keller2-Feb-04 9:05 
GeneralRe: IDocHostUIHandler, FilterDataObject Pin
Nick Parker2-Feb-04 9:15
protectorNick Parker2-Feb-04 9:15 
GeneralRe: IDocHostUIHandler, FilterDataObject Pin
s.keller2-Feb-04 9:21
s.keller2-Feb-04 9:21 
GeneralRe: IDocHostUIHandler, FilterDataObject Pin
Heath Stewart2-Feb-04 9:49
protectorHeath Stewart2-Feb-04 9:49 
GeneralRe: IDocHostUIHandler, FilterDataObject Pin
s.keller2-Feb-04 9:55
s.keller2-Feb-04 9:55 
GeneralRe: IDocHostUIHandler, FilterDataObject Pin
Heath Stewart2-Feb-04 9:58
protectorHeath Stewart2-Feb-04 9:58 
GeneralRe: IDocHostUIHandler, FilterDataObject Pin
s.keller2-Feb-04 10:45
s.keller2-Feb-04 10:45 
GeneralRe: IDocHostUIHandler, FilterDataObject Pin
Heath Stewart2-Feb-04 10:50
protectorHeath Stewart2-Feb-04 10:50 
Is the method return Type an int or similar? If you generated this automatically, it should be void. In the case that you can't (or don't want to) redefine this yourself, you can throw a COMException with the result code. It seems weird, I know, but it works. So, to send S_FALSE (S_OK doesn't require this since not throwing an exception is the same as returning S_OK unless the function signature is defined correctly), throw new COMException(null, 1). Hopefully this works for you.

 

Microsoft MVP, Visual C#
My Articles
GeneralRe: IDocHostUIHandler, FilterDataObject Pin
s.keller2-Feb-04 11:02
s.keller2-Feb-04 11:02 
GeneralTextbox: Convert to float and backwards Pin
sps-itsec462-Feb-04 8:09
sps-itsec462-Feb-04 8:09 
GeneralRe: Textbox: Convert to float and backwards Pin
Charlie Williams2-Feb-04 8:37
Charlie Williams2-Feb-04 8:37 
GeneralRe: Textbox: Convert to float and backwards Pin
OmegaSupreme2-Feb-04 8:43
OmegaSupreme2-Feb-04 8:43 
GeneralRe: Textbox: Convert to float and backwards Pin
Heath Stewart2-Feb-04 9:46
protectorHeath Stewart2-Feb-04 9:46 
GeneralRe: Textbox: Convert to float and backwards Pin
OmegaSupreme2-Feb-04 9:58
OmegaSupreme2-Feb-04 9:58 
GeneralRe: Textbox: Convert to float and backwards Pin
Heath Stewart2-Feb-04 10:04
protectorHeath Stewart2-Feb-04 10:04 
GeneralRe: Textbox: Convert to float and backwards Pin
sps-itsec462-Feb-04 10:20
sps-itsec462-Feb-04 10:20 
GeneralRe: Textbox: Convert to float and backwards Pin
Heath Stewart2-Feb-04 10:26
protectorHeath Stewart2-Feb-04 10:26 
GeneralFlickering Pin
bouli2-Feb-04 7:20
bouli2-Feb-04 7:20 
GeneralRe: Flickering Pin
Heath Stewart2-Feb-04 9:43
protectorHeath Stewart2-Feb-04 9:43 
GeneralGDI+ Pin
bouli2-Feb-04 5:00
bouli2-Feb-04 5:00 
GeneralRe: GDI+ Pin
Mazdak2-Feb-04 5:17
Mazdak2-Feb-04 5:17 
GeneralRe: GDI+ Pin
bouli2-Feb-04 5:18
bouli2-Feb-04 5:18 
GeneralRe: GDI+ Pin
Mazdak2-Feb-04 5:27
Mazdak2-Feb-04 5:27 
GeneralRe: GDI+ Pin
bouli2-Feb-04 5:30
bouli2-Feb-04 5:30 
Generalpassword checking Pin
ASGill2-Feb-04 2:33
ASGill2-Feb-04 2:33 

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.