Search found 657 matches
- Sun Feb 12, 2006 2:48 am
- Forum: C++ Development
- Topic: wxStaticLine. How to change color?
- Replies: 8
- Views: 2901
OnPaint event
wxStaticLinBase <- wxControl <- wxWindow It not really overriding the paint event it just that you are responding to it. call GetDC on the instance of wxStaticLine. Then use the device context to draw on the widget. wxStaticLine * myStaticLine = ... wxPaintDC staticLineDC = myStaticLine->GetDC(); st...
- Sun Feb 12, 2006 2:27 am
- Forum: C++ Development
- Topic: Get Mouse Position
- Replies: 2
- Views: 2424
thanks
I totally forgot to check the ::wx function list.
- Sat Feb 11, 2006 6:04 am
- Forum: Platform Related Issues
- Topic: [WIN32] wxProcess::Exists and Kill
- Replies: 2
- Views: 1106
Umm
check out wxShell and wxExecute
that may point you in the right direction.
that may point you in the right direction.
- Sat Feb 11, 2006 6:00 am
- Forum: C++ Development
- Topic: Status bar text colour
- Replies: 1
- Views: 747
try this but its hard
Currently I can only think of a couple difficult (but working) ways to EMULATE what you want.
1.) you can draw (wxDC) a string over the top of the status bar
2.) you can place a wxStaticText widget over the status bar and then use the set bg color function
1.) you can draw (wxDC) a string over the top of the status bar
2.) you can place a wxStaticText widget over the status bar and then use the set bg color function
- Sat Feb 11, 2006 5:56 am
- Forum: Compiler / Linking / IDE Related
- Topic: really can't get it to work
- Replies: 7
- Views: 1736
i had the same problem
Wow yours was pretty bad. I have a Mac (OS X) and the only way I can get it to run a wxWindows app is if I use make files. Basically compile it via the commad line or use Dialog Blocks. I don't think XCode does to well with the wxWidgets, but I gave up... I hate Macs anyways. But I can get it to com...
- Sat Feb 11, 2006 5:49 am
- Forum: C++ Development
- Topic: wxStaticLine. How to change color?
- Replies: 8
- Views: 2901
TypeCast
TRY:
typecasting it to its base class [ wxWindow || wxWidget ] and call the set background color function.
||
override the paint function and paint the control any color <- sure to work.
typecasting it to its base class [ wxWindow || wxWidget ] and call the set background color function.
||
override the paint function and paint the control any color <- sure to work.
- Sat Feb 11, 2006 5:46 am
- Forum: C++ Development
- Topic: PNG Image transperancy problem on Windows XP
- Replies: 1
- Views: 840
try a different image type
I had a similiar problem, I used a transparent GIF and the second instance I used a bitmap. With the bitmap you can find all the pixel colors you want removed. It will appear to be background-less.
- Sat Feb 11, 2006 5:42 am
- Forum: C++ Development
- Topic: Get Mouse Position
- Replies: 2
- Views: 2424
Get Mouse Position
Is there a wx function or procedure that will return the mouse position even when the mouse is not over a wxWindow. I was going to use a wxTimer to update the coordinates. But then I realized I don't know of any function that retains the mouse position. Please help. Thanks in advance. FYI: I know MF...
- Fri Jan 20, 2006 3:16 pm
- Forum: Compiler / Linking / IDE Related
- Topic: Embedding binary files within compiled EXE
- Replies: 4
- Views: 1182
truly appreciated
Thanks for the link, I totally forgot about checking wxCode.
And even though the previous suggestion was geard towards catalog files, the conceptual aspect gave me more ideas and approaches.
Thank you very much.
And even though the previous suggestion was geard towards catalog files, the conceptual aspect gave me more ideas and approaches.
Thank you very much.
- Thu Jan 19, 2006 3:13 pm
- Forum: C++ Development
- Topic: Problem with wxConfig, please help
- Replies: 1
- Views: 648
try this
Maybe instead of SetPath( "." use "./" )
Both are still pointing to same location.
Both are still pointing to same location.
- Thu Jan 19, 2006 2:54 pm
- Forum: Compiler / Linking / IDE Related
- Topic: Embedding binary files within compiled EXE
- Replies: 4
- Views: 1182
Thanks
I believe it may help, luckily I am developing for a Win32 environment. I will try accessing it as a resource.
Thanks again, but I still need it to build as a single executable (assuming that the module is an external resource).
Thanks again, but I still need it to build as a single executable (assuming that the module is an external resource).
- Wed Jan 18, 2006 6:24 pm
- Forum: Compiler / Linking / IDE Related
- Topic: Embedding binary files within compiled EXE
- Replies: 4
- Views: 1182
Embedding binary files within compiled EXE
Does anyone know of a way to embed a generic binary file ( word doc, windows exe, wav file, mp3, etc) inside an executable? And then access/referencing it without extracting it from the exe during runtime? Thanks in advance. Any other code problems I seem to smash without reprisal. This is my first ...