I have created a Dialog box with Buttons ..I want to load Bitmap on the buttons .We can accomplish this task in two ways one is declare the Button as CButton member variable & use the CBUtton functions & other way is declare local CButton variable & using (CButton*)GetDlgItem(<ID of button&gt.Which method is the best solution .. Please give me the reason why

Thanx
kiran