on Tue, 25 Sep
> 2007 19:40:58 -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.
Is the notebook being invalidated because of something that you do or because of some other process writing on top of it?
If it is something that you are doing, you could always post a WinInvalidateRect(hWnd, ....) which will force a paint.
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.
Nathan Woodruff
=====================================================
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".
=====================================================
>> 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.