Search found 79 matches
- Tue Jan 31, 2006 1:24 pm
- Forum: C++ Development
- Topic: Reading from config file
- Replies: 8
- Views: 1199
How can I use wxTextInputStream or wxFileInputStream with wxFileConfig? Bcoz wxFileConfig takes only wxInputStream as input parameter. Also How could I associate wxConfigBase with wxFileConfig, as the later doesn't take any parameters of wxConfigBase. Lot of confusions!!!. Can u please provide me so...
- Tue Jan 31, 2006 12:58 pm
- Forum: C++ Development
- Topic: Reading from config file
- Replies: 8
- Views: 1199
The prototype of the wxFileConfig is wxFileConfig(wxInputStream& is, wxMBConv& conv = wxConvUTF8); and it doesn't take input from text file. wxInputStream() cannot be associated with the text files. So how can I read from file. Could anyone provide me some piece of code, how to do it? Thanks and reg...
- Tue Jan 31, 2006 10:55 am
- Forum: C++ Development
- Topic: Reading from config file
- Replies: 8
- Views: 1199
Reading from config file
I have a config text files with values like name1=10.50.43.1 key=value . . I want to read from the config file and use the values. How could I handle this? Do I have to use wxFFile? It doesn't provide more flexibility in handling the config parameters. Suggest me the best way to do it. Thanks and re...
- Thu Jan 12, 2006 10:53 am
- Forum: C++ Development
- Topic: accessing global variable from library
- Replies: 1
- Views: 498
accessing global variable from library
I had built my application in VC++ using wxwidgets 2.6.2. I'm linking my application with a static library say sample.lib. I'm defining a variable in my application say int var[50]. Now I want to access this in the library bu making it extern. How could I do it. I had used extern int var[50]; in the...
- Tue Dec 20, 2005 9:56 am
- Forum: C++ Development
- Topic: mobile like numpad
- Replies: 5
- Views: 999
I understood the idea u gave. When I read about wxTimer, there is a member function Notify(). How can I override this function? (I'm very new to C++) I have coded something like this wxTimer *Timer = new wxTimer(); Timer->Start(5000,false); I want to provide the action in the Notify(). How could I d...
- Tue Dec 20, 2005 7:04 am
- Forum: C++ Development
- Topic: mobile like numpad
- Replies: 5
- Views: 999
mobile like numpad
How can I provide a mobile kind of numpad like when u press the button it displays '1', then another press generates 'a' then 'b' and so on.
- Fri Dec 16, 2005 11:21 am
- Forum: C++ Development
- Topic: enable-auto-import
- Replies: 0
- Views: 395
enable-auto-import
When I link my wxwidgets application with a static library (.lib extension) I get linker errors like this, Whats the reason tack\SIPstatic.lib(./Debug/app_utility.obj)(.debug$S+0x9c6):C:\Documents and S: variable '_pctype' can't be auto-imported. Please read the documentation for ld's --enable-auto-...
- Thu Dec 15, 2005 5:12 am
- Forum: C++ Development
- Topic: Buttons disappear on Dialog display
- Replies: 10
- Views: 1231
No thats not the case. When I click on the place from where buttons have disappeared, the buttons appears again, and they works perfectly afterwards. I don't have any problem with the functionality of buttons, but only that the buttons disappears on showing dialog box and then I need to click on the...
- Wed Dec 14, 2005 3:12 pm
- Forum: C++ Development
- Topic: Buttons disappear on Dialog display
- Replies: 10
- Views: 1231
- Wed Dec 14, 2005 1:29 pm
- Forum: C++ Development
- Topic: Buttons disappear on Dialog display
- Replies: 10
- Views: 1231
I'm posting part of my code, pls chk it out if it is proper //This is how I'm creating the window and buttons BasicFrame::BasicFrame(const wxChar *title, int xpos, int ypos,int width, int height) : wxFrame((wxFrame *)NULL, -1, title, wxPoint(xpos,ypos), wxSize(width, height), wxFRAME_SHAPED,"name") ...
- Wed Dec 14, 2005 12:26 pm
- Forum: C++ Development
- Topic: Buttons disappear on Dialog display
- Replies: 10
- Views: 1231
Buttons disappear on Dialog display
I have a window with number of buttons on it. Whenever I dispaly some dialog box the buttons underneth are disappearing. This problem I'm getting after changing my build setting from Debug GCC LINUX to Release GCC LINUX. Refreshing each button is very difficult in my application. Is it the default b...
- Wed Dec 14, 2005 7:37 am
- Forum: C++ Development
- Topic: Refreshing window
- Replies: 2
- Views: 604
Refreshing window
How can I refresh my window developed from wxFrame. When I run in release mode I'm getting problem with the display which was not there when I run in debug mode. Now I want to refresh my window along with all the buttons it contains. Can I do this refresh periodically without calling in different pa...
- Tue Dec 13, 2005 1:46 pm
- Forum: C++ Development
- Topic: wxTrap()
- Replies: 7
- Views: 1384
In my case the application works, when I run in some sequence and doesn't work when I run in different sequence. The part of code which doesn't work in one sequence, works perfectly well when I run in other sequence. What can be infered from it? I'm getting SIGTRAP saying failed:"To install idle han...
- Tue Dec 13, 2005 8:29 am
- Forum: C++ Development
- Topic: wxTrap()
- Replies: 7
- Views: 1384
- Tue Dec 13, 2005 7:10 am
- Forum: C++ Development
- Topic: wxTrap()
- Replies: 7
- Views: 1384
wxTrap()
What doew wxTrap() does?