Search found 149 matches

by jmason1182
Fri Oct 03, 2008 7:16 pm
Forum: C++ Development
Topic: Single instance, argv and windows context menu !
Replies: 6
Views: 1219

Well it has been almost a year.... if you have it... could you share your IPC code? My needs are almost exactly what you are describing here.

Thanks
by jmason1182
Tue Sep 30, 2008 1:48 pm
Forum: C++ Development
Topic: Zooming
Replies: 7
Views: 1620

Nice work. Thanks
by jmason1182
Tue Sep 30, 2008 1:02 pm
Forum: C++ Development
Topic: Zooming
Replies: 7
Views: 1620

Well what did you do? What did you figure out? I'm curious as to some of your code!
by jmason1182
Fri Sep 26, 2008 8:47 pm
Forum: C++ Development
Topic: Whoah! What happened to my Event handling?
Replies: 12
Views: 1651

You know what's funny is I do backups. Every day as I prepare to leave I do a full backup of the entire source structure. I was befuddled as to what the problem could be so I started doing diffs.... file by file... and that's when I found that SINGLE line I added. If it weren't for my backups... I'd...
by jmason1182
Fri Sep 26, 2008 4:37 pm
Forum: C++ Development
Topic: Zooming
Replies: 7
Views: 1620

Re: Zooming

1) When i move the "image" around and a position smaller than wxPoint(0,0) is rendered, the last colours on the 0 coordinates get copied (see attached picture). i cant stop this, not with pdc.Clear() and not with pdc.DrawRectangle(0,0,-2000,-2000) 2) i zoom in, move a little bit around and i'm now ...
by jmason1182
Fri Sep 26, 2008 4:27 pm
Forum: C++ Development
Topic: use the wxHtmlWindow's LoadPage,but the CPU is 100%
Replies: 1
Views: 464

Yeah, you need to add the "Internet File System Handler" to be able to load from the internet. Either add the following line before creating any wxHtmlWindows or in the main part of your wxApp. wxFileSystem::AddHandler(new wxInternetFSHandler); Here's a related post that gives lots of code: http://f...
by jmason1182
Fri Sep 26, 2008 4:19 pm
Forum: C++ Development
Topic: Quick question.... when does the IdleEvent fire?
Replies: 6
Views: 1002

A quick note: DON'T USE THE IDLE EVENTS UNLESS YOU ARE SURE YOU NEED TO. MY APP BROKE BECAUSE OF 1 STATEMENT... wxIdleEvent::SetMode(wxIDLE_PROCESS_SPECIFIED); See I use lots of the wxTreeListCtrl (enhanced version from twinforms.com) and they require idle events to refresh the display.... but I did...
by jmason1182
Fri Sep 26, 2008 4:13 pm
Forum: C++ Development
Topic: Whoah! What happened to my Event handling?
Replies: 12
Views: 1651

OK, I found it. The wxTreeListCtrl uses the Idle events for some of its updates. That's what happened. I missed a line! In my app, the refreshing BROKE after I began trying to get my "sleep lock" stuff working. I had originally tried to use the Idle Events. So, in my main app, I put: wxIdleEvent::Se...
by jmason1182
Fri Sep 26, 2008 3:22 pm
Forum: Component Writing
Topic: Issues with Enhanced wxTreeListCtrl
Replies: 12
Views: 4985

WHOAH! Quick note... ok... IMPORTANT NOTE: The wxTreeListCtrl uses the Idle events for some of its updates. In my app, the refreshing BROKE because I was needing to use the idle events: wxIdleEvent::SetMode(wxIDLE_PROCESS_SPECIFIED); And so if you need to use the idle events for anything (like I was...
by jmason1182
Fri Sep 26, 2008 1:33 pm
Forum: C++ Development
Topic: Whoah! What happened to my Event handling?
Replies: 12
Views: 1651

OK so hopefully someone can give me a clue as to what is going on. I have been trying to contact the creator of this control, wxTreeListCtrl from www.twinforms.com and so far I can't get him to respond. So can anyone give me a hand? Not one, but ALL of the instances where I use wxTreeListCtrl don't ...
by jmason1182
Thu Sep 25, 2008 6:17 pm
Forum: C++ Development
Topic: Whoah! What happened to my Event handling?
Replies: 12
Views: 1651

OK.... so something went wrong.... I just commented out section by section, piece by piece, and then eventually the entire dang function. No go. The problem isn't in my filerevents function. That means that somewhere I must have changed something else to make the control stop catching update events....
by jmason1182
Thu Sep 25, 2008 2:03 pm
Forum: C++ Development
Topic: Whoah! What happened to my Event handling?
Replies: 12
Views: 1651

Here's my FilerEvent function. See if this helps the issue at hand.... //Application wide event filtering - F1 and F2 are global // mainframe dialogs (help and error log), and all keypresses // and user input needs to reset the inactivity "lock" timer. int Main::FilterEvent(wxEvent &event) { //captu...
by jmason1182
Thu Sep 25, 2008 12:48 pm
Forum: C++ Development
Topic: Whoah! What happened to my Event handling?
Replies: 12
Views: 1651

Auria wrote: ...i realised i didn't really know this topic so my answer may not have been relevant...
Wow. Thanks. It's not everyday you get honesty and integrity in a forum.
by jmason1182
Wed Sep 24, 2008 9:07 pm
Forum: C++ Development
Topic: Whoah! What happened to my Event handling?
Replies: 12
Views: 1651

Wow... I got a phantom email that said somebody replied... but there isn't one here.....
by jmason1182
Wed Sep 24, 2008 8:23 pm
Forum: C++ Development
Topic: Whoah! What happened to my Event handling?
Replies: 12
Views: 1651

Whoah! What happened to my Event handling?

This is a followup question to a different topic (found here: http://forums.wxwidgets.org/viewtopic.php?t=21064&highlight= ) I have gotten my little "lock-out" timer and such to work. And it works well. But I was directed to use the wxApp::FilterEvent function to handle the global events to make it ...