Search found 317 matches

by Widgets
Tue Jul 03, 2018 11:56 pm
Forum: C++ Development
Topic: Drag n Drop hint move vs copy [SOLVED]
Replies: 5
Views: 106

Re: Drag n Drop hint move vs copy [SOLVED]

Thank you, doublemax.
If I override the function and simply return 'wxDragCopy' unconditionally, I do get the 'Copy' string - but still get the much fancier graphic as well.
I had assumed I would have to do more than that ;-)
by Widgets
Tue Jul 03, 2018 10:20 pm
Forum: C++ Development
Topic: Drag n Drop hint move vs copy [SOLVED]
Replies: 5
Views: 106

Re: Drag n Drop hint move vs copy [SOLVED]

In my case, for the DND sample, I do get the + in a small square as a graphic (no string other than the '+') when I drag a file name from the right hand pane. If I drag a file (name) from a File Explorer window, I get the string 'move' along with the much larger graphic (two gears inside a frame) I ...
by Widgets
Tue Jul 03, 2018 9:36 pm
Forum: C++ Development
Topic: Drag n Drop hint move vs copy [SOLVED]
Replies: 5
Views: 106

Re: Drag n Drop hint move vs copy [SOLVED]

As far as I can tell, my code and the code in the book parallels that in the 3.0.1 DND example and in neither one can I see any override for the class DnDFile class for OnDragOver - only in the URL DnD case.
So I am still missing something :?
by Widgets
Tue Jul 03, 2018 8:38 pm
Forum: C++ Development
Topic: Missing files in wxFileDialog [SOLVED]
Replies: 2
Views: 69

Re: Missing files in wxFileDialog [SOLVED]

A very interesting topic. I had been unaware of this and will have to read up on it and then see where it leads. Unfortunately, looking in C:/Windows/SysWOW64 does not show the files I am looking for either, even in File Explorer, so I suspect they are located in C:/Windows/System32 as shown in File...
by Widgets
Tue Jul 03, 2018 8:28 pm
Forum: C++ Development
Topic: Drag n Drop hint move vs copy [SOLVED]
Replies: 5
Views: 106

Drag n Drop hint move vs copy [SOLVED]

In trying to sort out my problem with some files not showing in the files list of wxFileDialog, I also was reminded of an old nuisance I had left unsolved. When dragging a file into the utility, the drag hint, once it reaches my utility, claims I am 'move'ing a file, when I am only copying it. In my...
by Widgets
Tue Jul 03, 2018 8:05 pm
Forum: C++ Development
Topic: Missing files in wxFileDialog [SOLVED]
Replies: 2
Views: 69

Missing files in wxFileDialog [SOLVED]

Just now, trying to open a text file for analysis of the BOM, I was trying to load a text file from c:/Windows/System32/ud-boot-time.cmd using the wxFileDialog. void MyFrame::OnFileOpen(wxCommandEvent& WXUNUSED(event) ) { wxString caption = _T("Choose a file"); wxString wsWildcard = _T...
by Widgets
Fri Jun 22, 2018 7:06 pm
Forum: C++ Development
Topic: Charset GB1830
Replies: 2
Views: 90

Re: Charset GB1830

My code to test for the availability of GB1830 came from the font sample. I have meanwhile tried to follow the trail into the wxWidgets code and it is very confusing. wxFontEncoding fontenc = wxFontMapper::Get()->CharsetToEncoding(char_set); -> wxFontMapperBase::NonInteractiveCharsetToEncoding(const...
by Widgets
Fri Jun 22, 2018 2:58 am
Forum: C++ Development
Topic: Charset GB1830
Replies: 2
Views: 90

Charset GB1830

Win 10, MSVC 2015, MSVC 2010 tool chain, wxWidgets 3.1.0 Just now I have run into an issue with my mail screener and the charset gb1830. An incoming message has some fields encoded in GB1830 and I am trying to use code such as wxFontEncoding text_encoding = wxFontMapper::Get()->CharsetToEncoding(cha...
by Widgets
Fri May 18, 2018 1:42 am
Forum: Platform Related Issues
Topic: Win32 API GetTopWindow() - how to call it
Replies: 2
Views: 121

Re: Win32 API GetTopWindow() - how to call it

[edit] After my first cut at my reply, I found the function wxWindow::GetHWND() and it looks like what I think I need, though that is still to be confirmed, but it got me further along the road. wxWindow *pWin = GetTopWindow(); HWND hWnd = pWin->GetHandle(); [/edit] I'm, afraid, that does not do wha...
by Widgets
Thu May 17, 2018 9:43 pm
Forum: Platform Related Issues
Topic: Win32 API GetTopWindow() - how to call it
Replies: 2
Views: 121

Win32 API GetTopWindow() - how to call it

In my current app, I want to get the current top window in general, not the top window of my app. When I tried to use the Win32 function GetTopWindow(), I get the wrong function returning wxWindow * instead of HWND, because wxApp also has a function with the exact same name and it takes precedence. ...
by Widgets
Sat May 12, 2018 8:39 pm
Forum: The Code Dump
Topic: wxBup - yet-another backup utility with some differences
Replies: 0
Views: 249

wxBup - yet-another backup utility with some differences

wxBUP, my backup utility is not available on Github at: https://github.com/tester0077/wxBup
by Widgets
Sat May 12, 2018 5:19 pm
Forum: The Code Dump
Topic: wxMS - Mail Screener is now available on Github
Replies: 9
Views: 252

Re: wxMS - Mail Screener is now available on Github

wxMS also has a preview facility. Originally it was invoked with SPACE (same as my old Mailwasher 2.0 freebie) but after my efforts to port it to Ubuntu, where SPACE seemed to be bound to something else, I moved it to Alt-Space
HTH :)
by Widgets
Sat May 12, 2018 2:07 am
Forum: The Code Dump
Topic: wxMS - Mail Screener is now available on Github
Replies: 9
Views: 252

Re: wxMS - Mail Screener is now available on Github

There is a ready-made copy as well as an install file of my own version in the directory ./Executables if you just want to try it out without rebuilding.
by Widgets
Fri May 11, 2018 11:11 pm
Forum: The Code Dump
Topic: wxMS - Mail Screener is now available on Github
Replies: 9
Views: 252

Re: wxMS - Mail Screener is now available on Github

The only real beef I had with my old Mailwasher was no UTF-8 support and that was bothering more with time. I do recall Eudora and had even used it for some time. Because my ISP is using and supporting POP3, I never had the need for IMAP. Same goes for bouncing messages; I found it of very little us...

Go to advanced search