Forum   Search   Register   Log in SUPERJER FORA
 

C++ Image

Pages: [1]
Programming Help
sprinkles

Chrome Whore
2009 Sep 6 • 2480
10 ₧
So how do I properly set the img of a C++ winforms app?

It only shows the icon on the executable and the form, not in the taskbar!?
C++ code
wincl.hIconSm = (HICON)LoadImage(GetModuleHandle(NULL),
MAKEINTRESOURCE(IDI_MYICON), IMAGE_ICON, 16, 16, 0);
...then I got some ap, and shot a big ass lazar at everyone.
    2010 Oct 25 at 16:30
superjer
superjer

2005 Mar 20 • 3762
I looked around and there's not much information about using C++ and Winforms together, at all. It's kind of an odd combo, you know.

What version of Visual Studio are you using? VS2010 has improved support for this kind of stuff.

The most proper way to do it would not be in code but as a property of your application/forms somewhere. Unfortunately I do not know where this is.
    2010 Oct 25 at 17:04
sprinkles

Chrome Whore
2009 Sep 6 • 2480
10 ₧
You confused me. But, it doesn't matter because I fixed it. Anyways, I use devC++ compiler. What is the recommended way to make window's forms?
...then I got some ap, and shot a big ass lazar at everyone.
    2010 Oct 25 at 19:27
superjer
superjer

2005 Mar 20 • 3762
Most people using Winforms use C# or VB.NET with Visual Studio. If you use other languages/tools there's not as much helpful information.

I'm not saying you should switch, just what to expect.
    2010 Oct 26 at 17:37
sprinkles

Chrome Whore
2009 Sep 6 • 2480
10 ₧
How hard is it to make your own forms?
...then I got some ap, and shot a big ass lazar at everyone.
    2010 Oct 27 at 21:42
phoenix_r

2009 May 13 • 623
17 ₧
sprinkles said:
How hard is it to make your own forms?

Hard enough that M$ developed a very expensive IDE to do all the work for you?
    2010 Oct 28 at 09:08
sprinkles

Chrome Whore
2009 Sep 6 • 2480
10 ₧
phoenix_r said:
sprinkles said:
How hard is it to make your own forms?

Hard enough that M$ developed a very expensive IDE to do all the work for you?

I thought you had to use the .Net framework then?
...then I got some ap, and shot a big ass lazar at everyone.
    2010 Oct 28 at 10:55

Pages: [1]
Forum and design copyright © 2008-2010 SuperJer.com