Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

File Icon (dialog-based appl) 1

Status
Not open for further replies.

zigular

Technical User
Jun 29, 2004
18
DE
hello,

i write some data in my dialog-based application into a self-defined videostream. how i can define the icon for these files simply declared as iostreams?!

i've already created the icon file and put it into the \res folder. but how i connected the stream with the icon?!

many thanx
hilmar
 
If you're using MFC, set up your resources and document template correctly, and then simply call CWinApp::RegisterShellFileTypes() from the constructor of your CWinApp-based application class.
 
hi teriviret! thank you for your reply, but can you give me a bid more details please? which templates for res/doc? and where i can find them? perhaps you can also give me a little example for the correct call in the contructor. cheers hilmar
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top