Search found 864 matches

by Sof_T
Sun Aug 07, 2005 9:12 am
Forum: C++ Development
Topic: LoadFile error
Replies: 2
Views: 598

I can understand that, but wouldn't it just display gibberish? In my case it only displays the first 2 or 3 characters (which are gibbish). However if it is just a case of unicode problems is there some way I could convert the file via a stream then assign it to the text ctrl?
by Sof_T
Sat Aug 06, 2005 9:44 am
Forum: C++ Development
Topic: LoadFile error
Replies: 2
Views: 598

LoadFile error

While using Turbopad I noticed that a couple of files I was working on didn't open propery, only the first couple of characters displayed. I wrote a small app using a wxTextCtrl and had the same result. The files in question are an xml and javascript file. They both start with a couple of non displa...
by Sof_T
Thu Aug 04, 2005 6:27 am
Forum: wxDev-C++
Topic: wxTreeCtrl and SetItemFont
Replies: 2
Views: 1336

Hi

I don't know if this is what you mean. But wxTreeCtrl has the Refresh() method derived from wxWindow.

Sof.T
by Sof_T
Mon Aug 01, 2005 5:49 pm
Forum: wxDev-C++
Topic: Project lost XP styling
Replies: 6
Views: 1545

Thanks Guru that was exactly the problem. I never even noticed that option before. I've no idea how I turned it off though. Just goes to prove that 99% of problems are user errors.

Sof.T
by Sof_T
Sun Jul 31, 2005 12:02 pm
Forum: C++ Development
Topic: wxMessageBox return values are wrong
Replies: 3
Views: 1088

Embarrassed :oops: . wxID_OK etc are for use with wxMessageDialog. wxMessageBox uses wxOK etc as return values.

Sof.T
by Sof_T
Sun Jul 31, 2005 11:45 am
Forum: C++ Development
Topic: wxMessageBox return values are wrong
Replies: 3
Views: 1088

wxMessageBox return values are wrong

I am having problems with the following code. The return values are all wrong for wxMessageBox. According to tests the values defined for wxID_YES is 5103, wxID_NO is 5104 and wxID_CANCEL is 5101. However the return values I am getting from the message box is 2 for yes, 8 for no and 16 for cancel. A...
by Sof_T
Fri Jul 29, 2005 3:19 pm
Forum: wxDev-C++
Topic: Project lost XP styling
Replies: 6
Views: 1545

That was my first thought, but the manifest file is listed as an include file and the compiler makes no complaints about not being able to find it. It has me stumped.
by Sof_T
Fri Jul 29, 2005 6:27 am
Forum: wxDev-C++
Topic: Project lost XP styling
Replies: 6
Views: 1545

Sorry if I sound vague. I am using wxDev-CPP with the standard compiler.
by Sof_T
Fri Jul 29, 2005 5:59 am
Forum: wxDev-C++
Topic: Project lost XP styling
Replies: 6
Views: 1545

Project lost XP styling

I have recently encountered a problem on the project I am working on. I am developing on Windows XP using Version 6.8. Up to today I have had no real problems, but today when I recompiled my project it is rendered as a Windows 9x project, not as a Windows XP project. I have not changed any settings ...