Smart Device Functions:
Type a page name and press Enter. You'll jump to the page if it exists, or you can create it if it doesn't.
To create a page in a module other than user32, prefix the name with the module name and a period.
[DllImport( "user32.dll", SetLastError=true, EntryPoint="GetScrollBarInfo")]
This didn't work for me with the Rectangle type for SCROLLBARINFO.rcScrollBar. To rectify this I altered this declaration to type RECT using the following standard definition.
public struct RECT
This then worked for me!
Tips & Tricks:
for idObject, use one of these values (see the MSDN link at the bottom for their usage):
private const uint OBJID_HSCROLL = 0xFFFFFFFA;
SCROLLBARINFO psbi = new SCROLLBARINFO();
probably Marshal.GetLastWin32Error() is better here
Alternative Managed API:
if you have a reference to a System.Windows.Forms.ScrollBar, use it's properties. otherwise,
can give you some of the data.
The GetScrollBarInfo API
7/2/2009 6:27:46 AM - -188.8.131.52
Please edit this page!
Do you have...