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?
804 Views Asked by Ranjith At
1
There are 1 best solutions below
Related Questions in WXWIDGETS
- wxComboBox adding hover effect
- wxWidgets and UTF8 - some characters missing
- wxSVG - problems with installation on linux
- How to download binary file using wxwidgets
- wxWidgets with AUI: OpenGL render loop method and wxPaintEvent
- how to use wx.Slider with SELRANGE?
- wxWidgets controls paint/draw/display issue on Windows
- Event when paint complete or smth similar in wxFrame
- wxpython refreshing images in wxpython staticbitmap
- Error while installing wxpropertygrid on Ubuntu 14.04
- wxWidgets Hello World example not compiling
- wxExecute can't execute file that needs admin permissions UAC
- Compiling a static version of wxWidgets
- Forwarded class, can't access to method
- Can't link wxWidgets app with Code::Blocks / MinGW
Related Questions in SCROLLBAR
- Scrollbar for Message Widget in Tkinter
- Adding a listener to a VerticalScrollBar in flex
- enabling horizontal scrollBar in textView - Swift
- Listview on android, scroll only with scrollbar
- Lag in scrolling behavior on IE 10 and IE Edge modes
- How to make the horizontal scrollbar visible in DT::datatable
- SAPUI5: Disable scrollbar for sap.ui.unified.ShellLayout
- Wpf datagrid scrollbar freezes
- JavaFX TextArea - unwanted ScrollBars when resizing
- Primefaces datatable header alignment with scrollbar
- How to have scroll when zooming canvas stage
- WPF change ListView scroll speed
- Add a vertical scrollbar to a wxFrame accross multiple wxPanels
- Implementing scroll bar along x-axis
- angular-perfect-scrollbar | update, scroll to bottom, or alternative
Related Questions in TREECONTROL
- Add icon for specific tree items in Tree(CTreeCtrl) in MFC
- Outlook bar auto size to tree control
- Can't catch TVN_SELCHANGED
- How to draw a addition line in MFC TreeControl?
- How to detect "Space" key in treecontrol in AngularJS
- Angular Tree Control not working perperly
- Angular tree control ---- filter the nodes of a tree
- item size not adjusted after font change in CTreeCtrl
- Updating treectrl in wxPython
- MFC CTreeCtrl max visible item text length
- CTreeCtrl disable drag and drop on specific nodes
- How can I auto-scroll a wxTreeControl widget while dragging with the mouse?
- Prevent drag drop on child nodes of DotNetBar AdvTree/TreeControl
- Django:Is there a way to use a tree control in my template
- how to get list of selected nodes in angular ivh tree view?
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)
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?
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.