Prev Next
The TreeView_HitTest macro determines the location of the specified
point relative to the client area of a tree-view control. You can use this
macro or explicitly send the TVM_HITTEST message.
HTREEITEM TreeView_HitTest(
Parameters
-
hwnd
-
Handle to the tree-view control.
-
lpht
-
Pointer to a TV_HITTESTINFO
structure. When the message is sent, the pt member specifies the
coordinates of the point to test. When the message returns, the hItem
member is the handle to the item at the specified point or NULL if no item
occupies the point. Also, when the message returns, the flags member is
a hit-test value that indicates the location of the specified point. For a
list of hit-test values, see the description of the TV_HITTESTINFO
structure.
Return Values
Returns the handle to the tree-view item that occupies the specified point or
NULL if no item occupies the point.
See Also
TV_HITTESTINFO, TVM_HITTEST
See also:
| file: /Techref/os/win/api/win32/mac/src/mac05_19.htm, 2KB, , updated: 2000/4/7 12:19, local time: 2012/5/24 18:46,
|
| | ©2012 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? <A HREF="http://www.piclist.com/tecHREF/os/win/api/win32/mac/src/mac05_19.htm"> TreeView_HitTest</A> |
| Did you find what you needed?
|
| |
PICList 2012 contributors:
o
List host: MIT,
Site host massmind.org,
Top posters @20120524 RussellMc, IVP, alan.b.pearce, cdb, V G, Isaac Marino Bavaresco, Electron, John Gardner, Carl Denk, Dwayne Reid,
* 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:
None at this time.
on-going support is MOST appreciated!
* Contributors:
Richard Seriani, Sr.
|
| |
Check out http://users.frii.com/dlc/robotics/projects/botproj.htm from Dennis Clark.
This guy ROCKS! He has made (and sells but also releases code, docs, etc...) for a number of cool
little robotic modules including whiskers, IR proximity detect and remote
control, Sonar proximity detect, PWM, Servo, compass. Most of these use the
little PIC 12C508 controller which costs
basically nothing and is soooo tiny. The 4 servos, 2400 baud serial servo controller
is a wonder of magic and he sells the programmed chip for $8. Wow!
|
.
|