Deutsch
Germany.ruФорумы → Архив Досок→ Программирование

.ico и .bmp на кнопку CButton не одно и тоже?

12.10.07 09:15
Re: .ico и .bmp на кнопку CButton не одно и тоже?
 
Simple Nothing is f*cked
Simple
в ответ aifl 12.10.07 08:00
Мож это?
http://www.codeguru.com/cpp/controls/buttonctrl/article.php/c2057/
В ответ на:
For an icon, this is done with the often overlooked ::LoadImage function. ::LoadImage adds one necessary feature which the standard CWinApp::LoadIcon does not have. When loading the image from a resource, ::LoadImage will resize the icon to any width and height dimensions that you specify. CWinApp::LoadIcon will only load an icon to the sizes specified in the system metrics, which is usually 32x32. NOTE: The "View" and "Super View" icons above come from one 32x32 icon.

 

Перейти на