Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.clipper.visual-objects > #9252
| From | Martin <Martin@spam.spam> |
|---|---|
| Newsgroups | comp.lang.clipper.visual-objects |
| Subject | Re: Closing a VO window crashes to Windows |
| Date | 2016-04-12 16:13 +0100 |
| Organization | A noiseless patient Spider |
| Message-ID | <nej34j$3a0$1@dont-email.me> (permalink) |
| References | <nefnqg$c3p$1@dont-email.me> <negc5u$n3p$1@dont-email.me> <neghfq$dvl$1@dont-email.me> <neikre$c6h$1@dont-email.me> |
OK more tests and I am getting really desperate now!!!!
Objects on the screen are being destroyed and the crash is between the
deep down dispatch code
CASE (oEvent:message == WM_CLOSE)
IF SELF:QueryClose(oEvent)
SELF:__Close(oEvent)
IF lQuitOnClose
PostQuitMessage(0)
ENDIF
ENDIF
//A debug is OK here and works
RETURN SELF:EventReturnValue
And a modified show where all super code is included in my class
IF SELF:lValidFlag
// From dataWindow:Show() & ChildAppWindow:Show()
IF !lSubForm
// Show oFormFrame as SHOWNORMAL in case data window is
//shown iconized
IF self:dwDialogStyle = 0 //SE-120204
IF (oImp != NULL_OBJECT)
RETURN oImp:Show(nShowState)
ENDIF
oFormFrame:Show(SHOWNORMAL)
ELSE // DataDialog
oFormFrame:Show(SHOWNORMAL)
SetFocus(oSurface:Handle())
IF (oImp != NULL_OBJECT)
// this place debug is OK
uVal := oImp:Show(nShowState)
// this place is not always reached
RETURN uVal
ENDIF
RETURN SELF
ENDIF
ELSE
oFormFrame:Show(nShowState)
ENDIF
oImp is of class __DDIMP if that is of any use
I have looked through the show code and cannot find where the dispatch
handler gets started and used, so do not know what line of code stops
until I hit escape
Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Closing a VO window crashes to Windows Martin <Martin@spam.spam> - 2016-04-11 09:42 +0100
Re: Closing a VO window crashes to Windows Martin <Martin@spam.spam> - 2016-04-11 15:29 +0100
Re: Closing a VO window crashes to Windows Carlos Rocha <j.carlos.rocha.1.SpyedBy@gmail.com> - 2016-04-11 17:00 +0100
Re: Closing a VO window crashes to Windows Martin <Martin@spam.spam> - 2016-04-12 12:09 +0100
Re: Closing a VO window crashes to Windows Martin <Martin@spam.spam> - 2016-04-12 16:13 +0100
Re: Closing a VO window crashes to Windows James Martin <james@northwoodlumber.com> - 2016-04-12 11:53 -0400
Re: Closing a VO window crashes to Windows Martin <Martin@spam.spam> - 2016-04-13 09:35 +0100
Re: Closing a VO window crashes to Windows Otto Christiaanse <ofchristiaanse@gmail.com> - 2016-04-12 23:58 -0700
Re: Closing a VO window crashes to Windows Martin <Martin@spam.spam> - 2016-04-13 09:29 +0100
Re: Closing a VO window crashes to Windows Martin <Martin@spam.spam> - 2016-04-28 11:11 +0100
csiph-web