SCOUG-Programming Mailing List Archives
Return to [ 26 |
September |
2007 ]
<< Previous Message <<
>> Next Message >>
** Reply to message from n_woodruff@bellsouth.net on Wed, 26 Sep 2007 05:37:26
-0700
> > The notebook opens but there is no frame (which means no title bar or close
> > button) around it. If part of it gets invalidated it does not get repainted
> > properly, I assume because of the lack of a frame.
> >
> > --
> > Robert Blair
> >
>
> Robert,
>
> I think that the notebook is supposed to be created with out a frame. There is
> no need to have a title bar on the notebook.
While there are a few notebooks that do not have a frame most do so you can
move the control if you want to.
> Is the notebook being invalidated because of something that you do or because
> of some other process writing on top of it?
When I test the notebook I bring another window to the top so it covers at
least part of the notebook.
> If it is something that you are doing, you could always post a
> WinInvalidateRect(hWnd, ....) which will force a paint.
Some of the notebook gets painted but not all of it.
> If it is some other process that is invalidating the notebook, then there is a
> problem with WM_PAINT logic that is preventing/dismissing the message to the
> control. Make sure that in all of your parent controls, including your program
> frame window that you are returning FALSE in all of your parent paint messages.
I think they are returning FALSE but will check.
--
Robert Blair
=====================================================
To unsubscribe from this list, send an email message
to "steward@scoug.com". In the body of the message,
put the command "unsubscribe scoug-programming".
For problems, contact the list owner at
"postmaster@scoug.com".
=====================================================
<< Previous Message <<
>> Next Message >>
Return to [ 26 |
September |
2007 ]
The Southern California OS/2 User Group
P.O. Box 26904
Santa Ana, CA 92799-6904, USA
Copyright 2001 the Southern California OS/2 User Group. ALL RIGHTS
RESERVED.
SCOUG, Warp Expo West, and Warpfest are trademarks of the Southern California OS/2 User Group.
OS/2, Workplace Shell, and IBM are registered trademarks of International
Business Machines Corporation.
All other trademarks remain the property of their respective owners.
|