Search found 14862 matches

by doublemax
Sun Dec 16, 2007 10:54 am
Forum: C++ Development
Topic: what is the best way to show a transparent image during dnd?
Replies: 5
Views: 837

the "dragimag" sample does that.
by doublemax
Fri Dec 14, 2007 11:20 am
Forum: Platform Related Issues
Topic: wxWidgets and MacOSX
Replies: 4
Views: 1023

by doublemax
Fri Dec 14, 2007 11:14 am
Forum: Platform Related Issues
Topic: Problems with wxClientDC::GetTextExtent on Windows
Replies: 2
Views: 758

- try setting the font explicitly on the DC
- if you're only interested in the height of the char, use some ascii character, the height will be the same.
by doublemax
Fri Dec 14, 2007 10:51 am
Forum: wxDev-C++
Topic: need help,how to build a simple client/sever program?
Replies: 1
Views: 534

the "ipc" sample does exactly that. Check it out.
by doublemax
Thu Dec 13, 2007 9:31 am
Forum: Platform Related Issues
Topic: Handling an email id
Replies: 4
Views: 746

by doublemax
Tue Dec 11, 2007 5:25 pm
Forum: General Development
Topic: slider as zoom control ?
Replies: 4
Views: 1329

wxSlider doesn't handle float values, just integers:
http://www.wxwidgets.org/manuals/stable ... sliderctor

You could set the values to 40 and 25500 respectively and scale them down by 100 when you need them.
by doublemax
Tue Dec 11, 2007 11:24 am
Forum: C++ Development
Topic: Problems flushing text to clipboard
Replies: 1
Views: 481

looking at the sources, wxClipboard->Flush() seems to be implemented under MSW only and just returns false in all other ports.
by doublemax
Thu Dec 06, 2007 12:40 pm
Forum: C++ Development
Topic: how to use wxDisplay::GetClientArea()
Replies: 2
Views: 1975

first of all, you probably don't need wxDisplay: http://www.wxwidgets.org/manuals/stable/wx_wxtoplevelwindow.html#wxtoplevelwindowmaximize or http://www.wxwidgets.org/manuals/stable/wx_wxtoplevelwindow.html#wxtoplevelwindowshowfullscreen usually do what you need. If you want to use wxDisplay, you fi...
by doublemax
Thu Dec 06, 2007 11:23 am
Forum: C++ Development
Topic: wxScrolledWindow problem
Replies: 5
Views: 856

i found a wx-users entry that indicates that wxGTK works with 16 bit coordinates which would explain your problem: http://www.nabble.com/Bug-on-sample-of-widgets-tf1258113.html#a3353783 However this is the only entry i found regarding this issue and it's more than a year old. So asking on wx-users o...
by doublemax
Tue Dec 04, 2007 1:34 am
Forum: Platform Related Issues
Topic: Problem about multi-processor system
Replies: 7
Views: 1122

So I think the crash is related to RHEL's kernel. i don't think so. by using a single processor kernel you just "force" your program to behave like on your single processor machine, because the additional CPUs are not used. However, it's possible (or even likely) that you still have a logical error...
by doublemax
Fri Nov 30, 2007 5:15 pm
Forum: C++ Development
Topic: CSS on wxHtmlWindow::LoadFile()
Replies: 4
Views: 1141

wxHtmlWindow supports only a very rudimentary html subset and is not intended as a full purpose html viewer.
http://www.wxwidgets.org/manuals/stable ... ssupported
by doublemax
Fri Nov 30, 2007 12:21 pm
Forum: Platform Related Issues
Topic: Place a Windows Hook in a wxWidgets Application
Replies: 3
Views: 898

Code: Select all

HINSTANCE hinst = GetModuleHandle(NULL);
For the rest, you can probably use the example as it is.
by doublemax
Thu Nov 29, 2007 3:51 pm
Forum: C++ Development
Topic: Loading PGM Image files?
Replies: 1
Views: 410

did you try?
The PNM handler should be able to load PGM files.

http://en.wikipedia.org/wiki/Portable_pixmap
by doublemax
Thu Nov 29, 2007 10:07 am
Forum: C++ Development
Topic: Segfault on frame->Show(TRUE) in wxMac
Replies: 1
Views: 490

the debug output is pretty obvious:
In your OnPaint handler you (try to) display a wxBitmap which isn't loaded properly (wxBitmap::IsOK() fails).