Search found 38 matches

by FoxbatLNS
Tue Feb 10, 2009 12:25 am
Forum: C++ Development
Topic: Hiding dialogs w/ inactive main window
Replies: 6
Views: 1381

Nah, Update() didn't fix it, unfortunately. Like I said, I could have it call Show(true) + Show(false) for every dialog necessary when the main window reactivates, but that seems like an awfully hackish method.
by FoxbatLNS
Mon Feb 09, 2009 9:51 pm
Forum: C++ Development
Topic: Hiding dialogs w/ inactive main window
Replies: 6
Views: 1381

The whole idea is that the user shouldn't be able to do anything until the function's finished. Also, the problem is that this dialog hide command fails if it's done while the window's inactive, so putting the loading in a separate thread wouldn't mend the problem, for the most part. I was just wond...
by FoxbatLNS
Mon Feb 09, 2009 9:19 pm
Forum: C++ Development
Topic: Hiding dialogs w/ inactive main window
Replies: 6
Views: 1381

Right, like if it's reading data from a series of files, back to back, before attempting to hide the dialog and then return from the function.
by FoxbatLNS
Fri Feb 06, 2009 2:19 am
Forum: C++ Development
Topic: Hiding dialogs w/ inactive main window
Replies: 6
Views: 1381

Hiding dialogs w/ inactive main window

If I minimize or try to interact with the dialogs/windows in my application while it's in the middle of a function (before it reaches the Show(false) for some dialog), it seems like only the internal variable value change is registered, but the dialog itself doesn't disappear, after which the only w...
by FoxbatLNS
Tue Aug 12, 2008 8:18 pm
Forum: C++ Development
Topic: Strange problem with wxDateTime.SetMonth()
Replies: 4
Views: 1265

Unfortunately I can't show a whole lot of the code. I have an array of structs, each of which contains a wxDateTime. In a function, I declare two wxDateTimes: wxDateTime t1; wxDateTime t2; In a loop, I do all of the following: I perform a series of Set...() functions on t1: t1.SetMonth(..) t1.SetDay...
by FoxbatLNS
Tue Aug 12, 2008 4:51 am
Forum: C++ Development
Topic: Strange problem with wxDateTime.SetMonth()
Replies: 4
Views: 1265

Strange problem with wxDateTime.SetMonth()

Long story short, this function seems to fail without a whole lot of predictability: i.e. the "month" of the wxDateTime object will remain 11 regardless of the input parameter. It will crop up once in a while with new additions of the function to the code (in my current case, I call it abo...
by FoxbatLNS
Thu Jul 31, 2008 3:55 am
Forum: wxDev-C++
Topic: wxDev-C++ automatically recompiles every file in a project
Replies: 5
Views: 1415

Nah, I don't believe so. Reinstalling wxDev-C++ seems to have taken care of the problem (interestingly, it didn't take effect immediately). I still wouldn't mind knowing what caused it in the first place so I don't have to go through a somewhat tedious reinstallation every time this problem resurfac...
by FoxbatLNS
Wed Jul 30, 2008 11:49 pm
Forum: wxDev-C++
Topic: wxDev-C++ automatically recompiles every file in a project
Replies: 5
Views: 1415

I'm not sure what that is.
by FoxbatLNS
Wed Jul 30, 2008 8:38 pm
Forum: wxDev-C++
Topic: wxDev-C++ automatically recompiles every file in a project
Replies: 5
Views: 1415

wxDev-C++ automatically recompiles every file in a project

For whatever reason (it seems to have started happening after I defragmented), wxDev-C++ will recompile every single source for a build, instead of only the ones that have been modified. Thus, changing the contents of even a single source file out of +30 will result in a several-minute rebuild. I do...
by FoxbatLNS
Mon Jun 16, 2008 6:38 am
Forum: wxCode
Topic: wxPanel resizing
Replies: 5
Views: 1968

Got it working; somehow directly resizing the panel worked now, and I must have missed something extremely obvious when I'd tried this a while back. Thanks either way.
by FoxbatLNS
Sun Jun 15, 2008 8:27 am
Forum: wxCode
Topic: Using bitmap fonts on MyGLCanvas
Replies: 0
Views: 751

Using bitmap fonts on MyGLCanvas

Title says it all; for building the bitmap font, I first do wxClientDC *dc = new wxClientDC (this); Then for the rest of the procedure I cast dc to HDC so it can be used with the standard functions: oldfont = (HFONT)SelectObject((HDC)dc, font); wglUseFontBitmaps((HDC)dc, 32, 96, base); and so on. No...
by FoxbatLNS
Fri Jun 13, 2008 2:07 am
Forum: wxCode
Topic: wxPanel resizing
Replies: 5
Views: 1968

Anyone?
by FoxbatLNS
Mon Jun 09, 2008 12:30 am
Forum: wxCode
Topic: wxPanel resizing
Replies: 5
Views: 1968

I've tried doing something like this, but the program begins to malfunction pretty badly when done (this panel displays OpenGL stuff). What's the "clean" way of changing a panel size on demand (and other GUI attributes)?
by FoxbatLNS
Sat Jun 07, 2008 6:18 am
Forum: wxCode
Topic: wxPanel resizing
Replies: 5
Views: 1968

wxPanel resizing

If one hasn't used sizers in the creation of their GUI, is there any way, regardless of how hackish (as long as all looks and functions well on the user end), to actively resize a wxPanel?
by FoxbatLNS
Mon Jun 02, 2008 9:13 pm
Forum: wxCode
Topic: wxDateTime does not name type
Replies: 1
Views: 830

wxDateTime does not name type

Simply put, I've used this type many times in my code, but for some reason when I try to declare it within a structure, it gives me the error in the title. Solution's probably painfully trivial, but I can't figure this out for the life of me. Thanks for any insight in advance.