Search found 864 matches

by Sof_T
Wed Sep 14, 2005 7:55 am
Forum: wxDev-C++
Topic: Request for some more info on forms
Replies: 4
Views: 1297

You can change the size of the buttons after dropping them on the form, with the width, height properties.

Is that what you mean or are you asking if you can change wx-devcpp to use a new default size so that you don't need to alter them later?

Sof.T
by Sof_T
Sun Sep 11, 2005 8:31 pm
Forum: wxDev-C++
Topic: Problem with wxDialog and static text/bitmap
Replies: 25
Views: 5612

Just tested the latest build and I see that the issues I had have been solved. The image now looks correct. However I now realise why this may have been an issue, the documentation for wxBitmap says it is only for implementing icons and has a maximum sixe of 64x64 under win 9x. When I try my program...
by Sof_T
Thu Aug 18, 2005 6:30 pm
Forum: C++ Development
Topic: Unicode 16 How to convert
Replies: 0
Views: 626

Unicode 16 How to convert

Hi I am writing an application which basically opens and displays files. The problem I have is that at present I am using wxTextCtrl on a non unicode build of wxWidgets. However half the file I open are unicode16 and therefore do no display. As a result I have a series of questions. 1) Is there a bu...
by Sof_T
Tue Aug 16, 2005 6:55 pm
Forum: C++ Development
Topic: xmp to bmp splash screen transparency
Replies: 4
Views: 1790

I think the function you are looking for is SetShape(); This takes a wxRegion and only works on certain platforms. Example WindowImage = wxBitmap(_T("WindowImage.png"), wxBITMAP_TYPE_PNG); SetSize(wxSize(WindowImage.GetWidth(), WindowImage.GetHeight())); SetWindowShape(); wxRegion Region(W...
by Sof_T
Sun Aug 14, 2005 9:27 am
Forum: C++ Development
Topic: Dialog Problem
Replies: 25
Views: 5645

Will do
by Sof_T
Sat Aug 13, 2005 1:17 pm
Forum: wxDev-C++
Topic: Problem with wxDialog and static text/bitmap
Replies: 25
Views: 5612

Hi I've not tested the new executable yet, but I have a new problem. I've reinstalled wxDevCpp now when I add a wxStaticBitmap component to a frame I can see the bitmap in design time. In the .cpp file the line #include "WxStaticBitmap1_XPM.xpm" is added, but the file WxStaticBitmap1_XPM.x...
by Sof_T
Sat Aug 13, 2005 12:14 pm
Forum: wxDev-C++
Topic: Problem with wxDialog and static text/bitmap
Replies: 25
Views: 5612

Thanks for your response. I'll download it and give it a try possibly today, if not then tomorrow. Sorry I didn't post the message you asked for with the difference between headers, but somehow I seem to have messed up wxDevCpp and it stopped generating images at all. Just reinstalled to try to sort...
by Sof_T
Sat Aug 13, 2005 10:15 am
Forum: wxDev-C++
Topic: Problem with wxDialog and static text/bitmap
Replies: 25
Views: 5612

Sorry if I have created a misunderstanding the problem wasn't that it selected the wrong colour for transparency. Rather it seems to have decided that certain pixels should be transparent when I didn't want any of them to be transparent.
by Sof_T
Fri Aug 12, 2005 7:46 pm
Forum: Platform Related Issues
Topic: Beos port
Replies: 1
Views: 1230

Beos port

Just an inquiry as to what happened to the BeOS port. I read somewhere that there were several developers working on it, but it never seemed to get into CVS.
by Sof_T
Fri Aug 12, 2005 6:21 pm
Forum: wxDev-C++
Topic: Problem with wxDialog and static text/bitmap
Replies: 25
Views: 5612

I just want say that I found a solution to my problem. Both the text styling and bitmap seem to be due to errors in wxDevCPP. First of all the text. This was the easiest to implement. All that was required was to stretch the textboxes so that they were longer than the IDE showed them as needing to b...
by Sof_T
Thu Aug 11, 2005 10:27 pm
Forum: C++ Development
Topic: Dialog Problem
Replies: 25
Views: 5645

By the way to display your about dialog much the same applies. 1. Select the MenuBar icon on HRIRCBotFrm.wxform. Edit MenuItems. Select Help->About. Click the edit button. Click Create next to the On Menu event. This will recreate the on click handler. 2. Add the include for your about box, again be...
by Sof_T
Thu Aug 11, 2005 10:15 pm
Forum: C++ Development
Topic: Dialog Problem
Replies: 25
Views: 5645

Hi Hades I've downloaded your source and made a couple of alterations, it now seems to compile and run fine. The main problem seems to be that you had two declarations of click events, I imagine that you created one, maybe removed it and later added another. wxDevCpp probably didn't cleanly remove t...
by Sof_T
Thu Aug 11, 2005 6:55 am
Forum: C++ Development
Topic: Dialog Problem
Replies: 25
Views: 5645

Hi you posted the link to the executable so that we could try it. How about posting a link to a zip file containing the source code so that we can try it on our own machines. I suspect that an unintialised pointer is being called. Do you set your pointers to NULL, if you create them before assigning...
by Sof_T
Wed Aug 10, 2005 6:50 am
Forum: C++ Development
Topic: Dialog Problem
Replies: 25
Views: 5645

Some possible points. 1. Did you include the header file containing the definition of you dialog. E.g. At the top of the file containing the function Mnuserversetup1008Click1 did you add the line #include"Nameofmyseverdialogfile.h" 2. Have you declared an instance of your dialog, either in...
by Sof_T
Sun Aug 07, 2005 9:53 am
Forum: wxDev-C++
Topic: Problem with wxDialog and static text/bitmap
Replies: 25
Views: 5612

Problem with wxDialog and static text/bitmap

I have been trying to design my own about box deriving from wxDialog. The first time I tried it looked fine in design view but at runtime the image was shifted to the right and clipped, also the text was clipped. I thought that this was due to a problem with not using sizers, so I tried again with s...