Click here to Skip to main content
16,010,351 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralMDI Child Window Pin
Jamie Nordmeyer8-Sep-00 7:46
Jamie Nordmeyer8-Sep-00 7:46 
GeneralRe: MDI Child Window Pin
Sam Hobbs8-Sep-00 8:34
Sam Hobbs8-Sep-00 8:34 
GeneralRe: MDI Child Window Pin
Jamie Nordmeyer8-Sep-00 8:44
Jamie Nordmeyer8-Sep-00 8:44 
GeneralRe: MDI Child Window Pin
Jamie Nordmeyer8-Sep-00 8:49
Jamie Nordmeyer8-Sep-00 8:49 
GeneralRe: MDI Child Window Pin
Sam Hobbs8-Sep-00 9:01
Sam Hobbs8-Sep-00 9:01 
GeneralDll programming... Linker Error Pin
thedogbear8-Sep-00 5:52
thedogbear8-Sep-00 5:52 
GeneralRe: Dll programming... Linker Error Pin
Chris Meech8-Sep-00 8:09
Chris Meech8-Sep-00 8:09 
GeneralCListViewCtrl (ATL) Pin
Chris B.8-Sep-00 5:00
Chris B.8-Sep-00 5:00 
I have been trying to use the CListViewCtrl from "atlcontrols.h". In my class Ihave this:

CContainedWindowT<atlcontrols::clistviewctrl> m_InfoList;

Now this compiles just find and as far as I know this sould work. Now in my .cpp file I create the control by doing this.

// Initialize the CListViewCtrl
RECT Rect = {100, 100, 200, 200};
m_InfoList.Create (m_hWnd, Rect, "VersionInfoList", WS_CHILD);
m_InfoList.SetExtendedStyle (LVS_EX_GRIDLINES);
m_InfoList.ShowWindow (SW_SHOW);

This is where the problem occurs. I get an error (C2664) stating that my first parameter "m_hWnd" cannot be converted to an ATL::MessageMap. What am I doing wrong here? Any help on this would be great.

Thanks
GeneralRe: CListViewCtrl (ATL) Pin
Chris B.8-Sep-00 5:02
Chris B.8-Sep-00 5:02 
Generalsecond SelectObject crashs Pin
real name8-Sep-00 3:45
sussreal name8-Sep-00 3:45 
GeneralRe: second SelectObject crashs Pin
real name21-Sep-00 3:20
sussreal name21-Sep-00 3:20 
GeneralSendKeys Pin
Mustafa Demirhan8-Sep-00 2:07
Mustafa Demirhan8-Sep-00 2:07 
GeneralRe: SendKeys Pin
Remus Lazar8-Sep-00 2:54
Remus Lazar8-Sep-00 2:54 
GeneralRe: SendKeys Pin
Paolo Messina8-Sep-00 8:05
professionalPaolo Messina8-Sep-00 8:05 
GeneralRe: SendKeys Pin
Michael Dunn8-Sep-00 8:11
sitebuilderMichael Dunn8-Sep-00 8:11 
GeneralModeless dialog Pin
Mustafa Demirhan8-Sep-00 2:02
Mustafa Demirhan8-Sep-00 2:02 
GeneralRe: Modeless dialog Pin
Remus Lazar8-Sep-00 2:51
Remus Lazar8-Sep-00 2:51 
GeneralRe: Modeless dialog Pin
Michael Dunn8-Sep-00 8:15
sitebuilderMichael Dunn8-Sep-00 8:15 
GeneralRe: Modeless dialog Pin
Philip Nicoletti8-Sep-00 3:00
Philip Nicoletti8-Sep-00 3:00 
GeneralRe: Modeless dialog Pin
Sam Hobbs8-Sep-00 8:42
Sam Hobbs8-Sep-00 8:42 
GeneralRe: Modeless dialog Pin
Sam Hobbs8-Sep-00 8:49
Sam Hobbs8-Sep-00 8:49 
QuestionHow to catch keyboard and mouse events of all windows? Pin
Mustafa Demirhan8-Sep-00 1:14
Mustafa Demirhan8-Sep-00 1:14 
AnswerRe: How to catch keyboard and mouse events of all windows? Pin
Remus Lazar8-Sep-00 2:59
Remus Lazar8-Sep-00 2:59 
GeneralRe: How to catch keyboard and mouse events of all windows? Pin
Sam Hobbs8-Sep-00 8:52
Sam Hobbs8-Sep-00 8:52 
AnswerRe: How to catch keyboard and mouse events of all windows? Pin
Jamie Nordmeyer8-Sep-00 7:44
Jamie Nordmeyer8-Sep-00 7:44 

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.