Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

thanks & never gets to WM_PAINT

0 views
Skip to first unread message

Andrew Justin Caird

unread,
Jun 2, 1993, 9:35:35 PM6/2/93
to

Thanks to everyone who has answered all of my previous
questions. And sorry if I didn't thank you personally.

Now for yet another question:
I have code in the form:
case WM_INITDIALOG:
...
case WM_CLOSE:
...
case WM_PAINT:

after each of the case statements is a return(TRUE) and at the
end of the switch is a return(NULL). But it never gets to the WM_PAINT.
Follonging it with the debugger it goes through to the return(NULL) once,
then goes once to the WM_INIT and a return(TRUE) then it just loops
skipping everything except the final return (NULL) and goes back the the
LONG FAR PASCAL DspyProc(...) until Windows goes.
Now, this worked yesterday, but I moved it with the file manager, then,
thinking for some reason the FM _copied_ and didn't move, erased it.
So I am trying to rebuild what I can from the old scraps of printout.

What have I forgotten? Any and all suggestions welcome via any means.

Thanks (again) in advance.
--Andy
+--------------------------+------------------------------+
| Andrew Justin Caird | aca...@engin.umich.edu |
| University of Michigan | Nuclear Engineering |
| Andrew...@umich.edu | Andrew...@um.cc.umich.edu |
+--------------------------+------------------------------+

0 new messages