Search found 23 matches
- Mon Sep 26, 2016 7:32 am
- Forum: wxDev-C++
- Topic: wxFTP::PWD() error
- Replies: 13
- Views: 37581
Re: wxFTP::PWD() error
Great! Thanks.
- Fri Sep 23, 2016 2:26 pm
- Forum: wxDev-C++
- Topic: wxFTP::PWD() error
- Replies: 13
- Views: 37581
Re: wxFTP::PWD() error
OS: Windows 7 Professional x64
Compiler: Microsoft Visual Studio 2013
wxVersion: wxWidgets-3.1.0
Compiler: Microsoft Visual Studio 2013
wxVersion: wxWidgets-3.1.0
Yes, at this point:ONEEYEMAN wrote:Can you step inside the offending function and see where exactly the crash occurred?
- Fri Sep 23, 2016 12:32 pm
- Forum: wxDev-C++
- Topic: wxFTP::PWD() error
- Replies: 13
- Views: 37581
Re: wxFTP::PWD() error
Ticket has been created http://trac.wxwidgets.org/ticket/17679#no1
- Fri Sep 23, 2016 11:24 am
- Forum: wxDev-C++
- Topic: wxFTP::PWD() error
- Replies: 13
- Views: 37581
Re: wxFTP::PWD() error
Ok, thanks.
- Fri Sep 23, 2016 10:30 am
- Forum: wxDev-C++
- Topic: wxFTP::PWD() error
- Replies: 13
- Views: 37581
Re: wxFTP::PWD() error
After that step program is going to crash:
- Fri Sep 23, 2016 8:06 am
- Forum: wxDev-C++
- Topic: wxFTP::PWD() error
- Replies: 13
- Views: 37581
Re: wxFTP::PWD() error
@doublemax that is what i have:
- Thu Sep 22, 2016 8:38 pm
- Forum: wxDev-C++
- Topic: wxFTP::PWD() error
- Replies: 13
- Views: 37581
Re: wxFTP::PWD() error
Error occurred at: wxString wxFTP::Pwd() { wxString path; if ( CheckCommand(wxT("PWD"), '2') ) { // the result is at least that long if CheckCommand() succeeded wxString::const_iterator p = m_lastResult.begin() + LEN_CODE + 1; if ( *p != wxT('"') ) { wxLogDebug(wxT("Missing start...
- Thu Sep 22, 2016 8:16 pm
- Forum: wxDev-C++
- Topic: wxFTP::PWD() error
- Replies: 13
- Views: 37581
wxFTP::PWD() error
I am going to use wxFTP to connect to ftp server and get current working directory with this code: wxFTP ftp; ftp.SetUser(wxT("username")); ftp.SetPassword(wxT("password")); if (ftp.Connect("ipaddres")) { std::cout << "Connected" << std::endl; wxString str = f...
- Tue Sep 20, 2016 8:29 pm
- Forum: C++ Development
- Topic: wxListCtrl set application icon
- Replies: 14
- Views: 3709
Re: wxListCtrl set application icon
Hi, guys. I am trying use system icon in this way (as @catalin told.) This is my code: wxArrayString arr; wxTheMimeTypesManager->EnumAllFileTypes(arr); wxImageList* imageList = new wxImageList(16, 16); imageList->Add(wxArtProvider::GetIcon(wxART_GO_TO_PARENT)); // index = 0; imageList->Add(wxArtProv...
- Tue Sep 20, 2016 9:18 am
- Forum: C++ Development
- Topic: wxListCtrl set application icon
- Replies: 14
- Views: 3709
Re: wxListCtrl set application icon
Looks like it is better to use wxListCtrl for me. Will solve icon issue as @catalin told.
catalin wrote:I think you should get icons from something like wxTheMimeTypesManager->GetFileTypeFromExtension("pdf")->GetIcon(...);
..but do check against NULL returned wxFileType.
- Tue Sep 20, 2016 8:41 am
- Forum: C++ Development
- Topic: wxListCtrl set application icon
- Replies: 14
- Views: 3709
Re: wxListCtrl set application icon
As an option i think i can use wxGenericDirCtrl http://docs.wxwidgets.org/trunk/classwx ... _ctrl.html but this control also does not support additional colums. So, i guess it is better to use wxListCtrl. Guys, what do you think about this?
- Tue Sep 20, 2016 8:31 am
- Forum: C++ Development
- Topic: wxListCtrl set application icon
- Replies: 14
- Views: 3709
Re: wxListCtrl set application icon
So, i built sample. And now a have next question: Is it possible to add additional columns to wxFileCtrl like (ext, date etc..)? and remove fields shown on screenshot?
I do not see any options or styles in order to do that.- Tue Sep 20, 2016 8:06 am
- Forum: C++ Development
- Topic: wxListCtrl set application icon
- Replies: 14
- Views: 3709
Re: wxListCtrl set application icon
@Oleg: I hope you knew about wxFileCtrl and didn't duplicate all its functionality. http://docs.wxwidgets.org/trunk/classwx_file_ctrl.html Is it possible to create something like that? like_that.png Note. I need not to create file/directory chooser dialog. I need to create a list of file like it do...
- Mon Sep 19, 2016 7:39 pm
- Forum: C++ Development
- Topic: wxListCtrl set application icon
- Replies: 14
- Views: 3709
wxListCtrl set application icon
I am going to use wxListCtrl http://docs.wxwidgets.org/trunk/classwx_list_ctrl.html in order to list directory files. List has been created successfully. And now i am going to show file's icon. I have set icon with wxArtProvider http://docs.wxwidgets.org/trunk/classwx_art_provider.html , and have go...
- Tue Sep 13, 2016 7:48 am
- Forum: C++ Development
- Topic: Disable vertical scroll bar in wxListCtrl?
- Replies: 2
- Views: 1231
Re: Disable vertical scroll bar in wxListCtrl?
Thanks i will try it.