|
| | |||||||
| Smartphones This is the Microsoft General Public Smartphones Newsgroup. |
| | LinkBack | Thread Tools |
| |||
| The question about the scrollbar 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 ))); |
| Bookmarks |
| Thread Tools | |
| |
| | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Scrollbar width | Val | Windows Vista | 3 | 07-11-2007 11:20 PM |
| Vertical Scrollbar BUG?! | Chris | Internet Explorer | 4 | 06-03-2007 06:50 PM |
| scrollbar speed | sillystring.theory@gmail.com | Windows XP | 1 | 01-04-2007 05:51 AM |
| scrollbar colors | LGC | Windows XP | 8 | 01-04-2007 03:07 AM |
| scrollbar colors | LGC | Windows XP | 0 | 01-04-2007 02:57 AM |
| New To Technology Questions? | Do You Need Help with Your Computer or Device? | Do You Need Help with this site? |