Search found 78 matches
- Mon May 09, 2005 5:36 am
- Forum: C++ Development
- Topic: wxClientDC
- Replies: 4
- Views: 1383
wxClientDC
I have my own control (derived from wxControl). (a menubar for a panel). On this, I add a few wxString's. I calculate the total width/height of the control. Now I got the following functions overridden: - DoGetSize - DoGetClientSize ( used by DC.GetSize() ) - DoGetBestSize ( used by sizer-calculatio...
- Fri May 06, 2005 10:26 am
- Forum: C++ Development
- Topic: wxSocket & double Input-events
- Replies: 4
- Views: 1258
Everything was written/read... The second INPUT-event I receive, when I get to it, it encounters a wxSOCKET_WOULDBLOCK. Which means that there is simply no data in the buffer anymore (when I would like to wait for data, the program would, which is not the point). The second INPUT-event gets a LastCo...
- Thu May 05, 2005 7:23 pm
- Forum: C++ Development
- Topic: wxSocket & double Input-events
- Replies: 4
- Views: 1258
wxSocket & double Input-events
I have a socketclient with the flags input & lost on it. now I send something to this socket. At the receiving end I receive 1 input event. Here all the data can be extracted from. Then I receive another input event where, when I want to read data out of it, it seems that it errors to: 'wxSOCKET...
- Mon Mar 21, 2005 2:35 pm
- Forum: General Development
- Topic: sizer-troubles
- Replies: 2
- Views: 1141
- Mon Mar 21, 2005 12:51 pm
- Forum: General Development
- Topic: sizer-troubles
- Replies: 2
- Views: 1141
sizer-troubles
Hi, I am having a little troubles with sizers, the problem is this: I have a few wxStaticText's with wxComboBox'es and wxTextCtrl's next to it. <wxStaticText> <wxTextCtrl> <wxStaticText> <wxTextCtrl> <wxStaticText> <wxComboBox> Ofcourse this works nice in sizers. But what I want is that all the wxSt...
- Thu Jan 20, 2005 11:08 am
- Forum: C++ Development
- Topic: RTF-Textctrl & pasting
- Replies: 4
- Views: 1570
- Tue Jan 11, 2005 9:24 am
- Forum: C++ Development
- Topic: wxLocale
- Replies: 2
- Views: 1073
- Tue Jan 11, 2005 7:22 am
- Forum: C++ Development
- Topic: wxLocale
- Replies: 2
- Views: 1073
wxLocale
How can I get the language from the user? I mean which locale he has set?
I am looking for some static class/function to know that, but can't find something in intl.cpp
I am looking for some static class/function to know that, but can't find something in intl.cpp
- Mon Jan 10, 2005 9:03 am
- Forum: C++ Development
- Topic: RTF-Textctrl & pasting
- Replies: 4
- Views: 1570
- Wed Jan 05, 2005 1:48 pm
- Forum: C++ Development
- Topic: RTF-Textctrl & pasting
- Replies: 4
- Views: 1570
RTF-Textctrl & pasting
When I paste some formatted text into an RTF TextCtrl (which is hooked to catch CTRL-0->9). When it is for example a <h1>text</h1> formatted text, it doesn't appear in my textctrl (well, actually it does, but with the formatting of this h1-item. Now I don't want that, but how can I get rid of that b...
- Fri Dec 03, 2004 7:32 am
- Forum: C++ Development
- Topic: Random crashes... How to solve?
- Replies: 6
- Views: 1901
btw, I found the error... Which ain't very logical ;) I did wxDELETE(m_pWaarschuwing); where m_pWaarschuwing is an own-created wxTaskBarIcon. Now I get a huge amount of leaks (we are improving ;)). Thx for your tip about #if 0 - #endif Jorg... That is more easy then always copy/paste everything. I s...
- Thu Dec 02, 2004 3:11 pm
- Forum: C++ Development
- Topic: Random crashes... How to solve?
- Replies: 6
- Views: 1901
- Thu Dec 02, 2004 2:50 pm
- Forum: C++ Development
- Topic: Random crashes... How to solve?
- Replies: 6
- Views: 1901
Random crashes... How to solve?
Hi, I just created a small application... But lately it began to crash like hell... The problem is that one time it runs like a charm, no problems at all... All seems fine... Then I don't change anything, I just re-run it and during the same actions it crashes. Now besides the fact that this is enor...
- Thu Dec 02, 2004 1:42 pm
- Forum: C++ Development
- Topic: wxSizer troubles
- Replies: 5
- Views: 1833
Code: Select all
SetSizeHints(600,500);
SetSize(600,500);
The second one started ok, but I could resize it to a smaller size then 600/500.
Cheers
- Wed Dec 01, 2004 6:31 pm
- Forum: C++ Development
- Topic: wxSizer troubles
- Replies: 5
- Views: 1833
wxSizer troubles
How can I set it so my window can't become smaller then fe. 600x500 ?
it is somewhere an option, but I can't find it :S
it is somewhere an option, but I can't find it :S