Search found 17 matches

by saint
Thu May 04, 2006 9:35 am
Forum: C++ Development
Topic: XRC and internationalization
Replies: 4
Views: 1221

I use only ASCII charcters in win1251(russian) locale -- all codes from 0 to 255
by saint
Thu May 04, 2006 9:18 am
Forum: C++ Development
Topic: XRC and internationalization
Replies: 4
Views: 1221

no, I compile it in ASCII - win1251
by saint
Thu May 04, 2006 5:32 am
Forum: C++ Development
Topic: XRC and internationalization
Replies: 4
Views: 1221

XRC and internationalization

Hi everyone. I use windows XP, wxWidgets-2.6.2, VC 2003. I want that text in static boxes, menus, etc. would be on russian. And I want to load all this stuff from an XRC file. But when I do so, all my text are shown like some abracadabra. How can I fix it? P.S. when I create menus on russian directl...
by saint
Wed Apr 26, 2006 9:51 am
Forum: C++ Development
Topic: DEBUG FAILURE when using XRC
Replies: 2
Views: 830

micros, you are right, when I set working directory to ProjDir/Debug the problem is gone :) Thanks
by saint
Wed Apr 26, 2006 8:10 am
Forum: C++ Development
Topic: DEBUG FAILURE when using XRC
Replies: 2
Views: 830

DEBUG FAILURE when using XRC

Hi everyone. Windows XP SP1, Visual C++ 6, 7.1, wxWidgets-2.6.2 I have a problem when I try to debug wxWidgets app that using xrc resource file to create the main frame. It throws this message: 11:04:03: Cannot load resources from file 'res.xrc'. 11:04:03: Cannot load resources from file 'res.xrc'. ...
by saint
Thu Apr 13, 2006 11:02 am
Forum: Platform Related Issues
Topic: wxWindow::GetHandle on X11R6
Replies: 3
Views: 1158

DavidHart , thanks for your answer. the obvious problem that you aren't casting this->GetHandle() I cast the result of GetHandle, because in other case compiler wouldn't compile the code. But the problem was in that I used X11 port of wxWidgets and it's GetHandle return X11's "Window", wh...
by saint
Thu Apr 13, 2006 7:36 am
Forum: Platform Related Issues
Topic: wxWindow::GetHandle on X11R6
Replies: 3
Views: 1158

So, people, are there nobody to advise me what's the problem. Please help.
by saint
Wed Apr 12, 2006 4:27 pm
Forum: Platform Related Issues
Topic: wxWindow::GetHandle on X11R6
Replies: 3
Views: 1158

wxWindow::GetHandle on X11R6

Hi everyone. Please help, I'm in big trouble. I've been trying to solve my problem about 4 days and don't know what to do now. Please, help, it's _very_ important for me. THE PROBLEM: I'm trying to create a child window using XtVaCreateManagedWidget and when I call this function with pointer to pare...
by saint
Wed Mar 29, 2006 2:42 pm
Forum: C++ Development
Topic: wx capabilities for PrintPreview
Replies: 0
Views: 476

wx capabilities for PrintPreview

Hi everybody. I want to organize preview for document before printing. Are there any standart ways in wxWidgets to do this. Or if there none, how can I do it by myself. Wich control will be better to use to display preview (it must be able to display colored text and graphics). A preview will be gen...
by saint
Thu Mar 23, 2006 12:21 pm
Forum: C++ Development
Topic: loading resources from ZIP file
Replies: 4
Views: 1311

when I made res.xrs by wxrc.exe and wrote Load("res.xrs"); - my app started. when I wrote Load("res.xrs#zip:frame.xrc"); - it failed. But when I made res.xrs by simple zip.exe my app started in all cases: Load("res.xrs"); and Load("res.xrs#zip:frame.xrc"); It'...
by saint
Thu Mar 23, 2006 11:08 am
Forum: C++ Development
Topic: loading resources from ZIP file
Replies: 4
Views: 1311

It doesn't work even with full path specification :(
by saint
Wed Mar 22, 2006 11:34 am
Forum: C++ Development
Topic: loading resources from ZIP file
Replies: 4
Views: 1311

loading resources from ZIP file

Hi everybody. Windows XP SP1, Visual C++ 2003, wxWidgets-2.6.2 I encounter a problem when I want to load resources from a zip file, created by wxrc.exe utility. I make such steps: wxrc.exe frame.xrc -o res.xrs then in MyApp::OnInit wxFileSystem::AddHandler(new wxZipFSHandler); wxXmlResource::Get()->...
by saint
Tue Mar 21, 2006 7:53 am
Forum: C++ Development
Topic: event handling for controls from XRC
Replies: 3
Views: 1139

Yeah, but if I don't want to create a special class for dialog, if I just want to do something like this:

Code: Select all

wxDialog dlg;
and operate with dialog from XRC throught this dlg object. Can I do this? Or in any case I need to derive wxDialog and create my own class for each custom dialog from XRC?
by saint
Mon Mar 20, 2006 5:29 pm
Forum: C++ Development
Topic: event handling for controls from XRC
Replies: 3
Views: 1139

event handling for controls from XRC

Hi everybody. What is a standart way to handle events from controls that belong to dialog placed in XRC file? Can I do this without need to write my own class, derived from wxDialog? Can I do something like this: wxDialog dlg; if ( wxXmlResource::Get()->LoadDialog(&dlg, this, T("non_derived...
by saint
Mon Mar 20, 2006 4:28 pm
Forum: wx.NET
Topic: using *.xrc in VC2003
Replies: 6
Views: 20548

how can I embed resource files in my *.exe file to not be obliged to copy *.xrc files in the same directory as *.exe file to be able to load them. when I built xrc example with VC2003 and tried to start xrcdemo.exe - it failed because it couldn't load *.xrc files. And xrcdemo.exe started successfull...