|
Hi,
I have to make an COM component with ATL, that needs some fancy GUI interface, it seems that WTL is the best thing to develop something cute and lightweight, but.... I'm wondering... Why Microsoft doesn't support that ? Is there something wrong on there ? Would be a better idea to try to make it with .net framework and forget ATL ?
Thanks in advance, Greetings
Braulio
|
|
|
|
|
They never supported WTL.
Braulio Díez wrote:
Would be a better idea to try to make it with .net framework and forget ATL ?
The questions here are: do you use MS support? Will you use MS support?
How long does this project will last? If a long time project, IMHO, don't use WTL, or you'll be using VC 6.0 in your 22GHz 128-bit processor in 2008, running Microsoft Linux.
Q261186 - Computer Randomly Plays Classical Music
|
|
|
|
|
Yes you are right, now we in some part of the project tied up to the VS 6.0, I would'nt like to tie me up to that....
Thanks for the tip, greetings
Braulio
|
|
|
|
|
Eh? Misinformation! WTL isn't compiler specific so your comment about having to stick with VC6 is incorrect. WTL is a bunch of templates in header files - works fine in VC7 and there is no reason that it won't continue to work with future MS compilers. The guy is using ATL so WTL is surely the obvious choice for adding a GUI.
MS Linux. he he he.
Faith. Believing in something you *know* isn't true.
|
|
|
|
|
Robert Edward Caldecott wrote:
Eh? Misinformation! WTL isn't compiler specific so your comment about having to stick with VC6 is incorrect. WTL is a bunch of templates in header files - works fine in VC7 and there is no reason that it won't continue to work with future MS compilers.
Try to compile some old DOS C++ code with <iostreams.h> on VC7 to generate a console application and you'll soon understand what I meant. I did it last week. On the long term, unfortunately, if MS does not support WTL, it will fade away, and probably will not compile on VC12.0
Q261186 - Computer Randomly Plays Classical Music
|
|
|
|
|
Mmmm. As long as MS continues to support ATL (any reason why they would stop?) then there is no reason for WTL to stop working. And, looking at how rich ATL7 is, MS is still very much behind it...
Faith. Believing in something you *know* isn't true.
|
|
|
|
|
Why do you need MS support for it? You get all the source code so any bugs can be fixed yourself. WTL has a large user community who can help better than MS ever would. WTL is great for adding UI to ATL components.
Michael
"I've died for a living in the movies and tv.
But the hardest thing I'll ever do is watch my leading ladies,
Kiss some other guy while I'm bandaging my knee."
-- The Unknown Stuntman
|
|
|
|
|
Thanks but...
The main problem comes, if later I have to port the project to Visual Studio 7 ....
Braulio
|
|
|
|
|
Braulio Díez wrote:
The main problem comes, if later I have to port the project to Visual Studio 7 ....
WTL works just as well in Visual Studio 7, I use it all the time!
--
Simon Steele
Programmers Notepad - http://www.pnotepad.org/
|
|
|
|
|
There are two versions of WTL, 3.1 (which is easy to use with VC6, and has an AppWizard for it), and WTL 7, which is usable with both. I'd go for WTL 7, since there are appwizards for VC6 and VC.NET
Steve S
[This signature space available for rent]
|
|
|
|
|
I'm Making simple http server, and I don'ät know how to
transfer pictures from it. So does anybody know, how
to send those pictures to browser. Any example code or
article to read
Regards
Janne
|
|
|
|
|
Just add the right mimetype in your HTTP headers :
Content-Type: image/jpeg
How low can you go ? (MS rant)
|
|
|
|
|
We've created an application that uses Winsock API. Now i want to create a separate application that intercepts the Connect() call made by the first application, do something with this call and then pass the control to the original Connect() of the Winsock API.
Is this possible ? Is this the topic of API hooking ?? Is there any other altranative to achieve my goal ?? Is there any article or sample source concerning this topic of Winsock API interception, you aware of ???
|
|
|
|
|
It did that already a few times, it is possible, and: It is very easy to accomplish
I use the Microsoft Detours library for that purpose, although it has some limitiations in it license. Take a look at
http://research.microsoft.com/sn/detours/
The libarary has a few examples, and I learnt to use that library withinh a few minutes
regards
Greg
modified 12-Sep-18 21:01pm.
|
|
|
|
|
The link you provided is not correct. Can you provide the correct link???
|
|
|
|
|
I have a dialog in which when I call create i give it the this ptr. Then when I call GetParent() and try try to send it a message it goes to the MainFrm. Why is that? I thought the immediate parent would be the View?
Also, what would the parent of the view be?
Thanks. I am a little confused.
|
|
|
|
|
mainframe is default parent, u need to pass view as parent if u want it
includeh10
|
|
|
|
|
I write a program that contain a dialog.It's so easy to have a status bar in App based on SDI/MDI, but I don't know how to place a statusbar in a dialog form.
Could anyone tell me how ?
Thanks in advance!
NNH
|
|
|
|
|
|
i saved lparam and wparam values when a key
(say U)pressed on a perticuler edit box.
i want to use these values of lparam and wparam again on different edit box.in order to see that key
(say U) .
is that code is correct or not for that purpose?
is there any change in logic if yes then plz tell?
LPEVENTMSG lpEvent= (LPEVENTMSG)lParam;
PostMessage(different_hWnd,
lpEvent->message,wParam,lParam);
second edit box reside on different process.
r00d0034@yahoo.com
|
|
|
|
|
Hello,
I have a program works like windows explorer that contains a treeview and listview control. When I select an item a blue border will be marked to the selected item. If I select an item in the menu the blue border goes away because the control is losing focus. I noticed that Windows Explorer can keep the blue border in the folder pane and the file pane even a menu item is being selected so you know what item and control you're going to send command to like rename and delete. Do you know how to do it?
Thanks,
Hiu Sing Ngai
|
|
|
|
|
Try the Show Selection Always style...
"An expert is someone who has made all the mistakes in his or her field" - Niels Bohr
|
|
|
|
|
Even with the LVS_SHOWSELALWAYS style, the selection mark goes gray in color when you select a menu item.
|
|
|
|
|
Custom or ownerdraw my friend...
Have fun
"An expert is someone who has made all the mistakes in his or her field" - Niels Bohr
|
|
|
|
|
What the heck happens to scrollbars when you override this friggen function...?
They're obviosuly painted over or something cuz they disappear, but when I click anywhere near they were before...they magically start re-appearing only to get lost again when window is minimized or goes off screen...???
What the heck...? Do I have to draw my own scrollbars when I override OnNcPaint()
I also have overriden the following:
void CCustomList::OnNcCalcSize(BOOL bCalcValidRects, NCCALCSIZE_PARAMS FAR* lpncsp)
{
lpncsp->rgrc->left += 100;
CListBox::OnNcCalcSize(bCalcValidRects, lpncsp);
}
What is going on...?
Thanx!
"An expert is someone who has made all the mistakes in his or her field" - Niels Bohr
|
|
|
|