[Kde-cygwin-cvs] QT3 Win32 Port... Menu Bar working,
IVAN DE JESUS DERAS TABORA
ivan_deras at yahoo.es
Mon Jul 21 05:49:07 CEST 2003
--- Richard_Lärkäng <nouseforaname at home.se> escribió:
> > I was working to get menu bar working in QT3
> > before digging in the source i encounter that the
> > problem was the qt_erase_rect and qt_erase_region,
> > because the paint event call qt_erase_rect(
> > ), and then we have a problem here because
> > call InvalidateRect(from WinAPI) which generate a
> > WM_PAINT event which generates a paintEvent in QT,
> > then we have an infinite loop here, i was changed
> > and the the Menu appear but with a little offset
> ... I
> > will continue working on this issue because there
> > paint problems with the menu bar.
> Oh, ok. You don't know a clean way to fix it?
> Maybe paintingActive() on the paintdevice?
> Not sure though if that would really be working
OK i'll try to fix that!!!
> btw, what do you have to do to make that happen?
> I tried to remove the call to InvalidateRect, and
> seemed to be basically the same (exept for some
> things not
> being redrawn of course).
I changed the InvalidateRect by FillRect ...
> > Another thing i want to ask: if i want to make a
> > what i need to do, need to do a make clean???
> No, no need to do a make clean, just diff the source
> cvs (cvs diff -u <filename> or cvs diff -u for all
i'll try later ...
> > PD: I could submit a screenshot if someone want,
> > i need to know where to send it ...
> You could send it to me, and I'll put it up here.
> Richard Lärkäng
> kde-cygwin mailing list
> kde-cygwin at mail.kde.org
Yahoo! Messenger - Nueva versión GRATIS
Super Webcam, voz, caritas animadas, y más...
More information about the kde-cygwin