| Wheelchair Control Diploma Thesis, Author: Ondrej Vozda, FEEC BUT, 2013

- Main Page
- Packages
- Classes
- Files

- File List

All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
WizardTabControl.cs
1 ﻿using System;
2 using System.ComponentModel;
3 using System.Drawing;
4 using System.Drawing.Drawing2D;
5 using System.Windows.Forms;
6 using System.Drawing.Extended;
7
8 namespace WheelchairControl
9 {
14 [ToolboxBitmap(typeof(TabControl))]
15 public sealed class WizardTabControl : TabControl
16 {
20 private Int32 TCM_ADJUSTRECT_MSG_CODE = 0x1328;
21
26 protected override void WndProc(ref Message m)
27 {
28 if (m.Msg == TCM_ADJUSTRECT_MSG_CODE && !DesignMode) //Discard TCM_ADJUSTRECT message, process all other messages in base class
29 m.Result = IntPtr.Zero;
30 else
31 base.WndProc(ref m);
32 }
33
34 }
35 }