Search found 14 matches

by ZuLuuuuuu
Tue Aug 18, 2009 10:33 am
Forum: General Forum Issues
Topic: Email notification (topic watch) feature not working
Replies: 4
Views: 5639

Hmmm, ok I'll change my mail address into Yahoo one. PhpBBs seem to be always having problems with spams and spam protections :\
by ZuLuuuuuu
Mon Aug 17, 2009 3:54 pm
Forum: General Forum Issues
Topic: Email notification (topic watch) feature not working
Replies: 4
Views: 5639

Sometiems failure notices come by on my end when email adresses are not valid, or unreachable. I think the mailer of this forum blocks .ru domains (like [email protected].ru) and some others. So if you have an email address like that you might have problems with that. I see your email ends on .inf...
by ZuLuuuuuu
Mon Aug 17, 2009 8:27 am
Forum: General Forum Issues
Topic: Email notification (topic watch) feature not working
Replies: 4
Views: 5639

Email notification (topic watch) feature not working

Hello,

The email notification feature is not working for me, I don't get mails when a topic of mine is replied. What might be the problem?
by ZuLuuuuuu
Mon Aug 17, 2009 7:07 am
Forum: C++ Development
Topic: Keeping an eye on the clipboard
Replies: 5
Views: 683

I haven't used yet but as far as I know, wxWidgets sends wxUpdateUIEvent events when it becomes idle so that you can check if anything needs to be updated when the application is idle (like if a menu item should become unavailable): http://docs.wxwidgets.org/stable/wx_wxupdateuievent.html#wxupdateui...
by ZuLuuuuuu
Sat Aug 15, 2009 10:50 am
Forum: C++ Development
Topic: Trouble with painting on scrolled window
Replies: 14
Views: 2272

Ok, finally I found the solution for overriding problem, too. Looking at the scrolwin.cpp I saw that it calls a method named HandleOnScroll() whenever a scroll event happens, so I called it, too on my method. Here is the final code (I draw 3 lines, 2 of them is standing and one of them is scrolled):...
by ZuLuuuuuu
Sat Aug 15, 2009 12:14 am
Forum: C++ Development
Topic: Trouble with painting on scrolled window
Replies: 14
Views: 2272

Hmmm, I created an OnScroll method and bind it to the canvas with EVT_SCROLLWIN(Canvas::OnScroll), though this time the scrolled window does not scroll at all although I scroll the scrollbars. I guess, I've overridden the default behaviour.
by ZuLuuuuuu
Fri Aug 14, 2009 9:44 pm
Forum: C++ Development
Topic: Trouble with painting on scrolled window
Replies: 14
Views: 2272

I have some news, I now understand why it is not working and why it is working when I use Refresh() and why it is not closing when I use Refresh(). The first diagnosis Auria said was true: "maybe your system is trying to optimize some drawing by only asking you to redraw new parts." The old shape is...
by ZuLuuuuuu
Mon Aug 10, 2009 9:51 am
Forum: C++ Development
Topic: Drawing only the visible portion of a window
Replies: 3
Views: 382

Thank you very much...
by ZuLuuuuuu
Sun Aug 09, 2009 11:33 pm
Forum: C++ Development
Topic: Drawing only the visible portion of a window
Replies: 3
Views: 382

Drawing only the visible portion of a window

Hello, I read in the reference manual under wxScrolledWindow::GetViewStart that: "Combined with wxWindow::GetClientSize, the application can use this function to efficiently redraw only the visible portion of the window." How is this done? Is that something like: - Get the region, - Iterate over all...
by ZuLuuuuuu
Sun Aug 09, 2009 10:54 am
Forum: C++ Development
Topic: Trouble with painting on scrolled window
Replies: 14
Views: 2272

leiradella wrote:Maybe a wxPaintDC will do it if you draw these shapes before you call DoPrepareDC?
Unfortunately, that didn't work, either.
by ZuLuuuuuu
Sat Aug 08, 2009 9:00 pm
Forum: C++ Development
Topic: Trouble with painting on scrolled window
Replies: 14
Views: 2272

How can I mark an area to be redrawn? I tried inserting these lines to the OnPaint event: this->Refresh(); this->Update(); Now it draws correctly as I scroll (with a little flicker) but this time the program does not close when I click X on upper right. Also I didn't understand why it cannot calcula...
by ZuLuuuuuu
Sat Aug 08, 2009 5:39 pm
Forum: C++ Development
Topic: Trouble with painting on scrolled window
Replies: 14
Views: 2272

Hmmm, I just tested it with my Windows installation (2.8.10), but it doesn't work there, either. The look after a little scrolling is at the attachement.

I'll try it with another version of wxWidgets...
by ZuLuuuuuu
Sat Aug 08, 2009 2:51 am
Forum: C++ Development
Topic: Trouble with painting on scrolled window
Replies: 14
Views: 2272

The wxScrolledWindow docs seem to say that DoPrepareDC sets the offset of your DC for you. So you may not need to manually do +x and +y Hi Auria, I want the shapes to stay on the visible area, like they are not moving. I have some shapes which move when the user scrolls and got some other shapes wh...
by ZuLuuuuuu
Fri Aug 07, 2009 5:38 pm
Forum: C++ Development
Topic: Trouble with painting on scrolled window
Replies: 14
Views: 2272

Trouble with painting on scrolled window

Hello, I'm trying to create some kind of canvas for my project but got a behaviour that I cannot tell why, so I decided to prepare a minimal test case with the advise of a user at the IRC. Here, I create a scrolled window inside a wxFrame. I try to draw some lines on it which should appear at exactl...