That did it, thanks! I also noticed that if dynamically created forms are not created full size, then DIA would be disabled.
--Scott Thibault "Konstantin Klyatskin" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I had exactly the same problems. > > 1. Was fixed by changing arguments > WinSetConstraintsSize(WinGetWindowHandle(frmP), y, > pinMaxConstraintSize, pinMaxConstraintSize, x, x, pinMaxConstraintSize); > according to SampleCollapseDR3. > > 2. Was fixed by adding the second line to get correct extents > WinGetBounds(WinGetDisplayWindow(), &displayBounds); > WinGetDisplayExtent(&displayBounds.extent.x, &displayBounds.extent.y); > > All my DIA problems seem to go away. > > Though I still have the following problems (OS bugs?): > > 3. DmOpenDatabase(0,lid,dmModeReadOnly | dmModeLeaveOpen); > dmModeLeaveOpen flag does not work anymore for me. The database will be > closed on application exit. > > 4. WinGetBounds(WinGetDisplayWindow(),&display6); > wh6 = WinSaveBits(&display6,&winerr); > fails for window 320x480 with undocumented error code = 0xBEA0 > > 5. FindSaveMatch doesn't return TRUE ever and seems to overflow some > internal buffers occasionally.. > > -- > Konstantin > > > > "Scott Thibault" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > DIA seems to be disabled when we run our 68k application on the Cobalt > > simulator? Anyone else having problems? Works fine on the T3. > > > > Details: WinGetDisplay window returns the rectangle of the whole screen in > > frmLoadEvent; the input area seems to flash on the screen and then remains > > up; tapping the pen icon does nothing. Not only is the user prevented > from > > using the whole screen, but part of my screen is under the input area > > because WinGetDisplay returned the full screen area! > > > > --Scott Thibault > > > > > > > > > -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
