如何使用c ++使用win32 api创建滚动条? [英] how to create scroll bar using win32 api using c++ ??
问题描述
我试图找出一个与样本相关的滚动条,但谷歌上没有好的样本,google上有很多与滚动条相关的内容,但所有内容都变得复杂或混乱。
我有一个窗口,其中我已经以按钮的形式插入了许多子窗口现在我想通过拖动滚动条在我的窗口中实现滚动条我想看到我所有的子窗口(或按钮),可以任何人帮助我?
微软的例子是:
https://docs.microsoft.com/en-us/windows/desktop/Controls/create-scroll -bars
https://docs.microsoft.com/en-us/windows/desktop/Controls/scroll-text-in-scroll-bars
https://docs.microsoft.com/en-us/windows/desktop/Controls/scroll-a-bitmap-in-scroll-bars
I am trying to find out a sample related scroll bar but there is no good sample on google,there are lot of stuff on google related to scroll bars but all are vary complicated or confused .
I have a window in which i have inserted many child windows in form of buttons now i want to implement scroll bar in my window by dragging scroll bar i want to see my all child windows (or buttons), can any one help me ?
Microsoft examples are at:
https://docs.microsoft.com/en-us/windows/desktop/Controls/create-scroll-bars
https://docs.microsoft.com/en-us/windows/desktop/Controls/scroll-text-in-scroll-bars
https://docs.microsoft.com/en-us/windows/desktop/Controls/scroll-a-bitmap-in-scroll-bars
这篇关于如何使用c ++使用win32 api创建滚动条?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!