RE: Scrolling Toolbar??
- Posted by Don Phillips <EuNexus at yahoo.com> Oct 07, 2002
- 394 views
> Hmmm, yeah I see what you mean. It sounds like a lot more work than > I'm willing to do right now. But thanks for the idea. > > I ran across a tutorial (in C, of course) that mentioned the > SBS_BOTTOMALIGN flag which seems to be exactly the kind of thing > I'm looking for [along with the output of getClientRect()]. > I haven't tried it yet. I'm still scratching my head over whether it's > a regular flag or an extended one. Any ideas? > > -Ron T. SBS_BOTTOMALIGN is a normal style flag. If you are considering this style in hopes that scrolling the contents of the window will leave the toolbar alone, I do not think this will help in that regard. I have not played around with full scrolling windows before so this is only an educated guess, but during each scroll event I would send the toolbar a TB_AUTOSIZE message to reposition it back to where it was: Void = sendMessage( Toolbar, TB_AUTOSIZE, 0, 0 ) Don