Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / IDE / February 2005

Tip: Looking for answers? Try searching our database.

icons for dialog based MFC app

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Roger - 22 Feb 2005 18:09 GMT
I have developed only one graphical app using the VS6 IDE.  I would now like
to develop an app using VS.NET.  In both cases the apps are dialog based so I
used the wizard to specify a C++ MFC SDI app with a dialog starting class.  
Among the resources the VS6 wizard created was an icon resource that had both
16x16 and 32x32 images that are used in various contexts.  When I use the
wizard in the same way in VS.NET, the icon resource only has a 32x32 image.  
I believe a 16x16 image is needed, e.g. small icon view and icon in upper
left of main window, but I can find no way to expand the icon resource to
multiple images.  I've also heard that 48x48 icons are used by XP so perhaps
I need 3 icons.  How do I provide these multiple icon images?
David Lowndes - 23 Feb 2005 07:57 GMT
>When I use the
>wizard in the same way in VS.NET, the icon resource only has a 32x32 image.  

Roger,

Check the Image menu -> Current Icon Image Types, and New Image Types
menu items.

Dave
Signature

MVP VC++ FAQ: http://www.mvps.org/vcfaq

Roger Levy - 23 Feb 2005 17:53 GMT
Thanks.  I think I was confused by the large number of image types.  In VS6
exactly two image types are created by the wizard.  With VS.NET I got 9 types
plus a menu item for "more icons."  In order to insure that my custom icon is
always seen instead of the default MFC icon, do I need to replace all 9 image
types that were created by the wizard?  Also how do I systematically get to see
all the image types in the context they are used so that I can be satisfied with
their appearance?

Roger

> >When I use the
> >wizard in the same way in VS.NET, the icon resource only has a 32x32 image.
[quoted text clipped - 7 lines]
> --
> MVP VC++ FAQ: http://www.mvps.org/vcfaq

Signature

Change "3e" in my address to "eee"

David Lowndes - 23 Feb 2005 20:09 GMT
>In order to insure that my custom icon is
>always seen instead of the default MFC icon, do I need to replace all 9 image
>types that were created by the wizard?

Apparently, but to be honest I've only ever used 16x16 and 32x32 16
colour icons in my apps - I've not got the patience or ability to
create more.

The articles titled "New Graphical Interface: Enhance Your Programs
with New Windows XP Shell Features" and "Creating Windows XP Icons" on
MSDN does mention 9 icons and places where some are used.

Dave
Signature

MVP VC++ FAQ: http://www.mvps.org/vcfaq


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.