Mate, if you consider that right as per those conditions then you have no right even today to call the foreign invasion on any land wrong. This is the human conscious I am talking about. You are a hypocrite if you claim what Ghaznavi or Ghori did was right and what USA is doing in Afghanistan today is wrong. I hope you understand the human conscious. History is very cruel. It tells very clearly as to what in his heart when he was invading India and it was not for glory of Islam. Quid-e-Azam did his political struggle.. don't start comparing apples and oranges now, just for the sake of response.
Anyways, my point is that ... In Ghaznavi or Ghori.. there is nothing for Muslims of Subcontinent to be proud of!