https://www.betaarchive.com/wiki/index.php?title=Microsoft_KB_Archive/69895&feed=atom&action=history
Microsoft KB Archive/69895 - Revision history
2024-03-28T21:04:46Z
Revision history for this page on the wiki
MediaWiki 1.39.3
https://www.betaarchive.com/wiki/index.php?title=Microsoft_KB_Archive/69895&diff=28170&oldid=prev
X010: 1 revision imported: importing part 1
2020-07-16T18:15:12Z
<p>1 revision imported: importing part 1</p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<tr class="diff-title" lang="en-GB">
<td colspan="1" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="1" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 18:15, 16 July 2020</td>
</tr><tr><td colspan="2" class="diff-notice" lang="en-GB"><div class="mw-diff-empty">(No difference)</div>
</td></tr></table>
X010
https://www.betaarchive.com/wiki/index.php?title=Microsoft_KB_Archive/69895&diff=28169&oldid=prev
X010: stage1
2020-07-16T17:46:48Z
<p>stage1</p>
<p><b>New page</b></p><div>{|<br />
|width="100%"|<br />
== PRB: Activating Full-Screen DOS App from Icon in Enhanced Mode ==<br />
|}<br />
<br />
Q69895<br />
<br />
<br />
-----<br />
<br />
The information in this article applies to:<br /><br />
<br />
<br />
* Microsoft Windows Software Development Kit (SDK) versions 3.0, 3.1<br />
<br />
<br />
-----<br />
<br />
<br /><br />
<br />
<br />
== SYMPTOMS ==<br />
<br />
In Microsoft Windows enhanced mode, when an application calls the OpenIcon or ShowWindows functions to activate a full-screen MS-DOS application from an icon, the activation fails. These functions perform as documented in real and standard mode.<br />
<br />
<br /><br />
<br />
<br />
== RESOLUTION ==<br />
<br />
To avoid this problem, simulate the result of an ALT+TAB key combination on the MS-DOS application icon: Send a WM_ACTIVATE message to the MS-DOS application, and then specify its handle in a call to ShowWindow function. For example:<br />
<br />
<pre class="CODESAMP"> SendMessage(hDOSApp, WM_ACTIVATE, 1, MAKELONG(hDOSApp, TRUE));<br />
ShowWindow(hDOSApp, SW_SHOWNORMAL); </pre><br />
When the application sends the WM_ACTIVATE message, wParam is set to 1 because the application is being invoked by simulating the keyboard. The high-order word of lParam is set to TRUE (non-zero) because the MS-DOS application is represented by an icon.<br /><br />
<br /><br />
The method works in all three Windows modes for windowed and full- screen MS-DOS applications.<br />
<br />
Additional query words: 3.00 3.10<br />
<br />
Keywords :<br /><br />
Issue type :<br /><br />
Technology : kbAudDeveloper kbWin3xSearch kbSDKSearch kbWinSDKSearch kbWinSDK300 kbWinSDK310<br />
<br />
{|<br />
|width="100%"| <br /><br />
Last Reviewed: November 6, 1999<br /><br />
[http://www.microsoft.com/misc/cpyright.htm © 2001 Microsoft Corporation. All rights reserved. Terms of Use.]<br /><br />
|}</div>
X010