Click here to Skip to main content
15,917,971 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to stop resizng a window ,when it size excede the certain length Pin
doe8-Dec-99 15:39
doe8-Dec-99 15:39 
AnswerRE: How to stop resizng a window ,when it size excede the certain length Pin
Member 10549-Dec-99 1:36
Member 10549-Dec-99 1:36 
AnswerRE: How to stop resizng a window ,when it size excede the certain length Pin
Mike Dunn9-Dec-99 11:15
Mike Dunn9-Dec-99 11:15 
QuestionHow do I extract drive name from file path? Pin
Dean Edmonds8-Dec-99 12:50
sussDean Edmonds8-Dec-99 12:50 
AnswerRE: How do I extract drive name from file path? Pin
Al8-Dec-99 17:26
Al8-Dec-99 17:26 
AnswerRE: How do I extract drive name from file path? Pin
Chris Scott10-Dec-99 6:08
Chris Scott10-Dec-99 6:08 
GeneralATL and backgroud image Pin
Djibril8-Dec-99 12:18
professionalDjibril8-Dec-99 12:18 
GeneralRE: ATL and backgroud image Pin
Alex Gorev9-Dec-99 3:50
Alex Gorev9-Dec-99 3:50 
Hi!

There is no any problems of using the AtlComPtrAssign() method if you are creating the ATL project using MSVC wizard (I've tried it). If you are adding ATL support to an existing MFC application you can follow this steps:

1. From ClassView, select the project to
which you want to add ATL support, and
click the right mouse button.

2. From the popup menu, click New ATL Object.

3. When prompted, click Yes to add ATL support.

4. From the ATL Object Wizard dialog, select
the object you want to add.

Note If you only want ATL support without adding any
ATL objects, click Cancel in the ATL Object Wizard.

Good luck,
Alex Gorev,
Dundas Software.

==================
The original message was:

Hello,
I am trying to add a background image to a control. I was trying to use Mihai Filimon's method (see Adding background image to any control) but I am have 3 link errors, live "unresolved external... AtlComPtrAssign(..) ). I added atl.lib to my project settings. Is there any other thing I might have forgotten to do?
Thank you.
GeneralATL Exe Server Problem Pin
Member 103121488-Dec-99 8:36
Member 103121488-Dec-99 8:36 
GeneralRE: ATL Exe Server Problem Pin
Alex Gorev8-Dec-99 9:06
Alex Gorev8-Dec-99 9:06 
Generalchars above 127 not geting printed Pin
dharam8-Dec-99 0:01
dharam8-Dec-99 0:01 
GeneralRE: chars above 127 not geting printed Pin
Gary Menzel8-Dec-99 12:34
Gary Menzel8-Dec-99 12:34 
GeneralRE: RE: chars above 127 not geting printed Pin
dharam9-Dec-99 1:28
dharam9-Dec-99 1:28 
GeneralCList with user defined type is not working Pin
Benedikt Eckhard7-Dec-99 7:04
sussBenedikt Eckhard7-Dec-99 7:04 
GeneralRE: CList with user defined type is not working Pin
Member 103121488-Dec-99 8:56
Member 103121488-Dec-99 8:56 
GeneralRE: RE: CList with user defined type is not working Pin
Member 103121488-Dec-99 23:36
Member 103121488-Dec-99 23:36 
GeneralRE: RE: RE: CList with user defined type is not working Pin
Benedikt Eckhard9-Dec-99 8:28
sussBenedikt Eckhard9-Dec-99 8:28 
GeneralDynamic CEdit Control Pin
Amit Engineer6-Dec-99 23:43
Amit Engineer6-Dec-99 23:43 
Generalmirror image of a page (problem) Pin
Anonymous6-Dec-99 20:58
suss Anonymous6-Dec-99 20:58 
Generalarray[-1] Pin
Zerg6-Dec-99 18:36
Zerg6-Dec-99 18:36 
GeneralRE: array[-1] Pin
Mike Dunn6-Dec-99 20:52
Mike Dunn6-Dec-99 20:52 
GeneralRE: array[-1] Pin
Jesse Ezell14-Dec-99 14:51
Jesse Ezell14-Dec-99 14:51 
QuestionDisk space lists: any examples? Pin
Dean Edmonds5-Dec-99 13:58
sussDean Edmonds5-Dec-99 13:58 
GeneralDevStudio: AddToolSettings not recognized Pin
Dean Edmonds5-Dec-99 13:38
sussDean Edmonds5-Dec-99 13:38 
QuestionCVS addin? Pin
George5-Dec-99 5:18
George5-Dec-99 5:18 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.