Steve Pick wrote:
> Hi,
>
> Thanks for coming back to the project, nice to finally get to talk to you.
> I'm spearheading getting some flicker-free redraws working in Win32::GUI but
> whenever I try to double-buffer in a window resize, the flicker just
> remains. It looks as though the widgets are redrawn after the window, and so
> the widgets arent actually part of the window's DC on resize (?!).

that's interesting. I thought about double-buffering, but never tried
anything. the window DC *should* contains its own widgets (at least,
that's how SaveBMP works). but maybe there's something going on in the message
queue that screw things up, I don't know.

> In NEM_WindowMsgLoop, [...]

wait, wait. are you sure that NEM_WindowMsgLoop is the correct place?
the current code base is a little (ok, a *big*) mess because I was
trying to make the old- and new-event-model to coexist, so maybe
NEM_WindowMsgLoop never gets hit. if you open GUI.h, you'll see there
are two lines at the beginning:

// #define PERLWIN32GUI_DEBUG
// #define PERLWIN32GUI_STRONGDEBUG

uncomment these and rebuild the module. everything will be veeeeeery
slow, but in the console you will see every single thing that's
happening (and which message loop is spinning).

BTW, if you want to send me your code, I can take a look at it and
help you with debugging.

> This is my first try at some win32 programming in C / C++ (I'm used to
> console or unix stuff) so cut me some slack while I get used to it :)

you're really, really welcome :-)

cheers,
Aldo

__END__
$_=q,just perl,,s, , another ,,s,$, hacker,,print;


Reply via email to