CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - WS_CHILD
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Search - WS_CHILD - List
[
Dialog_Window
]
scorllBitmapWnd
DL : 0
自绘带滚动条的显示图片控件,需要OnLButtonDown消息需要WS_CHILD | WS_VISIBLE | SS_NOTIFY 窗口样式 使用方法: DWORD lStyle = WS_CHILD | WS_VISIBLE | SS_NOTIFY m_PicShowWnd.Create(_T(""), lStyle, CRect(5, 5, 100, 30),this,102) m_PicShowWnd.ShowWindow(true) 通过程序控制窗口的大小,图片内容及滚动条会自动适应。-Since the painting scroll bars with the display picture control, need OnLButtonDown message needs WS_CHILD | WS_VISIBLE | SS_NOTIFY window style to use: DWORD lStyle = WS_CHILD | WS_VISIBLE | SS_NOTIFY m_PicShowWnd.Create (_T (" " ), lStyle, CRect (5, 5 , 100, 30), this, 102) m_PicShowWnd.ShowWindow (true) through the program control window size, image content and the scroll bar will automatically adapt.
Date
: 2025-12-17
Size
: 4kb
User
:
zhx
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.