Search found 13 matches

by Lall
Mon Sep 25, 2006 1:38 pm
Forum: C++ Development
Topic: wxThread::Delete() problem
Replies: 4
Views: 890

Hi Jenrique,

Are you calling the TestDestroy() function within your thread code from time to time to check if the thread should exit?

If you don't do so then Delete() will wait that the thread exit by itself.

Best regards,
Lall
by Lall
Mon Aug 21, 2006 12:36 pm
Forum: Component Writing
Topic: PictureBox
Replies: 7
Views: 2821

Hi, Then I think that wxStaticPicture is definitely a solution for you. I'm using it to display a bigger than 64x64 jpeg logo in one of my applications. It actually works in two steps: 1) load a wxBitmap with the image you want to display. wxBitmap accepts all kinds of image type, you simply need to...
by Lall
Fri Aug 18, 2006 8:03 am
Forum: Component Writing
Topic: PictureBox
Replies: 7
Views: 2821

If you want to draw images bigger than 64 by 64 pixels then you can also use wxStaticPicture. You can find it in the contrib / gizmos directory.

When I look at the MFC help though, I'm not sure you'll get all the functionality you're looking for...

Best regards,
Lall
by Lall
Thu Oct 13, 2005 12:47 pm
Forum: Platform Related Issues
Topic: Windows service using wxWidgets ipc
Replies: 6
Views: 2144

Hi all,

Just adding my two cents to the discussion...

I'm using VC6.0 with wx2.6.2 and the IPC sample works fine for both the DDE and the Socket implementations under XP sp1 and XP sp2.

Best regards,
Lall
by Lall
Wed Oct 12, 2005 9:04 am
Forum: Compiler / Linking / IDE Related
Topic: Compilation under Microsoft Visual Studio
Replies: 7
Views: 1222

Hi Jakub & all, Concerning this wxMSW-2.6.2, I actually found out about the change in the way things are being compiled (non monolithic one while I was always using src/wxwindows.dsp before) because some sample (wxIPC) is made to work with those split libraries... I have no clue how it is done with ...
by Lall
Tue Oct 11, 2005 3:46 pm
Forum: Compiler / Linking / IDE Related
Topic: Compilation under Microsoft Visual Studio
Replies: 7
Views: 1222

Hi Jakub,

I also had troubles with that. Apparently the way the things are done has been changed from version 2.5 onwards.

You can now find the MSVC projects in wxWidgets2.6.x\build\msw, wxBase is there. The location where the library is generated has also been changed.

Best regards,
Lall
by Lall
Tue May 24, 2005 4:17 pm
Forum: C++ Development
Topic: extracting zip files
Replies: 3
Views: 2420

Hi Izy, I've been using the wxZipInputStream in one of my codes. You can find it there: http://cvs.sourceforge.net/viewcvs.py/virtual3101/MissParker/Manager/src/ThemeWindow.cpp?view=markup and you should take a look at the LoadCompressedTheme function. I'm still using wx2.4.0 but I guess it won't ma...
by Lall
Sat Nov 13, 2004 2:52 pm
Forum: C++ Development
Topic: Why no wxZipOutputStream?
Replies: 4
Views: 1308

Hi all, Well forgot to say I'm using the 2.4.2 version as it is the last stable one. I've been following the new revision in the past but I actually prefer for the time being focusing the on software programming itself. I'll migrate a day or another to a 2.5.x or better to a 2.6.x :D Thanks for all,...
by Lall
Thu Nov 11, 2004 8:45 pm
Forum: C++ Development
Topic: Why no wxZipOutputStream?
Replies: 4
Views: 1308

Wouaw, thanks so much. That's exactly what I'm looking for...

I have some new toy to play with this evening :D

Best regards,
Lall
by Lall
Wed Nov 10, 2004 2:56 pm
Forum: C++ Development
Topic: Why no wxZipOutputStream?
Replies: 4
Views: 1308

Why no wxZipOutputStream?

Hi all, I've been looking at the zlib and zip classes for a program of mine. I would actually want to read/write project files but in a zip form. The good point being that the files would be smaller and all would be cleaner as my project files are made of several files. I'd like to be able to create...
by Lall
Wed Oct 13, 2004 7:19 am
Forum: General Development
Topic: drag and drop
Replies: 4
Views: 2085

The event macro you're searching for is: EVT_DROP_FILES BEGIN_EVENT_TABLE(CHTTextControl : public wxTextCtrl) EVT_DROP_FILES(CHTTextControl :: OnDropFiles) END_EVENT_TABLE() I've actually never tried that method, I'm using the wxTextDropTarget class and SetDropTarget function of wxWindows class but ...
by Lall
Mon Sep 27, 2004 12:19 pm
Forum: C++ Development
Topic: How to resume/pause and reset wxThread?
Replies: 5
Views: 2489

Hi Sirius,

Well, you can try to add m_State = STATE_STOP; in the OnBtnResetClick function.

If you don't do that, the "case STATE_STOP:" of your OnBtnPlayClick function will never get used again.

Best regards,
Lall
by Lall
Mon Sep 27, 2004 7:08 am
Forum: C++ Development
Topic: How to resume/pause and reset wxThread?
Replies: 5
Views: 2489

Hi Sirius,

I don't see a reset of the m_State variable in the Reset function.

I assume that after the reset, the next time you press the start/stop button, the function goes mad as it assumes to be in another state than it actually is.

Best regards,
Lall