DocumentList CF 2.0

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi all,

DocumentList control has its own predefined context menu. May I know how can
customize this context menu as I would like to add additional items into it?
Currently, the context menu is not exposed through the property.

Secondly, how can I invoke methods like Rename/Move, Beam File functions etc
similar to the context menu of documentlist control from Menu control. I
would like to provide the flexibility to access same funtionalities from Menu
control to the user as in the context menu of a documentlist. Are there any
API that I can invoke to call these functions (Rename/Move, Beam File etc)?

Thanks in advance.
 
You cannot customise the context menu of this control as it's part of the
native implementation. It is possible to trigger some of these actions by
sending the control documentlist windows messages, or just use the System.IO
functionality. For Beam you can invoke \windows\beam.exe with the full path
of the specific file 0 use System.Diagnostics.Process.Start.

Peter
 
Thank you very much, Peter.

Peter Foot said:
You cannot customise the context menu of this control as it's part of the
native implementation. It is possible to trigger some of these actions by
sending the control documentlist windows messages, or just use the System.IO
functionality. For Beam you can invoke \windows\beam.exe with the full path
of the specific file 0 use System.Diagnostics.Process.Start.

Peter
 
Hi Peter,

One last question, I am able to invoke most of the functions via
SendMessage. But I am unsure how to invoke function 'Create Copy'. I have
checked the documentation but could find the appropriate Message to send.

Do you have any idea on how to invoke the function?

Thanks.
 
Back
Top