Click here to Skip to main content
15,892,737 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
QuestionNested STL maps? Pin
dbunder9-Jun-04 16:00
dbunder9-Jun-04 16:00 
AnswerRe: Nested STL maps? Pin
10-Jun-04 4:10
suss10-Jun-04 4:10 
AnswerRe: Nested STL maps? Pin
Paul Ranson10-Jun-04 4:42
Paul Ranson10-Jun-04 4:42 
GeneralCreateImage problem in java Pin
sriamar8-Jun-04 6:19
sriamar8-Jun-04 6:19 
GeneralCSMTPConnection Authentication Pin
prasoon997-Jun-04 18:37
prasoon997-Jun-04 18:37 
GeneralRe: CSMTPConnection Authentication Pin
Mike Dimmick8-Jun-04 2:16
Mike Dimmick8-Jun-04 2:16 
GeneralSome WTL - to MFC conversion help Pin
Ajnstajn6-Jun-04 23:25
Ajnstajn6-Jun-04 23:25 
GeneralRe: Some WTL - to MFC conversion help Pin
Jason De Arte7-Jun-04 8:39
Jason De Arte7-Jun-04 8:39 
Ajnstajn wrote:
1. Tell me, or send me a good wtl tutorial

Check out Michael Dunn's excelent series of "WTL for MFC Programmers" articles http://codeproject.com/wtl/wtl4mfc1.asp[^]

Ajnstajn wrote:
GetStockFont(DEFAULT_GUI_FONT));

You could try AtlGetStockFont(DEFAULT_GUI_FONT); If you look at it's source in atlmisc.h, you see that it's just a wrapper for ::GetStockObject()

Ajnstajn wrote:
2.2.
What about this? :
CWnd* pWndOwner = GetOwner();
How should THIS ^ MFC line be written in WTL ?


Well looking at the MFC source (it's always a good thing to install the MFC source when installing devstudio - you'll never know what you'll learn) CWnd::GetOwner looks like this
_AFXWIN_INLINE CWnd* CWnd::GetOwner() const
	{ return m_hWndOwner != NULL ? CWnd::FromHandle(m_hWndOwner) : GetParent(); }

Depending on your situation, you could probably replace it with someing like
CWindow wndOwner = GetParent(). Presuming that you are in a CWindow object Wink | ;-)

Ajnstajn wrote:
'ASSERT': identifier not found
Use ATLASSERT


But seriously, check out Michael Dunn's articles, there all found in the WTL section here on CodeProject http://codeproject.com/wtl/index.asp#Beginners[^] You'll learn a lot.


[ Jason De Arte | Toy Maker | 1001010.com ]
Questionhow to read from or write to a file in c++? Pin
lzh086-Jun-04 15:21
lzh086-Jun-04 15:21 
AnswerRe: how to read from or write to a file in c++? Pin
Derick Cyril Thomas6-Jun-04 16:55
Derick Cyril Thomas6-Jun-04 16:55 
GeneralComposite and Builder Dessign Patterns Pin
Arun AC6-Jun-04 7:29
Arun AC6-Jun-04 7:29 
GeneralRe: Composite and Builder Dessign Patterns Pin
valikac6-Jun-04 12:47
valikac6-Jun-04 12:47 
GeneralMenu Ownerdraw and WindowFromDC Pin
Derick Cyril Thomas6-Jun-04 2:28
Derick Cyril Thomas6-Jun-04 2:28 
GeneralRe: Menu Ownerdraw and WindowFromDC Pin
Jason De Arte6-Jun-04 14:14
Jason De Arte6-Jun-04 14:14 
GeneralRe: Menu Ownerdraw and WindowFromDC Pin
Derick Cyril Thomas6-Jun-04 16:50
Derick Cyril Thomas6-Jun-04 16:50 
Questionhow to use WTL in other IDE,e.g bc++? Pin
lzh085-Jun-04 22:51
lzh085-Jun-04 22:51 
GeneralActiveXcontrol with directX in clientwindow , how prevent drawing background color Pin
Vliegenthart5-Jun-04 0:40
Vliegenthart5-Jun-04 0:40 
GeneralATL experts, help! Navigating to a new page in an ATL Active X control Pin
mcase4-Jun-04 22:44
mcase4-Jun-04 22:44 
GeneralRe: ATL experts, help! Navigating to a new page in an ATL Active X control Pin
Jason De Arte6-Jun-04 7:28
Jason De Arte6-Jun-04 7:28 
GeneralGreat advice! Pin
mcase6-Jun-04 22:45
mcase6-Jun-04 22:45 
GeneralTo clarify Pin
mcase6-Jun-04 22:50
mcase6-Jun-04 22:50 
GeneralRe: To clarify Pin
Jason De Arte7-Jun-04 8:24
Jason De Arte7-Jun-04 8:24 
GeneralProblem using CResizableFormView with MSFLEXGRID control! Pin
Nguyễn Thiện Nhẫn4-Jun-04 18:33
Nguyễn Thiện Nhẫn4-Jun-04 18:33 
Generalquery reg STL maps Pin
Member 11501763-Jun-04 23:32
Member 11501763-Jun-04 23:32 
GeneralRe: query reg STL maps Pin
Paul Ranson4-Jun-04 3:02
Paul Ranson4-Jun-04 3:02 

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.