Hi all,
in Windows explorer, the root directory is Desktop, and under that is My Computer, Network Places, etc. However, wxGenericDirCtrl only displays C: D:. If I'm writing my own file ctrl, how can I obtain and traverse these special directories?
Many thanks
Hugo
Search found 79 matches
- Mon Sep 07, 2009 12:20 am
- Forum: C++ Development
- Topic: How to get special directories on Windows (Desktop etc)
- Replies: 9
- Views: 2270
- Sun Sep 06, 2009 11:32 pm
- Forum: C++ Development
- Topic: Improving wxFileType under Windows
- Replies: 2
- Views: 810
Improving wxFileType under Windows
Hi all, I'm using wxFileType etc to get the icons for file types based on their extension. This works fairly well, but doesn't seem to be able to get the icons for every type of file, e.g. PDF. I noticed that wxGenericDirCtrl also fails to find the icon for PDFs. So it tried using SHGetFileInfo, whi...
- Thu Sep 03, 2009 11:20 pm
- Forum: C++ Development
- Topic: How to remove underline in hyperlinked text by wxHtmlWindow
- Replies: 2
- Views: 1209
- Fri Aug 07, 2009 9:44 am
- Forum: Component Writing
- Topic: custom wxHtmlImageCell
- Replies: 2
- Views: 1696
- Thu Aug 06, 2009 11:02 pm
- Forum: Component Writing
- Topic: custom wxHtmlImageCell
- Replies: 2
- Views: 1696
custom wxHtmlImageCell
Hi all, I would like to use wxHTML, but with images which are generated at run-time. Since wxHtmlImageCell only gets images from .GIF files etc, I imagine that I'll need to make my own tag handler. Has anyone else tried this? Can anyone offer any advice or examples before I jump in? Many thanks in a...
- Fri Jun 05, 2009 12:02 am
- Forum: Component Writing
- Topic: Making my library into a wxWidgets component
- Replies: 2
- Views: 1399
- Wed Jun 03, 2009 7:04 pm
- Forum: Component Writing
- Topic: Making my library into a wxWidgets component
- Replies: 2
- Views: 1399
Making my library into a wxWidgets component
Hi all, For my project I have written a nice little publish/subscribe event library with a hierarchical name space (like CrystalSpace I think) For example, a class can subscribe to message "liquidpcb.tools.switchto". Then, when a message is generated somewhere in the system like "liquidpcb.tools.swi...
- Wed Apr 08, 2009 10:40 pm
- Forum: C++ Development
- Topic: Difference between max size, best size and min size ?
- Replies: 3
- Views: 1014
Thanks Infinity_77, That's pretty helpful. So, is this correct: Min and Max size are used when it's the outer window whose size is being set externally (for example by the user dragging it). The Min size prevents the user making the window smaller than that. Similarly with Max size. Best size is use...
- Tue Apr 07, 2009 11:46 pm
- Forum: C++ Development
- Topic: Difference between max size, best size and min size ?
- Replies: 3
- Views: 1014
Difference between max size, best size and min size ?
Hi all, Reading about sizers ... a windows seems to have a min size, best size and max size. Min and max size seem to be pretty obvious, what's exactly is the point of the best size? My guess would be that, if there's plenty of room available, then don't make it bigger than the best size. In which c...
- Sun Aug 10, 2008 4:43 pm
- Forum: C++ Development
- Topic: wxUSE_CRASHREPORT requires wxUSE_ON_FATAL_EXCEPTION
- Replies: 1
- Views: 1224
- Tue Aug 05, 2008 10:45 pm
- Forum: C++ Development
- Topic: wxUSE_CRASHREPORT requires wxUSE_ON_FATAL_EXCEPTION
- Replies: 1
- Views: 1224
wxUSE_CRASHREPORT requires wxUSE_ON_FATAL_EXCEPTION
I am having a problem compiling the samples. I have tried to compile minimal and calendar, and several others, and all have the same error. fatal error C1189: #error : "wxUSE_CRASHREPORT requires wxUSE_ON_FATAL_EXCEPTION" Double clicking on the error takes me to chkconf.h: #if wxUSE_CRASHREPORT && !...
- Sun Aug 03, 2008 10:38 pm
- Forum: C++ Development
- Topic: #error : "wxUSE_CRASHREPORT requires wxUSE_ON_FATAL_EX
- Replies: 2
- Views: 1080
I am having the same problem. I have tried to compile minimal and calendar, and both have the same error. fatal error C1189: #error : "wxUSE_CRASHREPORT requires wxUSE_ON_FATAL_EXCEPTION" Double clicking on the error takes me to chkconf.h: #if wxUSE_CRASHREPORT && !wxUSE_ON_FATAL_EXCEPTION # ifdef w...
- Fri Feb 15, 2008 9:26 am
- Forum: C++ Development
- Topic: Has anyone got wxTreeListCtrl to compile on MSVC ?
- Replies: 1
- Views: 484
Has anyone got wxTreeListCtrl to compile on MSVC ?
Hi there, I'm trying to compile wxTreeListCtrl from http://twinforms.com/wxlib_wxtreelistctrl.htm It still won't compile, giving lots of errors: error C3861: 'wxGetInstance': identifier not found warning C4018: '>=' : signed/unsigned mismatch error C2065: 'wxFILTER_NUMERIC' : undeclared identifier e...
- Fri Feb 15, 2008 12:13 am
- Forum: Announcements and Discoveries
- Topic: ANN : Enhanced wxTreeListCtrl
- Replies: 44
- Views: 19161
I did #include "wx/msw/wrapcctl.h" , and that helped remove errors, but I'm still getting lots: error C3861: 'wxGetInstance': identifier not found warning C4018: '>=' : signed/unsigned mismatch error C2065: 'wxFILTER_NUMERIC' : undeclared identifier error C3861: 'wxTextValidator': identifier not fou...
- Sun Feb 10, 2008 10:27 am
- Forum: Announcements and Discoveries
- Topic: New Printed Circuit Board design application using wxWidgets
- Replies: 3
- Views: 1525
I guess I should post an image that shows some wxWidgets too! This is what the file dialog will look like (eventually). You can see it has some extra power features, like a list of recently used directories. One click takes you to any part of them. The file filters can be toggled on and off. As you ...