Search found 382 matches

by Widgets
Wed Apr 30, 2008 3:38 pm
Forum: Platform Related Issues
Topic: trouble with wxDynamicLibrary
Replies: 21
Views: 3422

I have had problems with deprecated functions such as strdup etc because the compiler warns about the possibility of buffer overruns when they are used. MS has some replacement functions they recommend and if you're not concerned about portability to *nix, you may as well use them. You can avoid the...
by Widgets
Tue Apr 29, 2008 3:37 pm
Forum: Platform Related Issues
Topic: trouble with wxDynamicLibrary
Replies: 21
Views: 3422

My Visual Express says: 8.0.50727.42,
the .Net Framework:2.0.50727 SP1.

I rather doubt that that difference will account for the problem.

Did you try to compile the code using the solution file from the zip file I attached previously>
by Widgets
Thu Apr 24, 2008 9:57 pm
Forum: Platform Related Issues
Topic: trouble with wxDynamicLibrary
Replies: 21
Views: 3422

Interesting; mine shows no such problems. Actually I hadn't tied what your picture shows, but I have just run it again and I can move (both main frame and) the dialog pop-up all over the screen, including the application frame and it always redraws things as they should be. When run under the debugg...
by Widgets
Thu Apr 24, 2008 4:09 pm
Forum: Platform Related Issues
Topic: trouble with wxDynamicLibrary
Replies: 21
Views: 3422

I compiled the whole thing with my VS 2005 setup and I can't see any problems with it at all.
I can move, resize or minimize and restore the main window, before or after I make the Hallo box pop up.
I'll attach my zipped up 'solution'
If I missed anything, let me know.
by Widgets
Wed Apr 23, 2008 4:21 pm
Forum: Platform Related Issues
Topic: trouble with wxDynamicLibrary
Replies: 21
Views: 3422

I've just started using the example code myself quite recently , but I have not seen the problem of not repainting etc, so I can't comment on that. OTOH, everything I've tried so far, including moving and resizing has worked without any problems at all. The only possibility I can think of is the mat...
by Widgets
Tue Apr 22, 2008 9:55 pm
Forum: Platform Related Issues
Topic: trouble with wxDynamicLibrary
Replies: 21
Views: 3422

If you haven't found it already look at UpCase's wxPlugin
http://forums.wxwidgets.org/viewtopic.php?t=13178
by Widgets
Thu Apr 17, 2008 8:29 pm
Forum: Platform Related Issues
Topic: MSVC wx_dll.dsw compiles static libraries
Replies: 0
Views: 288

MSVC wx_dll.dsw compiles static libraries

When I finally tried to compile some wxWidgets DLLs using wx_dll.dsw with MSVC, I found that the wx_dll configuration builds the same static libraries that wx/dsw builds.

Did I miss something?
by Widgets
Mon Dec 03, 2007 5:43 pm
Forum: C++ Development
Topic: wxScrolledWindow repainting question
Replies: 2
Views: 654

Thank you very much. That does the trick very nicely.

In the original application, I'm sure I had tried variations of this, but never seemed to get the desired results.
by Widgets
Thu Nov 29, 2007 1:20 am
Forum: C++ Development
Topic: wxScrolledWindow repainting question
Replies: 2
Views: 654

wxScrolledWindow repainting question

I have been trying for quite some time to adapt the code from sample/scroll such that I can add part of the code from sample/caret. I have cut down the scroll sample to the bare minimum - only the dumb painting window. My problem comes about when I try to intercept the keyboard characters so that I ...
by Widgets
Tue Nov 27, 2007 7:21 pm
Forum: C++ Development
Topic: wxDateTime question
Replies: 1
Views: 563

Problem has been resolved.

It looks like I had the environment variable TZ set wrong; it was PST-8 instead of PST8.

With this correction, I get the correct time as the default behavior.
by Widgets
Mon Nov 26, 2007 8:25 pm
Forum: C++ Development
Topic: wxDateTime question
Replies: 1
Views: 563

wxDateTime question

In trying to use the wxDateTime facilities, I've run into a problem I can't seem to resolve in a time zone independent way. I am in the PST timezone, so if I use: wxDateTime now; now = wxDateTime::Now(); ftr.Printf( "Printed: %s", now.Format( wxDefaultDateTimeFormat, now.IsDST() ? wxDateTime::PDT : ...
by Widgets
Fri Nov 23, 2007 10:03 pm
Forum: Announcements and Discoveries
Topic: printing utility
Replies: 4
Views: 1269

beta 0.4 release

This release fixes - some more problems with page breaks. - page positions for 2 & 4-up printing in some cases, depending on starting page to be printed - fixed problem with page number positioning - fixed "Printed: " date, but unless you're in the TZ PST it still may be off. - Changed the string us...
by Widgets
Mon Nov 12, 2007 11:39 pm
Forum: C++ Development
Topic: Problem with a fixed position text line in wxScrolledWindow
Replies: 0
Views: 383

Problem with a fixed position text line in wxScrolledWindow

Hi, I'm trying to follow the example in topic 12535 which almost works on my machine - keeping a vertical line in a nearly fixed position when the window is scrolled. http://forums.wxwidgets.org/viewtopic.php?t=12535 On my machine - WinXP, Microsoft Visual Studio C++ 2005, wxWidgets 2.8.6 - the line...
by Widgets
Wed Oct 17, 2007 9:34 pm
Forum: Announcements and Discoveries
Topic: printing utility
Replies: 4
Views: 1269

I finally been able to do some more work on this utility and have posted the latest update at: http://www.columbinehoney.net/wxPr.shtml This time, 1,2 & 4-up should work, as should drag and drop. As well, the sources should be available this time. A typo in the web page stopped things cold for that ...
by Widgets
Tue Sep 04, 2007 3:16 pm
Forum: Announcements and Discoveries
Topic: printing utility
Replies: 4
Views: 1269

I'm not quite sure I understand your question. On my system the default printing dialog has the options to only print certain pages, but it neither shows how many pages there really are - other than 'All' - nor which pages will contain what part of the file. I want to be able to not only give an acc...