` Comment on an Icetips Article
Icetips - Templates, Tools & Utilities for Clarion Developers

Templates, Tools and Utilities
for Clarion Developers

Add a comment to an Icetips Article

Please add your comments to this article. Please note that you must provide both a name and a valid email address in order for us to publish your comment. Comments are moderated and are not visible until they have been approved. Spam is never approved!

Your Name:  
Email:  
Header text/Subject:  

Please enter your comment in the box below:

Back to article list   Search Articles     Add Comment     Printer friendly     Direct link  

Windows API: Extracting hight and low order values
2002-03-06 -- Larry Sand
 
Newsgroups: comp.lang.clarion,softvelocity.products.c55ee Robert, If you have this prototype: ScWndProc PROCEDURE(UNSIGNED hWnd, | UNSIGNED uMsg, | UNSIGNED wParam, | LONG lParam)!,LONG,PASCAL As Edward notes, the word order of an Intel 32 bit integer is reversed, so define this structure over the wParam to get the low order word containing the scroll bar value. wP GROUP,OVER(wParam) low USHORT high USHORT END Then you can do some thing like: CASE wP.low OF SB_LEFT !handle the upper left scroll .... END Cheers, Larry Sand "Robert Rodgers" wrote in message news:3c86c6cc$1@news.softvelocity.com... | Hi All, | | I need to capture the horizontal scrolling events for a clarion list box. I | am using a call back. I am getting the WM_HSCROLL alright but I am not able | to determine what the event is. Apparently the request is in the low-order | word of the wparam. I haven't stumbled onto the magic to make this work | yet. |


Today is November 23, 2024, 3:26 am
This article has been viewed 35206 times.
Google search has resulted in 35 hits on this article since January 25, 2004.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: