buy tramadol no prescription overnight buy-tramadol.info - tramadol high alcohol
ReplyOriginally posted by: Jerry G. Scherer
Just wanted to thank you for your example. I have been working on a method to bypass the right click popup menu in the CFileDialog. This has been a problem in restricted netwrok configurations. If the popup menu is allowed to become active, the operator has the ability to delete, reanme or cause other havoc in the system.
Thanks Again, it is a great example of the windows dialog we have all come to know and use...
ReplyOriginally posted by: antu
Thanx in advance,
It doesn't shows the files in the desktop folders. and when select Network Neighbour hood it doesn't shows the network structure. Please tell how to implement these things.
Antu
Originally posted by: Jonathan
I found some features are not implemented compare with standard file dialog box:
1) Multiple file selection
2) Right mouse click
3) File deletion
4) New item will never show when the dialog box is still opening
5) Refreshing the list(F5)
Implementing those features will sure make the program even better.
Originally posted by: JohnE
Xiaolong has definitely done a fantastic job at replacing the standard File Open dialog and for all the reasons he states - I've long thought of writing something similar because of the restrictions with the standard Microsoft offering (inability to use with Property Pages & Form Views etc).
Two small criticisms though. Firstly there are very few comments, over and above the standard ones generated by Visual C++. This is a great shame because some parts of the program are heavily recursive and aren't very easy to follow. Second problem is that whenever any change is made to the List Control view (such as displaying a new directory) every single drive on your system gets re-read for no apparent reason. It's quite easy to stop this once you understand the program but it can be very irritating at first. Apart from those minor points though, brilliant!
Originally posted by: Tuong Dam
This is a very good example for learning MFC and building my own classes that is similar to Microsoft's.
Originally posted by: He Yingxia
Some of the systematic information of files,e.g. icon, size, cannot be showed in NT4.0.Who can tell me how to do with it?
Originally posted by: Zeb
Hi,
Your code is pretty usefull. I fand some bugs that I fixed in order to use it in a small application. All of them were in CFileDlg.
In OnInitDialog(), you have to use ScreenToClient() with the different RCs you fetch with GetWindowRect(). Otherwise if you have a new dialog , everything will displaced.
In Traverse(), do not forget to initialize
LPCITEMIDLIST pidlInsideCopy = NULL;
LPITEMIDLIST pidlInside = NULL;
and to test their value:
if (pidlInside == NULL)
break ;
Sometimes, the test:
if (!SUCCEEDED(pEnumIDList->Next(1, &pidlInside,&lFetched)) || lFetched != 1)
break;
works, even if pidlInside is set to NULL, and it makes the application crash due to: CopyItemID(pidlInside).
A next step in this work could be to modify Traverse() so that it does not test the floppy (pFolder->GetAttributesOf(1, &pidlInsideCopy, &ul);) each time you change of directory.
Many thanks
Originally posted by: Rosa Bernardez
To make a more reusable class code, it would be a good idea
to put all strings in the resources, in other languages
there is no "Desktop" or "Folder" --"Escritorio" and
"Carpeta" in Spanish.
But your class has been very useful for me,
I just working on a file selection class on a Wizard.
Thanks.
Originally posted by: Joseph
Definitly needs improvement. Especially the fake combobox. For one the correct icons are not displayed. Also it would be easier to use a ComboBoxEx control. The correct icons are also not displayed in the report view either. It would be better to use the system imagelist. It would also be better to use GetLogicalDriveStrings() to get all the available drives rather trying to switch to each one. Like I said need improvement.
Reply