I do agree, Canmore is lovely and if you have a car, or are on a budget a great choice.
If you will be car-less or money is no big deal then Banff is the way to go.
If you want a view in Banff you will be paying for it.
Most of the decent lodging is on the main road, but really your view is limited to the surrounding mountains or the street out front.
What price range are you looking at?
Do you have a vehicle?
It should be noted, Canmore gives more bang for your buck, but it -is- outside of the park so you would also have to factor in paying your entry fee and perhaps some wait times at the gates.
My personal favourites in Banff are #1 The Hidden Ridge Resort, fricking awesome fireplace in your living room!
It's like being in your very own place. (It would also fulfill your requirement of having a nice view, as it has great views)
#2 The Banff Caribou Lodge, again for fulfilling your requirements.