General Common Dialog Question(s)...

  • Thread starter Thread starter SpotNet
  • Start date Start date
S

SpotNet

Hi NewsGroup,

I'm (not too) new to C#, I have built a Windows Common dialogs name space
with these dialogs contained within. Got all the functionality from these
dialogs that C# will let me do (and just a bit deeper). Having constructed
highly customisable common dialogs in VB 6.0 a long while ago, I am trying
to do the same in C#. In my quest to invoke 'protected override
System.IntPtr HookProc(......)' function, my code starts to look more and
more like C++ code (I know C# looks that way anyway) more in method I should
say (still is not working though). Can anyone give me just a clue (as I
like to work these things out) on how in the old speak I get to do this via
like a callback to a hook from the addressof operator?

Given for example the BrowseForFolder class implementation inherits from
'System.Windows.Forms.CommonDialog' and implements all required like the
hookproc.

And Color inherits from 'System.Windows.Forms.ColorDialog', things seem to
happen a little differently this way...

Thank you very much news group, hope I can take these further.

Regards,
SpotNet
 
Back
Top