Search found 30 matches
- Sun May 17, 2009 7:05 pm
- Forum: C++ Development
- Topic: Turning off text antialiasing?
- Replies: 7
- Views: 2453
- Sun May 17, 2009 5:52 pm
- Forum: C++ Development
- Topic: Turning off text antialiasing?
- Replies: 7
- Views: 2453
Turning off text antialiasing?
Hi, Is it possible to turn off anti-aliasing when using wxDC::DrawText? I've tried setting the antialiasing off when creating the font but it doesn't seem to work, or maybe I'm not doing it right. Here is the code I'm using: wxFont* font = wxFont::New(10, wxFONTFAMILY_DEFAULT, wxFONTFLAG_NOT_ANTIALI...
- Thu May 14, 2009 6:36 pm
- Forum: C++ Development
- Topic: Cannot set locale to language Vietnamese
- Replies: 4
- Views: 1927
- Tue May 12, 2009 6:47 pm
- Forum: C++ Development
- Topic: Cannot set locale to language Vietnamese
- Replies: 4
- Views: 1927
- Mon May 11, 2009 5:56 pm
- Forum: C++ Development
- Topic: Cannot set locale to language Vietnamese
- Replies: 4
- Views: 1927
Cannot set locale to language Vietnamese
Hello, I'm having a strange problem with the Vietnamese locale in my application. Whenever I try to switch to it, wxWidgets prints a log error: "Cannot set locale to language Vietnamese". However, I've checked the file and it seems fine to me. It can be opened without a problem in poEdit. ...
- Sun Nov 23, 2008 4:47 pm
- Forum: C++ Development
- Topic: Catching global mouse click
- Replies: 2
- Views: 1215
- Sun Nov 23, 2008 4:11 pm
- Forum: C++ Development
- Topic: Catching global mouse click
- Replies: 2
- Views: 1215
Catching global mouse click
Hello, I'm making a custom popup menu using wxWidgets, and one problem I'm running into is that I need to catch global mouse clicks. i.e. when the menu is open, it has to close if the user clicks anywhere (even on another application, or the desktop for example). So basically I need a way to catch a...
- Sat Nov 15, 2008 8:44 pm
- Forum: C++ Development
- Topic: i need help to design a wx-application
- Replies: 3
- Views: 1099
using tools to relace missing knowledge doesn't take you very far Well I think wxGlade is actually a very useful tool to learn how sizers work and to know which properties are available and how they affect the layout. If you know how to use wxGlade, eventually you'll find it easy to build dialogs b...
- Sat Nov 15, 2008 6:30 pm
- Forum: C++ Development
- Topic: wxListView with large icons and multiple columns
- Replies: 3
- Views: 2494
Ok I've just figured out what was wrong. I was assigning the image list after having created the items; however it apparently has to be done before otherwise it just doesn't work properly. So the right order is: 1. Create the image list 2. Assign it the list the view 3. Create the list items This is...
- Sat Nov 15, 2008 5:41 pm
- Forum: C++ Development
- Topic: i need help to design a wx-application
- Replies: 3
- Views: 1099
Hi,
If you don't know how the layout or the sizers work, I'd suggest you try wxGlade and make it generate C++ code.
This is what I'm using for my wxWidgets project and it was quite helpful at the beginning when I didn't know how to build dialogs by code.
If you don't know how the layout or the sizers work, I'd suggest you try wxGlade and make it generate C++ code.
This is what I'm using for my wxWidgets project and it was quite helpful at the beginning when I didn't know how to build dialogs by code.
- Sat Nov 15, 2008 5:31 pm
- Forum: C++ Development
- Topic: wxListView with large icons and multiple columns
- Replies: 3
- Views: 2494
- Sat Nov 15, 2008 2:40 pm
- Forum: C++ Development
- Topic: wxListView with large icons and multiple columns
- Replies: 3
- Views: 2494
wxListView with large icons and multiple columns
Hello, I'm trying to get wxListView to display large (32x32) icons on multiple columns. I managed to get it to display one column but I don't know how to add more. This is what I have so far: wxListView* listView = new wxListView(this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_ICON); wxImageL...
- Thu Nov 13, 2008 10:14 pm
- Forum: C++ Development
- Topic: Error reading default value with wxRegKey
- Replies: 3
- Views: 1198
- Thu Nov 13, 2008 9:24 pm
- Forum: C++ Development
- Topic: Error reading default value with wxRegKey
- Replies: 3
- Views: 1198
- Thu Nov 13, 2008 5:59 pm
- Forum: C++ Development
- Topic: Error reading default value with wxRegKey
- Replies: 3
- Views: 1198
Error reading default value with wxRegKey
Hello, I'm using wxRegKey to read some value in the registry. This is what I'm doing: wxRegKey* regKey = new wxRegKey(_T("HKEY_CLASSES_ROOT\\.test")); if (regKey->Exists()) { wxString defaultValue = regKey->QueryDefaultValue(); if (defaultValue != wxEmptyString) { // etc. } } It works well...