Hello, Thomas,
I have been using the treeControl for several months now and so far it has worked very well.
However, one issue is not ok , namely invalidating the treeControl after minimisation of the application.
I can demonstrate my problem using the treeControlDemo from the examples.
Please, have a look.,
After calling the program, select in the menu: demo2-objecttree
Then do for example as in the following picture:
Maximise and minimise the application using the icons in the title bar of the application.
Afterwards the program is of course only visible in the taskbar of windows.
After recalling it via the taskbar icon, this is the result:
I thought a solution should be simple, but could not find it.
What do I miss?
Kind regards
Ben
-
- VIP Member
- Posts: 57
- Joined: 11 Jul 2002 23:01
- Thomas Linder Puls
- VIP Member
- Posts: 1458
- Joined: 28 Feb 2000 0:01
Re: invalidating the treeControl after minimizing the application
I can reproduce the problem. I also notice the following (don't know what it means):
I guess that a "fake" invalidate would solve the problem, but it seems like a wrong (and unnecessary) thing to implement.
- The problem only occurs for the active window: if there are several tree demo windows open only the active has the problem
- The nodes appear again if I move the mouse over them (i.e. over where they should have been).
I guess that a "fake" invalidate would solve the problem, but it seems like a wrong (and unnecessary) thing to implement.
Regards Thomas Linder Puls
PDC
PDC
- Thomas Linder Puls
- VIP Member
- Posts: 1458
- Joined: 28 Feb 2000 0:01
Re: invalidating the treeControl after minimizing the application
By some kind of luck I have been able to solve the problem. It turns out that it is the toolbar/status bar that cause the problem. I don't have the slightest idea why.
If you use the attached vpiToolbar.pro file instead of the one in the release the problem will go away.
If you use the attached vpiToolbar.pro file instead of the one in the release the problem will go away.
- Attachments
-
- vpiToolbar.pro
- vpiToolbar
- (65.73 KiB) Downloaded 1574 times
Regards Thomas Linder Puls
PDC
PDC
-
- VIP Member
- Posts: 57
- Joined: 11 Jul 2002 23:01
Re: invalidating the treeControl after minimizing the application
Hello Thomas,
Wonderful
I tested it also in my own program and it works.
Thanks very much.
Kind regards,
Ben
Wonderful

I tested it also in my own program and it works.
Thanks very much.
Kind regards,
Ben