Click here to Skip to main content
15,909,822 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: List control window Pin
Alberto Giannetto15-Aug-02 4:44
Alberto Giannetto15-Aug-02 4:44 
GeneralRe: List control window Pin
Steen Krogsgaard15-Aug-02 4:35
Steen Krogsgaard15-Aug-02 4:35 
GeneralRe: List control window Pin
Shay Harel15-Aug-02 4:43
Shay Harel15-Aug-02 4:43 
GeneralRe: List control window Pin
Steen Krogsgaard15-Aug-02 4:49
Steen Krogsgaard15-Aug-02 4:49 
GeneralRe: List control window Pin
Shay Harel15-Aug-02 4:49
Shay Harel15-Aug-02 4:49 
GeneralRe: List control window Pin
Steen Krogsgaard15-Aug-02 4:54
Steen Krogsgaard15-Aug-02 4:54 
GeneralRe: List control window Pin
Idefix15-Aug-02 5:14
Idefix15-Aug-02 5:14 
GeneralRe: List control window Pin
Idefix15-Aug-02 21:44
Idefix15-Aug-02 21:44 
suggestion

CErrReportListCtrl:public CListCtrl
{

};

CErrReport:public CWnd
{
private:
CErrReportListCtrl m_ListCtrl;

public:
CErrReport(CWnd* pParent,CRect& r=CRect(0,0,200,200))
{
Create(pParent,r);
}
void Create(CWnd* pParent,CRect& r)
{
Create(WS_OVERLAPPED|..,...,r,pParent,..);
m_ListCtrl.Create(WS_CHILD|WS_VISIBLE|..,.....,this,1);
}
void OnSize(nType, cx, cy)
{
//Maybe
if(GetSafeWnd()!=NULL)
m_ListCtrl.MoveWindow (0, 0, cx, cy);
}
};


CErrReport *p= new CErrReport(this);


The Listctrl is nested in the CWnd

GeneralRe: List control window Pin
Shay Harel16-Aug-02 3:35
Shay Harel16-Aug-02 3:35 
GeneralWindows msg handlers Pin
Anonymous15-Aug-02 4:22
Anonymous15-Aug-02 4:22 
GeneralRe: Windows msg handlers Pin
Tomasz Sowinski15-Aug-02 4:31
Tomasz Sowinski15-Aug-02 4:31 
GeneralRe: Windows msg handlers Pin
Anonymous15-Aug-02 4:54
Anonymous15-Aug-02 4:54 
GeneralRe: Windows msg handlers Pin
Tomasz Sowinski15-Aug-02 4:57
Tomasz Sowinski15-Aug-02 4:57 
QuestionHow to get local path from a shared folder name? Pin
Tida15-Aug-02 4:13
Tida15-Aug-02 4:13 
AnswerRe: How to get local path from a shared folder name? Pin
Alberto Giannetto15-Aug-02 4:27
Alberto Giannetto15-Aug-02 4:27 
GeneralCompiling Visual C++ .NET projects from command line Pin
James Pullicino15-Aug-02 4:09
sussJames Pullicino15-Aug-02 4:09 
GeneralRe: Compiling Visual C++ .NET projects from command line Pin
Stuart Dootson15-Aug-02 11:05
professionalStuart Dootson15-Aug-02 11:05 
GeneralLogon script and dial up Pin
Alberto Giannetto15-Aug-02 3:45
Alberto Giannetto15-Aug-02 3:45 
Generalstaement executes once then next time around -exception Pin
ns15-Aug-02 3:33
ns15-Aug-02 3:33 
GeneralRe: staement executes once then next time around -exception Pin
Ranjan Banerji15-Aug-02 3:37
Ranjan Banerji15-Aug-02 3:37 
GeneralRe: staement executes once then next time around -exception Pin
ns15-Aug-02 3:46
ns15-Aug-02 3:46 
GeneralRe: staement executes ...error checking doesnt report anything: Pin
ns15-Aug-02 3:41
ns15-Aug-02 3:41 
QuestionHow to set quota limits of disk in VC++ Pin
Tida15-Aug-02 3:00
Tida15-Aug-02 3:00 
GeneralRegistry script problem Pin
pankajdaga15-Aug-02 2:53
pankajdaga15-Aug-02 2:53 
GeneralRe: Registry script problem Pin
Jon Hulatt16-Aug-02 2:32
Jon Hulatt16-Aug-02 2:32 

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.