Click here to Skip to main content
15,911,762 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
Questionwin32 version of rand() ? Pin
Member 56966976-Dec-08 4:29
Member 56966976-Dec-08 4:29 
AnswerRe: win32 version of rand() ? Pin
Michael Dunn7-Dec-08 20:34
sitebuilderMichael Dunn7-Dec-08 20:34 
QuestionHow to use the Aggregate COM object in client application Pin
KASR14-Dec-08 23:28
KASR14-Dec-08 23:28 
QuestionHow to create composite control Pin
KASR12-Dec-08 18:57
KASR12-Dec-08 18:57 
AnswerRe: How to create composite control Pin
Stuart Dootson2-Dec-08 22:12
professionalStuart Dootson2-Dec-08 22:12 
GeneralRe: How to create composite control Pin
KASR13-Dec-08 0:30
KASR13-Dec-08 0:30 
QuestionGetting to Parent frame window from view Pin
rajas30-Nov-08 19:31
rajas30-Nov-08 19:31 
AnswerRe: Getting to Parent frame window from view Pin
Michael Dunn5-Dec-08 15:38
sitebuilderMichael Dunn5-Dec-08 15:38 
rajas wrote:
I need to call routines from the parent window & casting GetParent() to the parent frame class does not work


A CWindow is just an HWND wrapper. Since you need the actual frame window object, you'll need to write your own accessor to get to it, similar to how MFC has AfxGetApp() that provides access to the one global CWinApp object. In simple projects, I just create a global CMainFrame* g_pMainWnd; and call it good. Smile | :)


--Mike--
Visual C++ MVP Cool | :cool:
LINKS~! CP SearchBar v3.0 | C++ Forum FAQ

"That's what's great about doing user interface work. No matter what you do, people will say that what you did was idiotic." -- Raymond Chen

GeneralRe: Getting to Parent frame window from view Pin
rajas7-Dec-08 6:40
rajas7-Dec-08 6:40 
GeneralRe: Getting to Parent frame window from view Pin
Michael Dunn7-Dec-08 20:34
sitebuilderMichael Dunn7-Dec-08 20:34 
QuestionChanges in ATL Headers to make it DEP compatible on Win Vista Pin
dolly25-Nov-08 1:38
dolly25-Nov-08 1:38 
AnswerRe: Changes in ATL Headers to make it DEP compatible on Win Vista Pin
Jörgen Sigvardsson5-Dec-08 23:30
Jörgen Sigvardsson5-Dec-08 23:30 
QuestionGood oppotunity! ! ! Pin
pandapam24-Nov-08 15:50
pandapam24-Nov-08 15:50 
AnswerRe: Good oppotunity! ! ! Pin
King_jinjing2-Dec-08 23:25
King_jinjing2-Dec-08 23:25 
QuestionHow to load BHO DLL only with Window Explorer [modified] Pin
sweetier20-Nov-08 2:14
sweetier20-Nov-08 2:14 
AnswerRe: How to load BHO DLL only with Window Explorer Pin
cdpc25-Nov-08 21:05
cdpc25-Nov-08 21:05 
GeneralRe: How to load BHO DLL only with Window Explorer Pin
rhmitul5-Jan-12 4:58
rhmitul5-Jan-12 4:58 
AnswerRe: How to load BHO DLL only with Window Explorer Pin
Michael Dunn5-Dec-08 15:43
sitebuilderMichael Dunn5-Dec-08 15:43 
Questioncalling c# com from c++ using ATL Pin
Liat Even17-Nov-08 3:36
Liat Even17-Nov-08 3:36 
AnswerRe: calling c# com from c++ using ATL Pin
Stuart Dootson17-Nov-08 6:11
professionalStuart Dootson17-Nov-08 6:11 
GeneralRe: calling c# com from c++ using ATL Pin
Liat Even17-Nov-08 8:04
Liat Even17-Nov-08 8:04 
GeneralRe: calling c# com from c++ using ATL Pin
led mike17-Nov-08 9:23
led mike17-Nov-08 9:23 
GeneralRe: calling c# com from c++ using ATL Pin
Stuart Dootson17-Nov-08 12:09
professionalStuart Dootson17-Nov-08 12:09 
QuestionProblem in using _int64 as the key of STL hash_map : error C2064: term does not evaluate to a function Pin
abdulhameedutmanzai15-Nov-08 7:05
abdulhameedutmanzai15-Nov-08 7:05 
AnswerRe: Problem in using _int64 as the key of STL hash_map : error C2064: term does not evaluate to a function Pin
Stuart Dootson17-Nov-08 0:04
professionalStuart Dootson17-Nov-08 0:04 

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.