Last change
on this file was 4, checked in by stevenhl, 8 years ago |
Import modifications from cwmm-0_2_9-work-01_10_2006.zip dated 2006-08-27
|
File size:
1.3 KB
|
Line | |
---|
1 | #define INCL_WIN
|
---|
2 | #include <os2.h>
|
---|
3 |
|
---|
4 | #include "window_funcs.h"
|
---|
5 |
|
---|
6 | #if __cplusplus
|
---|
7 | extern "C" {
|
---|
8 | #endif
|
---|
9 |
|
---|
10 | /*!**************************************************/
|
---|
11 | /* */
|
---|
12 | /* @@DESC */
|
---|
13 | /* */
|
---|
14 | /* This funktion changes the z-order of the window */
|
---|
15 | /* <hwnd> so it's on the top. */
|
---|
16 | /* */
|
---|
17 | /* @@PARAM */
|
---|
18 | /* */
|
---|
19 | /* HWND hwnd */
|
---|
20 | /* */
|
---|
21 | /* Handle of the window. */
|
---|
22 | /* */
|
---|
23 | /* @@RETURNS */
|
---|
24 | /* */
|
---|
25 | /* BOOL rc */
|
---|
26 | /* */
|
---|
27 | /* TRUE on success, FALSE otherwise. */
|
---|
28 | /* */
|
---|
29 | /*!!*************************************************/
|
---|
30 | BOOL WinSetWindowToTop(HWND hwnd)
|
---|
31 | {
|
---|
32 | return WinSetWindowPos(HWND_TOP, hwnd, 0, 0, 0, 0, SWP_ZORDER);
|
---|
33 | }
|
---|
34 |
|
---|
35 | #if __cplusplus
|
---|
36 | }
|
---|
37 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.