Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/hpc/stand/hpcboot/menu In MainTabWindow::layout don...



details:   https://anonhg.NetBSD.org/src/rev/7ffc17df623e
branches:  trunk
changeset: 556688:7ffc17df623e
user:      uwe <uwe%NetBSD.org@localhost>
date:      Tue Dec 23 15:24:26 2003 +0000

description:
In MainTabWindow::layout don't touch the Z-order of IDC_MAIN_OPTION_*
controls as this has a nasty side effect of messing the Tab-order as
well.

diffstat:

 sys/arch/hpc/stand/hpcboot/menu/menu.cpp |  14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diffs (33 lines):

diff -r cc27272e7295 -r 7ffc17df623e sys/arch/hpc/stand/hpcboot/menu/menu.cpp
--- a/sys/arch/hpc/stand/hpcboot/menu/menu.cpp  Tue Dec 23 15:10:01 2003 +0000
+++ b/sys/arch/hpc/stand/hpcboot/menu/menu.cpp  Tue Dec 23 15:24:26 2003 +0000
@@ -1,4 +1,4 @@
-/* -*-C++-*-   $NetBSD: menu.cpp,v 1.7 2003/12/23 15:10:01 uwe Exp $   */
+/* -*-C++-*-   $NetBSD: menu.cpp,v 1.8 2003/12/23 15:24:26 uwe Exp $   */
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -170,17 +170,17 @@
 
        HWND h;
        h = GetDlgItem(_window, IDC_MAIN_OPTION_V);
-       SetWindowPos(h, HWND_TOP, x, y, 120, 10, TRUE);
+       SetWindowPos(h, 0, x, y, 120, 10, SWP_NOSIZE | SWP_NOZORDER);
        h = GetDlgItem(_window, IDC_MAIN_OPTION_S);
-       SetWindowPos(h, HWND_TOP, x, y + 20, 120, 10, TRUE);
+       SetWindowPos(h, 0, x, y + 20, 120, 10, SWP_NOSIZE | SWP_NOZORDER);
        h = GetDlgItem(_window, IDC_MAIN_OPTION_A);
-       SetWindowPos(h, HWND_TOP, x, y + 40, 120, 10, TRUE);
+       SetWindowPos(h, 0, x, y + 40, 120, 10, SWP_NOSIZE | SWP_NOZORDER);
        h = GetDlgItem(_window, IDC_MAIN_OPTION_D);
-       SetWindowPos(h, HWND_TOP, x, y + 60, 120, 10, TRUE);
+       SetWindowPos(h, 0, x, y + 60, 120, 10, SWP_NOSIZE | SWP_NOZORDER);
        h = GetDlgItem(_window, IDC_MAIN_OPTION_H);
-       SetWindowPos(h, HWND_TOP, x, y + 80, 120, 10, TRUE);
+       SetWindowPos(h, 0, x, y + 80, 120, 10, SWP_NOSIZE | SWP_NOZORDER);
        h = GetDlgItem(_window, IDC_MAIN_OPTION_H_SPEED);
-       SetWindowPos(h, HWND_TOP, x + 100, y + 80, 120, 10, TRUE);
+       SetWindowPos(h, 0, x + 100, y + 80, 120, 10, SWP_NOSIZE | SWP_NOZORDER);
 }
 
 void



Home | Main Index | Thread Index | Old Index