Click here to Skip to main content
15,907,225 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralStatus Bars Pin
antareus28-Apr-04 16:49
antareus28-Apr-04 16:49 
GeneralRe: Status Bars Pin
nalenb29-Apr-04 15:29
nalenb29-Apr-04 15:29 
GeneralRe: Status Bars Pin
antareus30-Apr-04 0:26
antareus30-Apr-04 0:26 
GeneralATL Out-Of-Proc Server Hangs During Registion Pin
Michael Bergman28-Apr-04 8:24
Michael Bergman28-Apr-04 8:24 
GeneralWTL OnFinalMessage(){ delete this; } Pin
AstroDogDog27-Apr-04 13:36
AstroDogDog27-Apr-04 13:36 
GeneralRe: WTL OnFinalMessage(){ delete this; } Pin
Michael Dunn29-Apr-04 18:34
sitebuilderMichael Dunn29-Apr-04 18:34 
GeneralRe: WTL OnFinalMessage(){ delete this; } Pin
AstroDogDog6-May-04 12:32
AstroDogDog6-May-04 12:32 
GeneralRe: WTL OnFinalMessage(){ delete this; } Pin
Solomon_III8-May-04 5:10
Solomon_III8-May-04 5:10 
This may be a bug of ATL in VC6 and it will not apply to VS.NET.
See CWindowImplBaseT::WindowProc for details.

//Sample code of ATLWin.h in VC6
////////////////////////////////////////////////////////////
if(!bHandled) {
lRes = ::DefWindowProc(pThis->hWnd, uMsg, wParam, lParam);
if(uMsg == WM_NCDESTROY)
{
HWND hWnd = pThis->hWnd;
pThis->hWnd = NULL;
//clean up after window is destroyed
pThis->OnFinalMessage(hWnd);
}
}

//Sample codes of ATLWin.h in VC7
//////////////////////////////////////////////
if(!bHandled){
lRes = ::DefWindowProc(pThis->m_hWnd, uMsg, wParam, lParam);
if(uMsg == WM_NCDESTROY) {
// mark window as destryed
pThis->m_dwState |= WINSTATE_DESTROYED;
}
}

if((pThis->m_dwState & WINSTATE_DESTROYED) && pThis->m_pCurrentMsg == NULL)
{
HWND hWnd = pThis->m_hWnd;
pThis->m_hWnd = NULL;
pThis->m_dwState &= ~WINSTATE_DESTROYED;
pThis->OnFinalMessage(hWnd);
}
GeneralRe: WTL OnFinalMessage(){ delete this; } Pin
AstroDogDog20-May-04 8:58
AstroDogDog20-May-04 8:58 
GeneralWTL 7.1 from Microsoft here Pin
TW26-Apr-04 22:33
TW26-Apr-04 22:33 
GeneralRe: WTL 7.1 from Microsoft here Pin
Jörgen Sigvardsson2-May-04 6:32
Jörgen Sigvardsson2-May-04 6:32 
GeneralRe: WTL 7.1 from Microsoft here Pin
TigerNinja_6-May-04 7:42
TigerNinja_6-May-04 7:42 
GeneralICallFactory forward declaration not resolved Pin
shahzi25-Apr-04 20:42
shahzi25-Apr-04 20:42 
QuestionUsing CSplitterWindow with MFC? Pin
Roozbeh6923-Apr-04 21:45
professionalRoozbeh6923-Apr-04 21:45 
Generalgetting Interface pointer for control created by AtlAxCreateControl Pin
Abhi Lahare22-Apr-04 19:40
Abhi Lahare22-Apr-04 19:40 
GeneralRe: getting Interface pointer for control created by AtlAxCreateControl Pin
f6426-Apr-04 12:48
f6426-Apr-04 12:48 
GeneralMail Filter Pin
Leandro H. Delamare22-Apr-04 17:53
Leandro H. Delamare22-Apr-04 17:53 
QuestionMessage for invisible control ? Pin
Sebastian S.22-Apr-04 3:34
Sebastian S.22-Apr-04 3:34 
AnswerRe: Message for invisible control ? Pin
f6422-Apr-04 15:09
f6422-Apr-04 15:09 
GeneralRe: Message for invisible control ? Pin
Sebastian S.22-Apr-04 22:14
Sebastian S.22-Apr-04 22:14 
GeneralRe: Message for invisible control ? Pin
f6423-Apr-04 13:30
f6423-Apr-04 13:30 
GeneralRe: Message for invisible control ? Pin
Sebastian S.25-Apr-04 22:13
Sebastian S.25-Apr-04 22:13 
Generalhuge time difference between 1st and 2nd run of VC++ dynamic dll Pin
apratimg21-Apr-04 21:14
sussapratimg21-Apr-04 21:14 
GeneralRe: huge time difference between 1st and 2nd run of VC++ dynamic dll Pin
Dudi Avramov22-Apr-04 3:55
Dudi Avramov22-Apr-04 3:55 
QuestionNo Windows messages in ATL 7 ??? Pin
divinxu21-Apr-04 13:39
divinxu21-Apr-04 13:39 

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.