Loading an Icon to a Button from a local directory in runtime
-
Hello Guys.. This is hari..i need some help regarding VC++...the problem iam not able to load an icon to a button in App Runtime..ie. iam selecting an icon in the App and it is loaded on the Button...guys help me to come out of it Thanks in Advance.. Hariharan.S.N
-
Hello Guys.. This is hari..i need some help regarding VC++...the problem iam not able to load an icon to a button in App Runtime..ie. iam selecting an icon in the App and it is loaded on the Button...guys help me to come out of it Thanks in Advance.. Hariharan.S.N
use LoadImage and set the fuload to LR_LOADFROMFILE The World is getting smaller and so are the people.
-
Hello Guys.. This is hari..i need some help regarding VC++...the problem iam not able to load an icon to a button in App Runtime..ie. iam selecting an icon in the App and it is loaded on the Button...guys help me to come out of it Thanks in Advance.. Hariharan.S.N
I think ur problem is loading icons (or images) at runtime, from files. MFC 7.0 solves this problem with CImage class, check the docs for details. U can also search this site. There are button classes here that u can use instead. What would life be without programmers and salesmen?