我指的是全部用win32 API而不是MFC写的application
我不知道消息部分该怎么写,一时也找不到资料
我不知道消息部分该怎么写,一时也找不到资料
解决方案 »
- CMarkup类操作XML文件的问题,求高手解答!
- 想确认下。。。
- 我是大三学生计算机系的 现在很困惑
- 请问在MFC的头文件中为什么可以不包含头文件而使用MFC中的类库呢?
- 请教如何获取本机在公网上的ip地址?
- 严正抗议CSDN,不加可用分,我都不好意思提问了。
- 我用程序A,将x.dll注入到进程B中后,请问如何在A中控制x.dll在B中执行x.dll的函数func()?
- 哪 位高手有WINSOCK编程的例子,发一个给我谢了!
- 一个简单的问题,快来抢分
- 新手,项目用,MFC 嵌入Google离线地图 怎么通过鼠标点选位置然后在地图上标注,并显示经纬度?????
- 是华为外包成都奥索斯的请到这里来顶一下!!
- 要读USB设备信息,可是缺少usbscan.h,去那里找阿?
INT_PTR CALLBACK MainDlgProc( HWND hDlg, UINT msg, WPARAM wParam, LPARAM lParam )
UING msg == WM_VSCROLL
nScrollCode = (int) LOWORD(wParam); // scroll bar value
nPos = (short int) HIWORD(wParam); // scroll box position
hwndScrollBar = (HWND) lParam; // handle to scroll bar nScrollCode
Value of the low-order word of wParam. Specifies a scroll bar value that indicates the user's scrolling request. This parameter can be one of the following values: Value Meaning
SB_BOTTOM Scrolls to the lower right.
SB_ENDSCROLL Ends scroll.
SB_LINEDOWN Scrolls one line down.
SB_LINEUP Scrolls one line up.
SB_PAGEDOWN Scrolls one page down.
SB_PAGEUP Scrolls one page up.
SB_THUMBPOSITION The user has dragged the scroll box (thumb) and released the mouse button. The nPos parameter indicates the position of the scroll box at the end of the drag operation.
SB_THUMBTRACK The user is dragging the scroll box. This message is sent repeatedly until the user releases the mouse button. The nPos parameter indicates the position that the scroll box has been dragged to.
SB_TOP Scrolls to the upper left. nPos
Value of the high-order word of wParam. Specifies the current position of the scroll box if the nScrollCode parameter is SB_THUMBPOSITION or SB_THUMBTRACK; otherwise, nPos is not used. hwndScrollBar
Value of lParam. If the message is sent by a scroll bar, then hwndScrollBar is the handle to the scroll bar control. If the message is not sent by a scroll bar, hwndScrollBar is NULL.
--------------------------------------------
SliderBar是滑动条,进度条是ProgressBar,你问的是哪个呢?
如果是SliderBar的话,那我就没错,如果是ProgressBar,那你当我没说过...