As per your query,
In the present situation of law, a woman does not have any right or claim over the ancestral property. Only coparceners of a Hindu joint family (Mitakshra) are entitled to inherit ancestral property. Because the wife is not a coparcener, she has no right or title to the ancestral property. However, the wife has the right to be maintained for life out of the joint family property.
Section 18 of the Hindu Adoptions and Maintenance Act, provides for the wife to be maintained by her husband during her lifetime. Section 19, on the other hand, speaks of the right of maintenance of a widowed daughter-in-law by her father-in-law. The wife has no such right to enjoy joint Hindu property, as enjoyed by the other relatives of the husband.
Hindu law does not grant any rights to wives in marital property. The wife will only have rights in case of inheritance. On divorce, the right to inheritance disappears.
Your wife cannot claim a flat as compensation. However, she has the right to be maintained.
Hope it helps,