Originally posted by: Wayne Gibson
Was wondering if you were going to do this with tutorial using the Visual Studio .NET 2003 IDE..
I am just getting into using ATL, finding it a little dauting.. And would like to use some of the wizards, to speed things up.. I also understand that ATL7 has lots of new features as well..
Thanks
Wayne
ReplyOriginally posted by: soni_sharad
This is a great article! The cleanliness and the code to perfection makes it even greater. I just wonder if why Microsft MSDN is not as clean and as straight forward as this. Just keep posting such articles.I think codeguru should inform to all its members whenever an article from this guru is posted.
ReplyOriginally posted by: Vipul Pathak
Hi !
Its was an Article I was looking for. It shows that without getting MESSUP with so much wizard generated code, how to write a clean, to the point Code, to create a COM Application. Thanks !
I have some problem ... Plz. Help !
Instead of writing a COM enabled EXE, I want to write an ActiveX. An ActiveX that is not Generated by Wizard, therefore unnecessary Code is not written. The OCX made by this, should be having this basic functionality -
1) It should contain a Combo Box, and nothing else.
2) The Combo should contain 3 Items, "RED"/"GREEN"/"BLUE".
3) It must Raise only an Event "Click()".
4) It can be placed on Web Page, or on a VB Form.
That's It ...
Thanks To All who can Help.
-Vipul ;
Originally posted by: steve
This tut is good... thanks. I want to be able to write an app which hosts several activex come objects (namely flash and wildtangent stuff), but I find myself so bogged down in message maps, inheritance, and esp. templates that I am getting nowhere fast. I really just want to give up.
I find ATL, with all the weird template suntax and inheritance to still be too much of an effort to actually learn and use. How did we get to a point where we are forced to write code that is this convoluted? Where are we going with this? I will tell you where... to a self created purgatory of confusing, hard-to-follow code that only seems to get more and more complicated as the years go by.
A plea to the teeming masses: don't bother replying to this post with some lies about how 'easy' atl is to use... you are only serving your own egos with such gobblitygook.
But... if anyone out there can suggest a good book or online tutorial that takes a non-mfc type through creating and hosting multiple activex objects with events, etc. Please reply with a specific url or what have you.
ReplyOriginally posted by: Marat Nepomnyashy
C:\tmp\CodeGuru2\CodeGuru2.idl(2) : error MIDL2079 : no [uuid] specified : [ Library 'SomethingOrOther' ]
Something about the idl file.
Any suggestions?
Sincerely,
I've named the workspace 'CodeGuru2' and saved it to directory 'C:\tmp\CodeGuru2'.
The following error is generated during the build process:
Marat Nepomnyashy
Originally posted by: Hyuho Kim
Hi.
I want to use CAxWindow::CreateControl() method.
But it occured link error always.
Do anyone solve this problem, or other ways?
Thank you.
bye
Originally posted by: kiru
Hi,
I am new ATL. I have composite control created using ATL.
Its a dll..which is getting loaded in to an MFC document.
It has lot of flickering. I noticed the ATL class registered has a name "ATL:0312A2C0" and has class styles.. CS_VREDRAW, CS_HREDRAW b'couse of which the ctrl flickers.
I wanted to remove those styles..I don't know how to use DECLARE_WND_CALLS_EX in this composite control..
I need help..
ThanX in advance
Kiru
Originally posted by: Krishnan
Greeting,
Menu has been added to the window,But how do you show a short-cut menu or a dynamic menu.
User will rightclick and I have to display a Menu.How is that done.
ReplyOriginally posted by: Bo
Hi
Its a really interesting article. I've read it
a couple of times now, and even played around
with the code.
I was just wondering how to create a atl window
with a WS_EX_TOOLWINDOW | WS_EX_TOPMOST style ??
No matter what i do, it wont work. It compiles just
fine, but the window wont stay on top and also
the toolwindow style failes. It is almost like it is
completely ignoring those styles.
any help ??
tx,
bo
Originally posted by: bob
Looks really interesting, what is the best book to read if I am interesting in windows development with ATL? I have a background in C/C++/Win 32/MFC so I know most of the basics... any suggestions?
Reply