You can show a cut/paste menu reacting to the OnMouseDown event. The message handler has a parameter "short Button" =1 for Left button =2 for right button. You can get the range of selected cells with GetCol() GetRow() GetCellSel() GetRowSel() The two first gives you a corner of selected cells and the two last gives you the opposite corner. You only need to call GetTextMatrix in order to obtain the cell's text and store them in some structure or array or the clipboard. To paste you only have to follow the inverse procedure. I hope this can help you
I am stucked into a problem of writing into C: drive(OS)in vista. I need to edit something in the metadata of a file. Well I can do this with other volumes but not in C: . Please guide me how to overcome this problem? :(
If you understand the metadata area of a file($MFT area)of a particular file , that is the location where I have to modify some values of a OS drive. But windows is not giving me permission to write at low level.
How do I get Time Info on a remote network file of the Last Write on a File without actually opening the file. I have an App that needs to know when to re-load. It Opens the File every three minutes to check the last Write time,to determine if it's own version is stale. That traffic alone causes problems. Windows Explorer seems to have a way of getting this info in that way.
That still isn't going to solve the problem of excessive network traffic. To actually get notifications (instead of constantly polling), check out FindFirstChangeNotification and ReadDirectoryChangesW.
Do those work for network drives? I am aware of them, but thought they only worked for local drives, or only worked for some network drives or something. Documentation doesn't say anything, so it's probably just a bit of dust in my brain masquerading as a memory.
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p