Search found 73 matches

by jazz
Fri Feb 17, 2006 6:03 am
Forum: C++ Development
Topic: wxFrame kills app from inside DLL
Replies: 7
Views: 2547

wxFrame kills app from inside DLL

Ok, i'm new to windows programming but am pretty competant and so I decided the next thing to learn is how to create and use DLLs. So i decided to take an existing app and move my logging class to a DLL. The DLL itself works and I can load it up in my app fine, but when I run a function inside the D...
by jazz
Sun Jan 22, 2006 11:21 pm
Forum: General Development
Topic: Is there a list of event identifiers?
Replies: 5
Views: 1780

leio wrote:http://www.bzzt.net/~wxwidgets/xmldocs/ ... slist.html

And thank raboof, not me ;)
That's close.... But it looks like it's just cut out of the documentation. Not all of the macro descriptions have an ID shown. I guess I'll start compiling my own list to post up.
by jazz
Thu Jan 19, 2006 12:20 am
Forum: General Development
Topic: What flow of programming and tools do you use?
Replies: 41
Views: 83593

I hope that was a joke, otherwise you should eternally burn in hell! :lol: Well, yes and no really. :) I comment the heck out of my source so that like Jorg said, when i go back a year later i know what's going on. Documenting anything else for me is pointless as the people that use my apps are the...
by jazz
Wed Jan 18, 2006 3:46 am
Forum: General Development
Topic: What flow of programming and tools do you use?
Replies: 41
Views: 83593

IDE: Dev-Cpp (not wxDev-cpp) Dialogs: I do all my dialogs by hand. Makefile: Dev-Cpp Version Control: Subversion TODO: Trac, which is brilliant and has awesome SVN integration Exe Compression: Why bother? My clients have 200gig hard disks. :) Documentation: Sorry, I'm a programmer. I don't do docum...
by jazz
Wed Jan 18, 2006 1:07 am
Forum: General Development
Topic: Is there a list of event identifiers?
Replies: 5
Views: 1780

Is there a list of event identifiers?

For events, i ALWAYS use the Connect() method to register for events instead of using the macros. Maybe I'm weird, but macros make me feel dirty. 8) Anywayz, the only problem i seem to come across is that in the documantation events are referred to by their macros. eg: EVT_BUTTON(id, func) macro equ...
by jazz
Tue Jan 17, 2006 1:35 am
Forum: Compiler / Linking / IDE Related
Topic: undefined reference to vtable
Replies: 7
Views: 3371

DavidHart wrote:Maybe you just didn't post the code, but the destructor is declared but not defined. If so, that would give the error message.
That'd be it. I get that compile error all the time cause I declare a destructor out of habit but then forget to define it if I don't need it.
by jazz
Mon Jan 16, 2006 5:25 am
Forum: C++ Development
Topic: Controls and wxEVT_COMMAND_KILL_FOCUS (or wxEVT_KILL_FOCUS?)
Replies: 1
Views: 1003

Answer: The event must be connected to the event handler for the control in question, not the parent panel. :( Which is weird, cause i use the parent panel for the wxEVT_COMMAND_TEXT_UPDATED events. So my code should have been: txtFirstname->Connect(ID_DEPS_NAME, wxEVT_KILL_FOCUS, (wxObjectEventFunc...
by jazz
Mon Jan 16, 2006 1:28 am
Forum: C++ Development
Topic: Urgent : wxdb remote connection
Replies: 2
Views: 886

Can you connect to the remote server using any other software? There really shouldn't be any difference in connecting to a remote server from connecting to a local one apart from the server address. By default most database servers don't allow remote connections. So i'd start looking at the server c...
by jazz
Mon Jan 16, 2006 1:23 am
Forum: C++ Development
Topic: Controls and wxEVT_COMMAND_KILL_FOCUS (or wxEVT_KILL_FOCUS?)
Replies: 1
Views: 1003

Controls and wxEVT_COMMAND_KILL_FOCUS (or wxEVT_KILL_FOCUS?)

I thought what I'm trying to do would be easy, but obviously i lost too many brain cells over the weekend. :( But I simply want to be notified when a particular control loses focus. ie: I have a field where someone types in their first name and when they tab to the next field it fills out some other...
by jazz
Fri Dec 16, 2005 1:32 am
Forum: C++ Development
Topic: transparent wxStaticText?
Replies: 7
Views: 2131

eco wrote:Take a look at this thread. Basically you draw on the device context directly with DrawText rather than use a wxStaticText.
I just tried this myself. works fine except for when I need to wrap the text. anyone got any ideas on how to do this easily?
by jazz
Thu Dec 15, 2005 12:42 am
Forum: C++ Development
Topic: Problem about wxStaticText?
Replies: 5
Views: 2132

BlowdyNose wrote:Do you want the background of your text to be transparent?

If yes, I found this
I needed this, so I figured i'd post an updated link just in case someone else does too. ;)

http://forums.wxwidgets.org/viewtopic.php?t=239
by jazz
Thu Nov 03, 2005 12:22 am
Forum: C++ Development
Topic: wxGridSizers and spanning??
Replies: 2
Views: 918

Geez.. How did i miss that one? :idea:

Thanks for that.
by jazz
Wed Nov 02, 2005 11:41 pm
Forum: C++ Development
Topic: wxGridSizers and spanning??
Replies: 2
Views: 918

wxGridSizers and spanning??

This is probably a simple question but, can the wxGridSizers and derivatives do column or row spanning? I have a panel with a wxFlexGridSizer on it and I would like on of the cells to span across 2 columns. Anyone done something like this before?
by jazz
Thu Oct 13, 2005 4:00 am
Forum: C++ Development
Topic: How to change int to wxString?
Replies: 3
Views: 1551

Code: Select all

wxString mynumber;

wxString.Printf("%d", 12345);
As demonstrated.
by jazz
Thu Oct 13, 2005 2:45 am
Forum: C++ Development
Topic: ODBC: when the cursor will be closed?
Replies: 1
Views: 782

When GetNext() returns false the cursor is still open. On some datasources you should be able to use GetFirst() and start again.

The cursor is only closed when another query is executed or the connection is closed.