Click here to get back home

The question about the scrollbar

 HomeNewsGroups | Search | About
 microsoft.public.smartphone    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
The question about the scrollbar bird 01-03-2007
Posted by bird on January 3, 2007, 2:20 am
Please log in for more thread options
Dear All:
I want to implemet a fucntion to control the scrollbar of IE on SmartPhone
and I call the API GetScrollInfo() to retrive the information of scrollbar.
The APS not return fail but the values returned are not correct.
The followings is my codes.
Does any body find any errors?
Thanks...

ZeroMemory(&si, sizeof(SCROLLINFO));
si.cbSize = sizeof(si);
si.fMask = SIF_PAGE | SIF_TRACKPOS | SIF_RANGE |SIF_POS;
if(!GetScrollInfo(ghWndCHILD, SB_VERT, &si))
WINCESHIPMSG(1,(TEXT("GetScrollInfo Fail!! \r\n")));
else
WINCESHIPMSG (1, (TEXT("Vsi.min = %d, si.max = %d si.nPos:%d si.nPage
nTrackPos:%d :%d\r\n", si.min, si.max,si.nPos,si.nPage,si.nTrackPos )));



Similar ThreadsPosted
Truetype question July 11, 2005, 10:07 pm
T-mobile SDA Question February 27, 2006, 1:39 pm
the question about HttpSendRequest May 29, 2006, 2:03 am
Outlook Question October 24, 2006, 9:43 am
newbie question December 6, 2006, 6:05 am
Newbie Question January 24, 2007, 4:56 pm
Newbie question April 30, 2007, 12:58 pm
Activesync question please May 22, 2007, 8:45 pm
major question November 6, 2007, 12:09 pm
WM6 email question December 11, 2007, 8:52 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap