Search found 54 matches

by Gnawer
Sat Aug 25, 2012 6:12 pm
Forum: Compiler / Linking / IDE Related
Topic: FAQ for IDE related issues v2
Replies: 19
Views: 32985

Re: FAQ for IDE related issues v2

MSVC 2010 Professional, wxWidgets-2.9.4 sources downloaded from sourceforge libraries cannot be build The most interesting question is still open: How can this error "Cannot open include file: "wx/setup.h" be resolved? The tricks described above seem to be obsolete. After 2 hours of trial and error ...
by Gnawer
Mon Jun 25, 2012 2:37 pm
Forum: C++ Development
Topic: wxPopupTransientWindow with wxComboBox
Replies: 2
Views: 733

Re: wxPopupTransientWindow with wxComboBox

It seems to be so. So I will re-design that small part of my software.
A note about focussing with wxPopupTransientWindow should be added to the help page.
Thanks a lot!
by Gnawer
Sat Jun 23, 2012 9:40 am
Forum: C++ Development
Topic: wxPopupTransientWindow with wxComboBox
Replies: 2
Views: 733

wxPopupTransientWindow with wxComboBox

Hello all, I loaded the project popup_vc9.sln from the wxWidgets-2.9.3/samples/popup folder. I compiled with VS 2010 Express Edition and all runs well. Now I want to add a combo box, but I cannot get it "alive", although event handlers are present. Below there is the code. As told before it is the o...
by Gnawer
Sat May 05, 2012 12:21 pm
Forum: C++ Development
Topic: wxPropertyGrid, using more than 2 columns
Replies: 2
Views: 866

wxPropertyGrid, using more than 2 columns

I know it is possible to define the grid with more than 2 columns.
But how can I populate the additional columns with arbitrary wxPGProperty items?
The wxPropertyGrid::Append() and AppendIn() functions populate the 1st and 2nd columns only.
by Gnawer
Tue Jun 15, 2010 8:44 am
Forum: Compiler / Linking / IDE Related
Topic: error rc2135, problem with VC resource file
Replies: 4
Views: 1873

I've found that 1st name in rc file is always NOT recognized.
After hours of examination I found, that the rc file has some invisible extra bytes at the beginning: EF BB BF

Perhaps that means Unicode Format. After rewriting the rc file by hand with notepad it works. :)
by Gnawer
Mon Jun 14, 2010 12:15 pm
Forum: Compiler / Linking / IDE Related
Topic: error rc2135, problem with VC resource file
Replies: 4
Views: 1873

error rc2135, problem with VC resource file

Hello everybody, I have a simple wx resource file like this: amain ICON "DInsp.ico" dinsp_logo BITMAP "di12_logo.bmp" #define wxUSE_NO_MANIFEST 0 #include "wx/msw/wx.rc" VC++ 2008 Professional doesn't compile. Include path ist set to "C:\Programme\wxWidgets2.8\include;.\res". 1>Ressourcen werden kom...
by Gnawer
Fri May 15, 2009 6:07 am
Forum: Platform Related Issues
Topic: wxRegKey win32 vs win64 registry virtualziation issue WOW64
Replies: 7
Views: 1626

Registry on XP64

I don't know where to put the request. Please do it.
by Gnawer
Wed May 13, 2009 11:51 am
Forum: Platform Related Issues
Topic: wxRegKey win32 vs win64 registry virtualziation issue WOW64
Replies: 7
Views: 1626

Hello lsoltero, I have success when I use something similar like this: // step 1: trying KEY_WOW64_32KEY RegOpenKeyEx(HKEY_LOCAL_MACHINE, key.c_str(), 0, KEY_READ | KEY_WOW64_32KEY, &tmpkey); buffer[0] = 0; RegQueryValueEx(tmpkey, subkey.c_str(),0, &type, (PBYTE)buffer, &size); wxLogMessage("KEY_WOW...
by Gnawer
Tue May 12, 2009 9:43 am
Forum: Platform Related Issues
Topic: wxRegKey win32 vs win64 registry virtualziation issue WOW64
Replies: 7
Views: 1626

I examined the source code of registry.cpp from wxWidgets distribution.
All ::RegOpenKeyEx() calls use parameter samDesired, that can be combined with KEY_WOW64_32KEY and KEY_WOW64_64KEY to access different registry sections.
I suggest to wx developpers to extend the class to support those flags.
by Gnawer
Mon May 11, 2009 2:36 pm
Forum: Platform Related Issues
Topic: wxRegKey win32 vs win64 registry virtualziation issue WOW64
Replies: 7
Views: 1626

Registry on XP64

Hello all, I have a similar problem reading entries from an installed 64-Bit Software. The software resides in registry at HKEY_LOCAL_MACHINE\Software\Wow6432Node\<SoftwareName> When I use a dos script "regedit /e HKEY_LOCAL_MACHINE\Software\<SoftwareName>" it works fine. But in wx both keys do not ...
by Gnawer
Fri Feb 06, 2009 10:09 am
Forum: C++ Development
Topic: How to create App without event loop?
Replies: 2
Views: 635

Yes, that´s it. Thanks a lot!
by Gnawer
Thu Jan 29, 2009 10:54 am
Forum: C++ Development
Topic: How to create App without event loop?
Replies: 2
Views: 635

How to create App without event loop?

Hi, I want to create an app like this: int main(int argc, char** argv) { // ... wxLogError("Hello, I'm an error"); // ... return 0; } The speciality is using wx elements without wxApp, event loops, etc. The compiler detects unresolved external "[email protected]" in function "___tmainCRTStartup". Can I ma...
by Gnawer
Wed Sep 10, 2008 8:46 am
Forum: C++ Development
Topic: wxGetNumberFromUser(): input blocked
Replies: 2
Views: 458

Yes, that´s it. Thanx doublemax.
by Gnawer
Wed Sep 10, 2008 8:16 am
Forum: C++ Development
Topic: wxGetNumberFromUser(): input blocked
Replies: 2
Views: 458

wxGetNumberFromUser(): input blocked

Hello all,
I'm using VC 2008 Express Edition with wxWidgets 2.8.8.

I compiled the dialogs sample project supplied with wxWidgets.
When running and pressing Ctrl-N I invoke wxGetNumberFromUser().
But it accepts no input! Only the arrows beside the input field are active.
Is it a bug?
by Gnawer
Thu Apr 24, 2008 10:06 am
Forum: C++ Development
Topic: wxGetApp(): undeclared identifier
Replies: 1
Views: 1543

wxGetApp(): undeclared identifier

Hi, I have a simple project with 4 files: MyApp.h, MyApp.cpp, Data.h, Data.cpp In MyApp.h there is DECLARE_APP(MyApp), in MyApp.cpp IMPLEMENT_APP(MyApp). Now the problem that I´m gnawing at :) : wxGetApp() can be used in MyApp.cpp, but not in Data.cpp. The compiler stops because of "undeclared ident...