customfiledialog's People
customfiledialog's Issues
How can I get the count of selected items?
I'll use your CustomFileDialog in a project, but I need to get the total selected items in the listview.
I'm trying with this:
var count = NativeMethods.SendMessage(new HandleRef(this, _hListViewPtr), (uint)0x1004, IntPtr.Zero, IntPtr.Zero);
But count is always zero.
SortViewByColumn() method doesn't work
Hello! A perfect component ! But SortViewByColumn() method doesn't work ( If it possible fix this bug please
Is it possible to allow multiple file selection?
I need it in my project, thanks.
urgly old style dialog
The style changes to the old ugly style if APIs hook it. A modern interfaces are highly recommended.
extension not shown when dialog is openend maximized
if you open the openFileDialog, not maximized, the extension is added to the right. Then maximize it by double clicking the title bar. Everything resizes ok.
Then press cancel.
Then open the dialog again, it will automatically open again maximized. But now the extension will not be added.
I know nothing about windows messages, but:
I see that in maximized case the WM_SHOWWINDOW in WholeDialogWrapper WndProc does not arrive. Therefore Initcontrol is not called.
I'added:
case Msg.WM_PAINT:
if (!mInitializated)
InitControls();
break;
now it works
Help with multi file selection
Hi! I need to add the muti selection option. What I did is:
((OpenFileDialog)_MSdialog).Multiselect = this.MultiSelect;
And it is working, but I cannot get the list of selected files when there are 8 or more selected files:
case (uint)DialogChangeStatus.CDN_SELCHANGE:
StringBuilder filePath = new StringBuilder(256);
NativeMethods.SendMessage(new HandleRef(this, NativeMethods.GetParent(Handle)), (uint)DialogChangeProperties.CDM_GETFILEPATH, (IntPtr)256, filePath);
if(_CustomCtrl != null)
{
if(_CustomCtrl.MultiSelect)
{
// filePath is empty if 8+ files are selected
I've tried with a bigger buffer;
StringBuilder filePath = new StringBuilder(8192);
Or even higher, but I have the same result, an empty string.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.