dsampson@x102a.harris-atd.com (sampson david 58163) (08/30/90)
I was looking at the PowerPoint ad in a mag and noticed the "icon" areas at the top of the verticle scroll bar of the main window client areas. I remembered that Word for Windows has the same kind of thing when you switch to Page mode. MS draws "pages" above and below the verticle scroll bar. When the user clicks on one of them, it goes forward or back a page at a time. I was wondering how that kind of thing is implemented. I don't have my reference manual here at work, but I don't think the scroll bar XOR'ed parameter in the window class definition supports that kind of thing. So it seems logical that MS probably made the "icons" a child window (and subclassed to the parent), painted whatever they wanted in it, and put in a client area verticle scroll bar control (and controlled the clipping of the parent window). Someone, the other day, was commenting on how the Petzold book is really great about getting one up to speed, but there's not much out there to draw from on when it comes to the clever implementations of things. So, anybody have any thoughts about the stuff I mentioned above, or want to discuss other stuff like that? David -- V ' ' ' ' ' * I Damn Pigeons! David Sampson Harris Corporation dsampson@x102a.ess.harris.com Gov't Aerospace Systems Divison uunet!x102a!dsampson Melbourne, Florida -------------------------------------------------------------------------------