I have a wxTreeCtrl widget with scroll bars, where I want to drag and drop items on other items. But when I drag an item, how can I make the control automatically scroll invisible items into view?
How can I auto-scroll a wxTreeControl widget while dragging with the mouse?
806 views Asked by Ranjith At
1
There are 1 answers
Related Questions in WXWIDGETS
- wxMediaCtrl causes access read violation when loading
- How to use "wx_dpi_aware.manifest" of wxWidgets wxMSW with MinGW and CMake?
- wx only execute on mouseover, not during GUI initialization
- WxWidgets configure: error: C compiler cannot create executables
- How do I link files in an Xcode Build for C++
- wxAutomationObject for Excel File Manipulation in C++
- ImportError when tring to import wxPython
- right click event for wxDataViewListCtrl
- How to get point color (RGB) in panel Lua (wxLua)?
- Lua (wxLua) how to create a nested "panel1" square in the center "panel"
- wxGCDC UTF8 Problems
- How to draw several lines and arcs with different colors?
- wxpython alpha colors overwrite previous drawing
- Howto determine the size of a text in the current font in wxTextCtrl
- Displaying frames of pixel data
Related Questions in SCROLLBAR
- CSS scrolling only on part of website - Flexbox, sidebar
- Why isn't the scroll bar connecting
- Table without scrolling
- How do I change the colors of the scrollbar on a TWebScrollBox component?
- How to set scrollbar position in TWebScrollBox?
- Can't add transition to scrollbar color on hover
- Strange behavior using WinForms autoscroll
- unable to properly initialize a tkinter Scrollbar
- how to use vertical scroll in react material top tab navigation
- adding a class when the box has a scroll
- QML ScrollView does not remove default ScrollBar when using custom ScrollBar. Why? How to solve this?
- Why my Excel Drop-down menu (of data validation) is not scrolling
- Vanilla JavaScript to show scroll progress bar that fills only while scrolling the <main> element?
- In Android Studio Hedgehog, how can I remove all the non error yellow and grey warning highlights from the scrollbar?
- How to get text colors back for VS Community ScrollBar MapMode
Related Questions in TREECONTROL
- Add/Remove node to wxDataViewCtrl
- How to get the TreeNode a context menu item is attached to
- CTreeCtrl TVN_SELCHANGING doesn't work if TVN_EX_MULTISELECT has been set
- MFC — spread a control to left, right and bottom
- wxpython - Using treectrl to load local html files into a panel
- How to draw a addition line in MFC TreeControl?
- Can anyone tell me how to add icons to tree-control in MFC
- Angular tree control ---- filter the nodes of a tree
- Angular Tree Control not working perperly
- Warning C26454: Arithmetic overflow: '-' operation produces a negative unsigned result at compile time (io.5)
- How to add specific files to a wx.TreeCtrl
- How to detect "Space" key in treecontrol in AngularJS
- This program thows exception. Want to create program to display directory structure with tree control in mfc
- MFC How to make ctreectrl virtual?
- wxPython TreeCtrl: Get an treeitem's data by index
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
As far as I know, you should do it manually. Derive a class from wxTreeCtrl, override relevant methods to capture mouse drag event. Then manually call scroll function with a reasonable amount when the dragging is at the top/bottom.