Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_vb thread: Common Dialog problem


Message #1 by "Pankaj Agarwal" <pankajagarwal45@y...> on Tue, 22 Jan 2002 22:00:23
Hi All,

I am using common dialog for the purpose of selecting files
but I do not want the file deletion or renaming facility from it which can 
be done by either choosing the delete option from the context popup menu 
on a file or directory or simply pressing the "DEL" key, i.e. I just want 
the files can be selected from there.

I tried two things :

a)setting the commondialog.flag to cdlOFNAllowMultiselect
which in turn sets off the explorer view of common dialog hence the 
context popupmenu is not available ,
but,
in this case creation of new folder from common dialog is not available.I 
do want that .

b) The second thing i tried is subclassing common dialog , i successfully 
subclassed that but not able to intercept the right click message 
(WM_RBUTTONUP) or pressing of "DEL" key ?

This is urgent , if anybody has any idea what to do or  have some 
direction/links. Please Help.

Thanks
Pankaj

  Return to Index