please dont rip this site Prev Next

WM_HSCROLLCLIPBOARD Overview  Group

The WM_HSCROLLCLIPBOARD message is sent to the clipboard owner by a clipboard viewer window. This occurs when the clipboard contains data in the CF_OWNERDISPLAY format and an event occurs in the clipboard viewer’s horizontal scroll bar. The owner should scroll the clipboard image and update the scroll bar values.

WM_HSCROLLCLIPBOARD 

hwndViewer = (HWND) wParam;         // handle of clipboard viewer window 

nScrollCode = (int) LOWORD(lParam); // scroll bar code 

nPos = (int) HIWORD(lParam);        // scroll box position 

 

Parameters

hwndViewer
Value of wParam. Identifies the clipboard viewer window.
nScrollCode
Value of the low-order word of lParam. Specifies a scroll bar event. This parameter can be one of the following values:

Value

Meaning

SB_BOTTOM

Scroll to lower right.

SB_ENDSCROLL

End scroll.

SB_LINEDOWN

Scroll one line down.

SB_LINEUP

Scroll one line up.

SB_PAGEDOWN

Scroll one page down.

SB_PAGEUP

Scroll one page up.

SB_THUMBPOSITION

Scroll to absolute position. The current position is specified by the nPos parameter.

SB_TOP

Scroll to upper left.

nPos
Value of the high-order word of lParam. Specifies the current position of the scroll box if the nScrollCode parameter is SB_THUMBPOSITION; otherwise, the nPos parameter is not used.

Return Values

If an application processes this message, it should return zero.

Remarks

The clipboard owner can use the ScrollWindow function to scroll the image in the clipboard viewer window and invalidate the appropriate region.

See Also

ScrollWindow 

See also:


file: /Techref/os/win/api/win32/mess/src/msg24_13.htm, 3KB, , updated: 2000/4/7 12:20, local time: 2022/5/22 13:59,
TOP NEW HELP FIND: 
35.170.82.159:LOG IN

 ©2022 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://www.piclist.com/techref/os/win/api/win32/mess/src/msg24_13.htm"> WM_HSCROLLCLIPBOARD</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?

  PICList 2022 contributors:
o List host: MIT, Site host massmind.org, Top posters @20220522
* Page Editors: James Newton, David Cary, and YOU!
* Roman Black of Black Robotics donates from sales of Linistep stepper controller kits.
* Ashley Roll of Digital Nemesis donates from sales of RCL-1 RS232 to TTL converters.
* Monthly Subscribers: Gregg Rew. on-going support is MOST appreciated!
* Contributors: Richard Seriani, Sr.
 

Welcome to www.piclist.com!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .