public void BringToFront() { try { CheckForValidHCTX("BringToFront"); CWintabFuncs.WTOverlap(m_context.HCtx, true); } catch (Exception ex) { MessageBox.Show("FAILED BringToFront: " + ex.ToString()); } }
/// <summary> /// Sends a tablet context to the top or bottom of the order of overlapping tablet contexts /// </summary> /// <param name="toTop_I">true = send tablet to top of order</param> /// <returns>Returns true if successsful</returns> public bool SetOverlapOrder(bool toTop_I) { bool status = false; if (!m_hCTX.IsValid) { throw new Exception("EnableContext: invalid context"); } status = CWintabFuncs.WTOverlap(m_hCTX, toTop_I); return(status); }
/// <summary> /// Sends a tablet context to the top or bottom of the order of overlapping tablet contexts /// </summary> /// <param name="toTop_I">true = send tablet to top of order</param> /// <returns>Returns true if successsful</returns> public bool SetOverlapOrder(bool toTop_I) { bool status = false; try { if (m_hCTX == 0) { throw new Exception("EnableContext: invalid context"); } status = CWintabFuncs.WTOverlap(m_hCTX, toTop_I); } catch (Exception ex) { MessageBox.Show("FAILED SetContextOverlapOrder: " + ex.ToString()); } return(status); }