Click here to Skip to main content
16,011,447 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: _CrtIsValidHeapPtr Pin
Derek Lakin13-Sep-01 2:17
Derek Lakin13-Sep-01 2:17 
GeneralRe: _CrtIsValidHeapPtr Pin
Tomasz Sowinski13-Sep-01 2:28
Tomasz Sowinski13-Sep-01 2:28 
GeneralRe: _CrtIsValidHeapPtr Pin
Derek Lakin13-Sep-01 2:34
Derek Lakin13-Sep-01 2:34 
GeneralRe: _CrtIsValidHeapPtr Pin
Tomasz Sowinski13-Sep-01 2:45
Tomasz Sowinski13-Sep-01 2:45 
GeneralRe: _CrtIsValidHeapPtr Pin
Derek Lakin13-Sep-01 3:02
Derek Lakin13-Sep-01 3:02 
GeneralDialog Resizing Pin
13-Sep-01 1:34
suss13-Sep-01 1:34 
GeneralRe: Dialog Resizing Pin
Tomasz Sowinski13-Sep-01 2:04
Tomasz Sowinski13-Sep-01 2:04 
GeneralRe: Dialog Resizing Pin
13-Sep-01 3:10
suss13-Sep-01 3:10 
Sir,
Thanks for the reply...
I have used this flag while at the DoModal Time but its behaviour is same..

Also I have got some thing new as

CListCtrl* pLCtrl;
BOOL bWin2k = FALSE;
OSVERSIONINFO osvi;
osvi.dwOSVersionInfoSize = sizeof(osvi);

::GetVersionEx(&osvi);

if (osvi.dwPlatformId == VER_PLATFORM_WIN32_NT && osvi.dwMajorVersion == 5)
bWin2k = TRUE;

if (bWin2k)
{
CWnd *pWnd = GetParent()->GetDlgItem(lst2);
pLCtrl = (CListCtrl*)pWnd->GetDlgItem(1);
}
else
pLCtrl = (CListCtrl*)GetParent()->GetDlgItem(lst1);

return pLCtrl;

can u tell me sir why
pLCtrl = (CListCtrl*)pWnd->GetDlgItem(1);
is used..........

GeneralRe: Dialog Resizing Pin
Tomasz Sowinski13-Sep-01 3:17
Tomasz Sowinski13-Sep-01 3:17 
GeneralRe: Dialog Resizing Pin
13-Sep-01 4:14
suss13-Sep-01 4:14 
GeneralRe: Dialog Resizing Pin
Tomasz Sowinski13-Sep-01 4:28
Tomasz Sowinski13-Sep-01 4:28 
GeneralRe: Dialog Resizing Pin
13-Sep-01 2:15
suss13-Sep-01 2:15 
GeneralRe: Dialog Resizing Pin
13-Sep-01 3:17
suss13-Sep-01 3:17 
GeneralRe: Dialog Resizing Pin
13-Sep-01 3:25
suss13-Sep-01 3:25 
GeneralRe: Dialog Resizing Pin
13-Sep-01 4:04
suss13-Sep-01 4:04 
GeneralRe: Dialog Resizing Pin
13-Sep-01 3:28
suss13-Sep-01 3:28 
GeneralRe: Dialog Resizing Pin
#realJSOP13-Sep-01 5:00
professional#realJSOP13-Sep-01 5:00 
GeneralRe: Dialog Resizing Pin
Tomasz Sowinski13-Sep-01 5:38
Tomasz Sowinski13-Sep-01 5:38 
GeneralProblem with MSComm Ocx Pin
Patwa13-Sep-01 1:07
Patwa13-Sep-01 1:07 
GeneralExcel and VisualC++6.0 Pin
13-Sep-01 0:17
suss13-Sep-01 0:17 
GeneralRe: Excel and VisualC++6.0 Pin
Michael P Butler13-Sep-01 0:32
Michael P Butler13-Sep-01 0:32 
GeneralPrinter Selection Pin
12-Sep-01 23:48
suss12-Sep-01 23:48 
GeneralRe: Printer Selection Pin
Tomasz Sowinski13-Sep-01 1:56
Tomasz Sowinski13-Sep-01 1:56 
GeneralRe: Printer Selection Pin
13-Sep-01 4:41
suss13-Sep-01 4:41 
GeneralRe: Printer Selection Pin
Tomasz Sowinski13-Sep-01 4:46
Tomasz Sowinski13-Sep-01 4:46 

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.