may be you need to pass the handle of the tree view window to the dialog box you create, either by sending a message or a member function call. In your dialog use the handle of the tree view to get a pointer to the tree view, and access it freely good luck, Mohammad Gdeisat And ever has it been that love knows not its own depth until the hour of separation