Exemple #1
0
 private void btnBottom_Click(object sender, EventArgs e)
 {
     if (testhWnd != IntPtr.Zero)
     {
         User32Utils.SetWindowPos(testhWnd, (int)hWndInsertAfterType.HWND_BOTTOM, 0, 0, 0, 0, 1 | 2);
     }
 }
Exemple #2
0
 private void btnTopMost_Click(object sender, EventArgs e)
 {
     if (testhWnd != IntPtr.Zero)
     {
         User32Utils.SetWindowPos(testhWnd, (int)hWndInsertAfterType.HWND_TOPMOST, 0, 0, 0, 0, 1 | 2);
     }
 }