B
Byron
I have a window that displays text to the user. The text gets changed
when the WM_PAINT message comes through. The problem is that I'm
upgrading from NTE to XPE, NTE displayed the text without any problems.
With XPE, Windows adds the (Not Responding) message to the title bar
and I stop receiving the WM_PAINT message. Any bit of information will
be helpful. Thanks.
Here is the pertinent code
CreateWindow("SwUpgrade", tempBuf, WS_OVERLAPPED | WS_DLGFRAME,
WND_X_COORD, WND_Y_COORD, WND_WIDTH, WND_HEIGHT, NULL, NULL, NULL,
NULL);
ShowWindow(hWnd,SW_SHOWNORMAL);
ShowWindow(hWnd,SW_RESTORE);
ExtTextOut(hdc, // - handle to device context
dcRect.right/2,dcRect.top+23, // - reference point
ETO_OPAQUE | ETO_CLIPPED, // - text-output options
NULL, // - optional clipping and/or
opaquing rectangle
swupgdeObj.szBuff[1], // - points to string
strlen(swupgdeObj.szBuff[1]), // - number of characters in
string
NULL) // - pointer to array of
intercharacter spacing
when the WM_PAINT message comes through. The problem is that I'm
upgrading from NTE to XPE, NTE displayed the text without any problems.
With XPE, Windows adds the (Not Responding) message to the title bar
and I stop receiving the WM_PAINT message. Any bit of information will
be helpful. Thanks.
Here is the pertinent code
CreateWindow("SwUpgrade", tempBuf, WS_OVERLAPPED | WS_DLGFRAME,
WND_X_COORD, WND_Y_COORD, WND_WIDTH, WND_HEIGHT, NULL, NULL, NULL,
NULL);
ShowWindow(hWnd,SW_SHOWNORMAL);
ShowWindow(hWnd,SW_RESTORE);
ExtTextOut(hdc, // - handle to device context
dcRect.right/2,dcRect.top+23, // - reference point
ETO_OPAQUE | ETO_CLIPPED, // - text-output options
NULL, // - optional clipping and/or
opaquing rectangle
swupgdeObj.szBuff[1], // - points to string
strlen(swupgdeObj.szBuff[1]), // - number of characters in
string
NULL) // - pointer to array of
intercharacter spacing