Search found 741 matches

by miclus
Tue Feb 03, 2015 6:50 am
Forum: C++ Development
Topic: wxListCtrl Column Artifacting
Replies: 10
Views: 2140

Re: wxListCtrl Column Artifacting

It appears to not occur unless you use a Windows classic theme. So, might just be a Windows issue.
by miclus
Wed Jan 28, 2015 1:43 am
Forum: C++ Development
Topic: wxListCtrl Column Artifacting
Replies: 10
Views: 2140

Re: wxListCtrl Column Artifacting

Here are two, one for my test, one for the original test. http://duke3donline.com/test1.avi http://duke3donline.com/test2.avi I found the area that causes it is at the end of wxConvertToMSWListCol where it sets image flags like lvCol.mask |= LVCF_IMAGE; and lvCol.fmt |= LVCFMT_BITMAP_ON_RIGHT | LVCF...
by miclus
Tue Jan 27, 2015 1:00 am
Forum: C++ Development
Topic: wxListCtrl Column Artifacting
Replies: 10
Views: 2140

Re: wxListCtrl Column Artifacting

Right, I forgot to add that. In my real app, I do have that. That doesn't change the artifact issue though, in XP or 7.
by miclus
Mon Jan 26, 2015 1:50 am
Forum: C++ Development
Topic: wxListCtrl Column Artifacting
Replies: 10
Views: 2140

Re: wxListCtrl Column Artifacting

Ok, I simplified the sample a bit. I found that the issue only happens if I keep the SetImage() line in. /* wxListCtrl Column Artifact Test Move a window repeatedly over the Column 1 heading and it will eventually artifact. Comment out the SetImage() line and it won't artifact. */ #include <wx/wx.h>...
by miclus
Mon Jan 26, 2015 1:06 am
Forum: C++ Development
Topic: wxListCtrl Column Artifacting
Replies: 10
Views: 2140

Re: wxListCtrl Column Artifacting

I tested on Windows 7 to to be sure. I will look into the later code, unless doublemax has already tested the listctrl sample with a newer version?
by miclus
Sun Jan 25, 2015 3:15 am
Forum: C++ Development
Topic: wxListCtrl Column Artifacting
Replies: 10
Views: 2140

wxListCtrl Column Artifacting

I'm using wxWidgets 2.8.10 and Windows XP. Sometimes my list control columns get their text / arrows messed up. If I switch tabs, resize, click on a column, call Refresh(), etc., it fixes this, but I'm curious as to why it happens to begin with and my other controls seem to be immune to it. I found ...
by miclus
Sat Apr 12, 2014 10:30 pm
Forum: C++ Development
Topic: Weird Issue with wxURL
Replies: 3
Views: 1203

Re: Weird Issue with wxURL

Seems to work. Thanks, dude!
by miclus
Sat Apr 12, 2014 9:46 pm
Forum: C++ Development
Topic: Weird Issue with wxURL
Replies: 3
Views: 1203

Re: Weird Issue with wxURL

Yeah the random thing was an idea I thought of too. I will see how it works for him. He told me that it was after using a proxy that he could download it properly. So, I think it must be his ISP. Anyway, it doesn't seem to like the &, so I'm trying ? instead...
by miclus
Sat Apr 12, 2014 6:26 am
Forum: C++ Development
Topic: Weird Issue with wxURL
Replies: 3
Views: 1203

Weird Issue with wxURL

I use wxURL to provide client updates. One client was getting a weird problem. He would constantly download an old version of the update that was no longer on my server (replaced by the new version). Somehow, his computer kept getting the old one which no longer existed. Is this some type of cache o...
by miclus
Fri Apr 11, 2014 11:50 pm
Forum: C++ Development
Topic: wxButton State
Replies: 7
Views: 2154

Re: wxButton State

Geezus, it was just an illusion due to making the panel black. Sorry :(.
by miclus
Fri Apr 11, 2014 10:56 pm
Forum: C++ Development
Topic: wxButton State
Replies: 7
Views: 2154

Re: wxButton State

Wait, I did make a panel on top of the dialog, so this is odd. I will compare to the sample a bit more... But, you're saying if I click the button and do nothing in the button handler, the button should return to it's normal state? I click the button and it presses in a bit and then stays that way i...
by miclus
Fri Apr 11, 2014 10:27 pm
Forum: C++ Development
Topic: wxButton State
Replies: 7
Views: 2154

Re: wxButton State

I use Windows 2.8.10 version. I can't see anything, even if I change the code to something like this: void LoginFrame::OnLoginHelp(wxCommandEvent& WXUNUSED(event)) {} it still happens. Here is the constructor: LoginFrame::LoginFrame() : wxDialog(NULL, -1, "Meltdown ", wxDefaultPosition, wxDefaultSiz...
by miclus
Fri Apr 11, 2014 9:38 pm
Forum: C++ Development
Topic: wxButton State
Replies: 7
Views: 2154

Re: wxButton State

Here is an example code for pressing a button: void LoginFrame::OnLoginHelp(wxCommandEvent& WXUNUSED(event)) { nicknametextctrl->SetFocus(); g_OpenURL("http://duke3donline.com/meltdown.php#login"); } It appears the first SetFocus() will make the button look normal. A second one makes it look pressed...
by miclus
Fri Apr 11, 2014 9:34 pm
Forum: C++ Development
Topic: wxButton State
Replies: 7
Views: 2154

Re: wxButton State

Hi, no. But, what I found is that the button does look normal if I set the focus to another control after clicking it. But, when I click on another control after that, like inside a text control or another button, the button goes to being pressed-in permanently.
by miclus
Fri Apr 11, 2014 1:09 am
Forum: C++ Development
Topic: wxButton State
Replies: 7
Views: 2154

wxButton State

Is there a way to make a wxButton show it's state before it was pressed? Usually, when I click in another control (such as a text control), the button will go back to its normal state, or I can tell it to set focus to the text control. But, on a wxDialog, this doesn't happen. The button instead rema...