arsd
                                
                                
                                
                                    arsd copied to clipboard
                            
                            
                            
                        [Minigui] - getOpenFileName/getSaveFileName
I think they're missing 2 things:
- Argument for the window title
 - The void delegate(string path) for the OK could be a bool delegate, returning true/false or adding another function for validating the input before the window is actually closed
 
I don't think Windows supports that bool delegate thing...
Humm you sure? I have seen a lot of times dialogs which could show a message box when selecting invalid things and it would back to selecting the thing.
Btw forgot to ask too:
getOpenFolderName when
That's done in the void delegate - you can display the mesasge box there then call getOpenFileName again
Humm usually I saw them showing without closing the window, but that's ok for now