Guidance
指路人
g.yi.org
Guidance Forums / wxWidgets (wxWindows) in C++ / scrolling

Register 
注册
Search 搜索
首页 
Home Home
Software
Upload

  
Forum List • Thread List • Reply • Refresh • New Topic • Search • Previous • Next First 1 Last
Message1. scrolling
#4168
Posted by: 2004-05-18 21:09:38
Hello !

I'd like to know what is the difference between device coords & logical coords ?

I'm using the vertical scroll bar of a wxScrolledWindow and I don't know
how to use "SetScrollbars" method.
A thread adds bitmaps in the wxScrolledWindow.
During this I do :
        SetScrollbars(0,1,0,vl_YAxis,0,vl_ScrollPos);
'vl_YAxis' is the Y coordinates where I want to add the next bitmap and
'vl_ScrollPos' is the Scroll position getting by GetScrollPos method when a
OnScroll event is captured.
But when I scroll the vert. bar, Bitmaps aren't inserted at the correct
'vl_YAxis' wanted..
I don't understand why ?
Should I try an other method than SetScrollBar ??

Thanks
Forum List • Thread List • Reply • Refresh • New Topic • Search • Previous • Next First 1 Last
掌柜推荐
 
 
¥918.00 ·
 
 
¥738.00 ·
 
 
¥470.00 ·
 
 
¥738.00 ·
 
 
¥1,480.00 ·
 
 
¥900.00 ·
© Mon 2024-11-11  Guidance Laboratory Inc.
Email:webmaster1g.yi.org Hits:0