当前位置:网站首页>This visual is not connected to the presentationsource.
This visual is not connected to the presentationsource.
2022-07-25 00:30:00 【solar storm】
this Visual Not connected to PresentationSource.
One 、 Problem description
1. Screenshot of the problem
- Problem code :

- Front end interface diagram :

2. Overview of the situation
Calculate one when the window is resized TreeView Control 、 And one. ListBox The height value of the control , This TreeView Control 、ListBox Control is located in TabControl Position inside , Click on Content - Indexes The error was reported after the project
Two 、 Cause analysis
This is because TabControl Only one interface can be displayed at a time , The corresponding interface location will be hidden , Lead to BookMarkTree.PointToScreen() Acquisition failure , Cause error .
3、 ... and 、 terms of settlement
1. Screenshot of solution result

2. Solution Overview
Cannot get the location of the hidden control . We can change the location reference of the developing control without changing it , I chose this TabControl Control location , Use this position to calculate TreeView Height
边栏推荐
- C language force buckle the flipped number of question 7. Violence Act
- Server intranet and Extranet
- The troubleshooting process of a segment error (disassembly address troubleshooting)
- ROS机械臂 Movelt 学习笔记3 | kinect360相机(v1)相关配置
- Regular expression learning
- Grafana - influxdb visual K6 output
- UART
- 数组中只出现一次的两个数字
- 线段树杂谈
- Soft test --- fundamentals of programming language (Part 2)
猜你喜欢

@Mapkey usage instructions

Quartus: install cyclone 10 LP device library for quartus version 17.1

2. Load test

ROS机械臂 Movelt 学习笔记3 | kinect360相机(v1)相关配置

Qt项目-安防监控系统(各个界面功能实现)

动态规划-01背包滚动数组优化

Nodejs package

What is the function of transdata operator and whether it can optimize performance

1. Smoke test

Weekly summary (*66): next five years
随机推荐
Install and configure php5-7 version under centos7.4
Technical operation
paddlepaddle论文系列之Alexnet详解(附源码)
Pit record: typeerror:'module'object is not callable
Fast development board for Godson solid state drive startup (burning system to solid state) - partition
Install K6 test tool
Improve static loading dynamic loading
线段树杂谈
[mindspore ascend] [running error] graph_ In mode, run the network to report an error
自动化测试系列-Selenium三种等待详解
torch.nn.SyncBatchNorm.convert_ sync_ Mindspore usage corresponding to batchnorm
启牛商学院靠谱吗?讲课老师推荐开华泰账户安全吗
Does opengauss support using Sqlalchemy connections?
[untitled]
Heap and stack in embedded development
Qt项目-安防监控系统(各个界面功能实现)
Dpdk based basic knowledge sorting-01
Docker container Django + MySQL service
BGP机房和BGP
Quartus: install cyclone 10 LP device library for quartus version 17.1