My problem is that when I send a message A to a child window of my SDI application previous event like opening menu will be executed after this message A is handled.
Let me explain a bit more.
My SDI application looks like the Windows explorer. Two views within the mainframe. The left view is a tree view, the right view displays information about the selected item in the left view. The amount of items in the tree view could be huge so I decided not to build the whole tree at initialisation but only build the childs of an item when the user asks to expand this item. But since some items have many childs it still takes a while before the user gets the control back.
I thought about a solution to send a message to the tree view which will build X items and then send the same message again. With the idea that between these messages the mainframe could handle other events before the next message is handled.
But this does not work :-(
I also thought about a second thread which does the building-tree-job. But I am not sure (yet) how this should work since the view is part of the UI.
Do you have any ideas or comments which lead to a solution for my problem?
There are some guys who already did this for the tree control. However, I have never tried these controls, so your milage may vary.
Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.
Dialogs (2) modeless dialog and a worker thread. Handling data shared between threads. Recursive functions.
Continuing from the tenth article about sudoku.
Last article we worked with a modal dialog to help maintain informat…
If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard.
The reason is the 'save box mode' in adobe reader X.
Many people think the protected Mode of adobe reader x is only to stop the write access.
But this fe…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online.
The email signature template has been downloaded from: