Click here to Skip to main content
15,890,845 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
AnswerRe: new to stl..please help Pin
Roger Stoltz6-Oct-06 5:02
Roger Stoltz6-Oct-06 5:02 
AnswerRe: new to stl..please help Pin
Rob Caldecott6-Oct-06 5:03
Rob Caldecott6-Oct-06 5:03 
GeneralRe: new to stl..please help Pin
George L. Jackson6-Oct-06 11:26
George L. Jackson6-Oct-06 11:26 
GeneralRe: new to stl..please help Pin
Anonymuos10-Oct-06 5:26
Anonymuos10-Oct-06 5:26 
GeneralRe: new to stl..please help Pin
Kevin McFarlane10-Oct-06 5:53
Kevin McFarlane10-Oct-06 5:53 
GeneralRe: new to stl..please help Pin
eusto12-Oct-06 9:02
eusto12-Oct-06 9:02 
GeneralRe: new to stl..please help Pin
Eytukan12-Oct-06 18:14
Eytukan12-Oct-06 18:14 
QuestionhInstance Pin
Demian Panello2-Oct-06 9:35
Demian Panello2-Oct-06 9:35 
Hi.

I'm writing an ATL control, (composite control), and handling some button message I need to load a cursor from resource. So I tried to use the API LoadCursor(hInstance, LPCTSTR lpCursorName) and I found that I need the instance of the control and I don't know where to find it.
With a regular MFC application I can call AfxGetApp()->m_hInstance but now it does'nt work in spite of my application class is derived from CWinApp because it support MFC.

So, how could I get the control hInstance needed for many API functions????

Thank you.

Demian.

"I have always wished that my computer would be as easy to use as my
telephone. My wish has come true. I no longer know how to use my telephone."

-Bjarne Stroustrup, computer science professor, designer of C++
programming language (1950- )

AnswerRe: hInstance Pin
Demian Panello2-Oct-06 9:44
Demian Panello2-Oct-06 9:44 
GeneralRe: hInstance Pin
Michael Dunn2-Oct-06 9:55
sitebuilderMichael Dunn2-Oct-06 9:55 
GeneralRe: hInstance Pin
Demian Panello2-Oct-06 10:20
Demian Panello2-Oct-06 10:20 
QuestionQuick way to generate C++ files from an IDL file Pin
TClarke2-Oct-06 6:07
TClarke2-Oct-06 6:07 
AnswerRe: Quick way to generate C++ files from an IDL file Pin
Steve S2-Oct-06 22:01
Steve S2-Oct-06 22:01 
AnswerRe: Quick way to generate C++ files from an IDL file Pin
Stuart Dootson2-Oct-06 22:42
professionalStuart Dootson2-Oct-06 22:42 
GeneralRe: Quick way to generate C++ files from an IDL file Pin
TClarke2-Oct-06 23:36
TClarke2-Oct-06 23:36 
GeneralRe: Quick way to generate C++ files from an IDL file Pin
Steve S3-Oct-06 2:29
Steve S3-Oct-06 2:29 
GeneralRe: Quick way to generate C++ files from an IDL file Pin
TClarke3-Oct-06 3:42
TClarke3-Oct-06 3:42 
GeneralRe: Quick way to generate C++ files from an IDL file Pin
Stuart Dootson3-Oct-06 3:53
professionalStuart Dootson3-Oct-06 3:53 
GeneralRe: Quick way to generate C++ files from an IDL file Pin
TClarke3-Oct-06 5:56
TClarke3-Oct-06 5:56 
GeneralRe: Quick way to generate C++ files from an IDL file Pin
Steve S3-Oct-06 6:04
Steve S3-Oct-06 6:04 
QuestionGetting HTML Eevents [modified] Pin
georgekjolly2-Oct-06 3:19
georgekjolly2-Oct-06 3:19 
AnswerRe: Getting HTML Eevents Pin
Stephen Hewitt2-Oct-06 6:00
Stephen Hewitt2-Oct-06 6:00 
GeneralRe: Getting HTML Eevents Pin
georgekjolly2-Oct-06 20:23
georgekjolly2-Oct-06 20:23 
Questionerror in compiling WTL Pin
manish19821-Oct-06 12:54
manish19821-Oct-06 12:54 
AnswerRe: error in compiling WTL Pin
Stuart Dootson1-Oct-06 20:43
professionalStuart Dootson1-Oct-06 20:43 

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.