8 Replies - 6753 Views - Last Post: 31 October 2008 - 07:34 PM Rate Topic: -----

#1 saurabhv   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 14
  • Joined: 18-July 08

Glass Form Problem

Posted 25 October 2008 - 01:29 PM

hi
i have been trying to develop a application that has normal client area but glass out side. This means that like in windows xp u have blue title bars and blue borders, i want glass there like windows vista has

few days ago i found this article and source code for drawing glass into the form.

http://www.codeproje...nt_Windows.aspx

I use to develop applications in visual basic earlier so i could understand the source code and it worked well in visual basic 2008 because the article was developed in visual basic.

Now i have started c# and i want that code to work in the application i am developing in C#. I have converted the code from visual basic to c# using online converter tools but it still doesn't seem to work.
here is part of what has been converted:

Form: Form_Container
using System;
using System.Drawing;
using System.Drawing.Imaging;
using System.Windows.Forms;

namespace Glass_Forms
{
	public class Form_Container
	{
		#region " Layered Window "

		protected override void WndProc(ref Message m)
		{
			if ((m.Msg == 132))
			{
				m.Result = (IntPtr)2;
				// Disable this sub for NoMoving Window
				return;
			}
			base.WndProc(m);
		}

		protected override CreateParams CreateParams
		{
			get
			{
				CreateParams cp = base.CreateParams;
				cp.ExStyle = (cp.ExStyle | 524288);
				// This form has to have the WS_EX_LAYERED extended style
				return cp;
			}
		}

		public void SetBitmap(Bitmap bitmap)
		{
			SetBitmap(bitmap, 255);
		}

		public void SetBitmap(Bitmap bitmap, byte opacity)
		{
			if ((bitmap.PixelFormat != PixelFormat.Format32bppArgb))
			{
				throw new ApplicationException("The bitmap must be 32ppp with alpha-channel.");
			}
			IntPtr screenDc = Win32.GetDC(IntPtr.Zero);
			IntPtr memDc = Win32.CreateCompatibleDC(screenDc);
			IntPtr hBitmap = IntPtr.Zero;
			IntPtr oldBitmap = IntPtr.Zero;
			try
			{
				hBitmap = bitmap.GetHbitmap(Color.FromArgb(0));
				// grab a GDI handle from this GDI+ bitmap
				oldBitmap = Win32.SelectObject(memDc, hBitmap);
				Win32.Size size = new Win32.Size(bitmap.Width, bitmap.Height);
				Win32.Point pointSource = new Win32.Point(0, 0);
				Win32.Point topPos = new Win32.Point(Left, Top);
				Win32.BLENDFUNCTION blend = new Win32.BLENDFUNCTION();
				blend.BlendOp = Win32.AC_SRC_OVER;
				blend.BlendFlags = 0;
				blend.SourceConstantAlpha = opacity;
				blend.AlphaFormat = Win32.AC_SRC_ALPHA;
				Win32.UpdateLayeredWindow(Handle, screenDc, topPos, size, memDc, pointSource, 0, blend, Win32.ULW_ALPHA);
			}
			finally
			{
				Win32.ReleaseDC(IntPtr.Zero, screenDc);
				if ((hBitmap != IntPtr.Zero))
				{
					Win32.SelectObject(memDc, oldBitmap);
					//Windows.DeleteObject(hBitmap); // The documentation says that we have to use the Windows.DeleteObject... but since there is no such method I use the normal DeleteObject from Win32 GDI and it's working fine without any resource leak.
					Win32.DeleteObject(hBitmap);
				}
				Win32.DeleteDC(memDc);
			}
		}
		#endregion
		#region " Procedures "

		private Bitmap MyBitmap = null;
		private Form F;
		private bool F_Active = false;
		private bool Me_Active = true;

		public void Prepare(Drawing.Point m_Location, Form m_ChildForm)
		{
			F = m_ChildForm;
			//
			this.Location = m_Location;
			this.Size = new Drawing.Size(F.Width + 30, F.Height + 51);
			F.Location = new Drawing.Point(this.Location.X + 15, this.Location.Y + 32);
			F.Opacity = 0.9;
			F.ShowInTaskbar = false;
			F.FormClosed += Handle_ChildFormClose;
			F.Activated += Handle_ChildFormActivated;
			F.Deactivate += Handle_ChildFormDeactivate;
			// L15, R15, T32, B19
			MyBitmap = new Bitmap(this.Width, this.Height, PixelFormat.Format32bppArgb);
			Graphics Gr = Graphics.FromImage(MyBitmap);
			//
			Rectangle DestLU = new Rectangle(0, 0, 15, 32);
			Rectangle DestLM = new Rectangle(0, 32, 15, this.Height - 51);
			Rectangle DestLD = new Rectangle(0, this.Height - 19, 15, 19);
			Rectangle DestMU = new Rectangle(15, 0, this.Width - 30, 32);
			Rectangle DestMM = new Rectangle(15, 32, this.Width - 30, this.Height - 51);
			Rectangle DestMD = new Rectangle(15, this.Height - 19, this.Width - 30, 19);
			Rectangle DestRU = new Rectangle(this.Width - 15, 0, 15, 32);
			Rectangle DestRM = new Rectangle(this.Width - 15, 32, 15, this.Height - 51);
			Rectangle DestRD = new Rectangle(this.Width - 15, this.Height - 19, 15, 19);
			//
			Rectangle SourceLU = new Rectangle(0, 0, 15, 32);
			Rectangle SourceLM = new Rectangle(0, 32, 15, My.Resources.window.Height - 51);
			Rectangle SourceLD = new Rectangle(0, My.Resources.window.Height - 19, 15, 19);
			Rectangle SourceMU = new Rectangle(15, 0, My.Resources.window.Width - 30, 32);
			Rectangle SourceMM = new Rectangle(15, 32, My.Resources.window.Width - 30, My.Resources.window.Height - 51);
			Rectangle SourceMD = new Rectangle(15, My.Resources.window.Height - 19, My.Resources.window.Width - 30, 19);
			Rectangle SourceRU = new Rectangle(My.Resources.window.Width - 15, 0, 15, 32);
			Rectangle SourceRM = new Rectangle(My.Resources.window.Width - 15, 32, 15, My.Resources.window.Height - 51);
			Rectangle SourceRD = new Rectangle(My.Resources.window.Width - 15, My.Resources.window.Height - 19, 15, 19);
			//
			Gr.DrawImage(My.Resources.Window, DestLU, SourceLU, GraphicsUnit.Pixel);
			Gr.DrawImage(My.Resources.Window, DestLM, SourceLM, GraphicsUnit.Pixel);
			Gr.DrawImage(My.Resources.Window, DestLD, SourceLD, GraphicsUnit.Pixel);
			Gr.DrawImage(My.Resources.Window, DestMU, SourceMU, GraphicsUnit.Pixel);
			Gr.DrawImage(My.Resources.Window, DestMM, SourceMM, GraphicsUnit.Pixel);
			Gr.DrawImage(My.Resources.Window, DestMD, SourceMD, GraphicsUnit.Pixel);
			Gr.DrawImage(My.Resources.Window, DestRU, SourceRU, GraphicsUnit.Pixel);
			Gr.DrawImage(My.Resources.Window, DestRM, SourceRM, GraphicsUnit.Pixel);
			Gr.DrawImage(My.Resources.Window, DestRD, SourceRD, GraphicsUnit.Pixel);
			//
			Rectangle TextRect = new Rectangle(15, 8, this.Width - 130, 23);
			Gr.TextRenderingHint = Drawing.Text.TextRenderingHint.AntiAliasGridFit;
			StringFormat SF = new StringFormat();
			SF.Alignment = StringAlignment.Near;
			SF.LineAlignment = StringAlignment.Center;
			Gr.DrawString(m_ChildForm.Text, new Font("Tahoma", 8, FontStyle.Bold), new SolidBrush(Color.FromArgb(50, 50, 50)), TextRect, SF);
		}

		private void Handle_ChildFormClose(object sender, System.Windows.Forms.FormClosedEventArgs e)
		{
			this.Dispose();
		}

		private void Handle_ChildFormActivated(object sender, System.EventArgs e)
		{
			F_Active = true;
			SetBitmap(MyBitmap);
			F.Opacity = 0.9;
		}

		private void Handle_ChildFormDeactivate(object sender, System.EventArgs e)
		{
			F_Active = false;
			if (Me_Active == false)
			{
				SetBitmap(MyBitmap, 150);
				F.Opacity = 0.6;
			}
		}
		#endregion
		#region " Form Events "

		private void Form_Container_Activated(object sender, System.EventArgs e)
		{
			Me_Active = true;
			SetBitmap(MyBitmap);
			F.Opacity = 0.9;
		}

		private void Form_Container_Deactivate(object sender, System.EventArgs e)
		{
			Me_Active = false;
			if (F_Active == false)
			{
				SetBitmap(MyBitmap, 150);
				F.Opacity = 0.6;
			}
		}

		private void Form_Container_Load(object sender, System.EventArgs e)
		{
			SetBitmap(MyBitmap);
			F.Show(this);
		}

		private void Form_Container_Locationchanged(object sender, System.EventArgs e)
		{
			F.Location = new Drawing.Point(this.Location.X + 15, this.Location.Y + 32);
		}
		#endregion

	}
}


i already have the resources needed
the resource is a bitmap and is called window in this application

Form: Form_Firms
public class Form_Firms
{

	private void Button1_Click(object sender, System.EventArgs e)
	{
		Form_Container F = new Form_Container();
		Form1 FF = new Form1();
		F.Prepare(new Drawing.Point(10, 20), FF);
		F.Show();
	}
}



according to the code, there is another file that is needed called win32

i also converted this

here it is

File: Win32.cs

using System.Runtime.InteropServices;
class Win32 {
	
	public const Int32 ULW_COLORKEY = 1;
	
	public const Int32 ULW_ALPHA = 2;
	
	public const Int32 ULW_OPAQUE = 4;
	
	public const byte AC_SRC_OVER = 0;
	
	public const byte AC_SRC_ALPHA = 1;
	
	[DllImport("user32.dll")]
	public static extern Bool UpdateLayeredWindow(IntPtr hwnd, IntPtr hdcDst, ref Point pptDst, ref Size psize, IntPtr hdcSrc, ref Point pprSrc, Int32 crKey, ref BLENDFUNCTION pblend, Int32 dwFlags);
	
	[DllImport("user32.dll")]
	public static extern IntPtr GetDC(IntPtr hWnd);
	
	[DllImport("user32.dll")]
	public static extern int ReleaseDC(IntPtr hWnd, IntPtr hDC);
	
	[DllImport("gdi32.dll")]
	public static extern IntPtr CreateCompatibleDC(IntPtr hDC);
	
	[DllImport("gdi32.dll")]
	public static extern Bool DeleteDC(IntPtr hdc);
	
	[DllImport("gdi32.dll")]
	public static extern IntPtr SelectObject(IntPtr hDC, IntPtr hObject);
	
	[DllImport("gdi32.dll")]
	public static extern Bool DeleteObject(IntPtr hObject);
	
	public enum Bool : int {
		
		F = 0,
		
		//  False
		T = 1,
	}
	
	[StructLayout(LayoutKind.Sequential)]
	public struct Point {
		
		public Int32 x;
		
		public Int32 y;
		
		public Point(Int32 x, Int32 y) {
			this.x = x;
			this.y = y;
		}
	}
	
	[StructLayout(LayoutKind.Sequential)]
	public struct Size {
		
		public Int32 cx;
		
		public Int32 cy;
		
		public Size(Int32 cx, Int32 cy) {
			this.cx = cx;
			this.cy = cy;
		}
	}
	
	[StructLayout(LayoutKind.Sequential, Pack=1)]
	struct ARGB {
		
		public byte Blue;
		
		public byte Green;
		
		public byte Red;
		
		public byte Alpha;
	}
	
	[StructLayout(LayoutKind.Sequential, Pack=1)]
	public struct BLENDFUNCTION {
		
		public byte BlendOp;
		
		public byte BlendFlags;
		
		public byte SourceConstantAlpha;
		
		public byte AlphaFormat;
	}
}




this is the code that i converted and it should work in c# but it doesn't

please please someone help me

help is really really appreciated

This post has been edited by saurabhv: 25 October 2008 - 01:57 PM


Is This A Good Question/Topic? 0
  • +

Replies To: Glass Form Problem

#2 jacobjordan   User is offline

  • class Me : Perfection
  • member icon

Reputation: 115
  • View blog
  • Posts: 1,499
  • Joined: 11-June 08

Re: Glass Form Problem

Posted 25 October 2008 - 10:35 PM

Well, the translator didn't do perfectly. Try this for the Form_Container:

using System;
using System.Drawing;
using System.Drawing.Imaging;
using System.Windows.Forms;

namespace Glass_Forms
{
    public class Form_Container
    {
        #region " Layered Window "

        protected override void WndProc(ref Message m)
        {
            if ((m.Msg == 132))
            {
                m.Result = (IntPtr)2;
                // Disable this sub for NoMoving Window
                return;
            }
            base.WndProc(ref m);
        }

        protected override CreateParams CreateParams
        {
            get
            {
                CreateParams cp = base.CreateParams;
                cp.ExStyle = (cp.ExStyle | 524288);
                // This form has to have the WS_EX_LAYERED extended style
                return cp;
            }
        }

        public void SetBitmap(Bitmap bitmap)
        {
            SetBitmap(bitmap, 255);
        }

        public void SetBitmap(Bitmap bitmap, byte opacity)
        {
            if ((bitmap.PixelFormat != PixelFormat.Format32bppArgb))
            {
                throw new ApplicationException("The bitmap must be 32ppp with alpha-channel.");
            }
            IntPtr screenDc = Win32.GetDC(IntPtr.Zero);
            IntPtr memDc = Win32.CreateCompatibleDC(screenDc);
            IntPtr hBitmap = IntPtr.Zero;
            IntPtr oldBitmap = IntPtr.Zero;
            try
            {
                hBitmap = bitmap.GetHbitmap(Color.FromArgb(0));
                // grab a GDI handle from this GDI+ bitmap
                oldBitmap = Win32.SelectObject(memDc, hBitmap);
                Win32.Size size = new Win32.Size(bitmap.Width, bitmap.Height);
                Win32.Point pointSource = new Win32.Point(0, 0);
                Win32.Point topPos = new Win32.Point(Left, Top);
                Win32.BLENDFUNCTION blend = new Win32.BLENDFUNCTION();
                blend.BlendOp = Win32.AC_SRC_OVER;
                blend.BlendFlags = 0;
                blend.SourceConstantAlpha = opacity;
                blend.AlphaFormat = Win32.AC_SRC_ALPHA;
                Win32.UpdateLayeredWindow(Handle, screenDc, ref topPos, ref size, memDc, ref pointSource, 0, ref blend, Win32.ULW_ALPHA);
            }
            finally
            {
                Win32.ReleaseDC(IntPtr.Zero, screenDc);
                if ((hBitmap != IntPtr.Zero))
                {
                    Win32.SelectObject(memDc, oldBitmap);
                    //Windows.DeleteObject(hBitmap); // The documentation says that we have to use the Windows.DeleteObject... but since there is no such method I use the normal DeleteObject from Win32 GDI and it's working fine without any resource leak.
                    Win32.DeleteObject(hBitmap);
                }
                Win32.DeleteDC(memDc);
            }
        }
        #endregion
        #region " Procedures "

        private Bitmap MyBitmap = null;
        private Form F;
        private bool F_Active = false;
        private bool Me_Active = true;

        public void Prepare(Point m_Location, Form m_ChildForm)
        {
            F = m_ChildForm;
            //
            this.Location = m_Location;
            this.Size = new Size(F.Width + 30, F.Height + 51);
            F.Location = new Point(this.Location.X + 15, this.Location.Y + 32);
            F.Opacity = 0.9;
            F.ShowInTaskbar = false;
            F.FormClosed += Handle_ChildFormClose;
            F.Activated += Handle_ChildFormActivated;
            F.Deactivate += Handle_ChildFormDeactivate;
            // L15, R15, T32, B19
            MyBitmap = new Bitmap(this.Width, this.Height, PixelFormat.Format32bppArgb);
            Graphics Gr = Graphics.FromImage(MyBitmap);
            //
            Rectangle DestLU = new Rectangle(0, 0, 15, 32);
            Rectangle DestLM = new Rectangle(0, 32, 15, this.Height - 51);
            Rectangle DestLD = new Rectangle(0, this.Height - 19, 15, 19);
            Rectangle DestMU = new Rectangle(15, 0, this.Width - 30, 32);
            Rectangle DestMM = new Rectangle(15, 32, this.Width - 30, this.Height - 51);
            Rectangle DestMD = new Rectangle(15, this.Height - 19, this.Width - 30, 19);
            Rectangle DestRU = new Rectangle(this.Width - 15, 0, 15, 32);
            Rectangle DestRM = new Rectangle(this.Width - 15, 32, 15, this.Height - 51);
            Rectangle DestRD = new Rectangle(this.Width - 15, this.Height - 19, 15, 19);
            //
            Rectangle SourceLU = new Rectangle(0, 0, 15, 32);
            Rectangle SourceLM = new Rectangle(0, 32, 15, Properties.Resources.window.Height - 51);
            Rectangle SourceLD = new Rectangle(0, Properties.Resources.window.Height - 19, 15, 19);
            Rectangle SourceMU = new Rectangle(15, 0, Properties.Resources.window.Width - 30, 32);
            Rectangle SourceMM = new Rectangle(15, 32, Properties.Resources.window.Width - 30, Properties.Resources.window.Height - 51);
            Rectangle SourceMD = new Rectangle(15, Properties.Resources.window.Height - 19, Properties.Resources.window.Width - 30, 19);
            Rectangle SourceRU = new Rectangle(Properties.Resources.window.Width - 15, 0, 15, 32);
            Rectangle SourceRM = new Rectangle(Properties.Resources.window.Width - 15, 32, 15, Properties.Resources.window.Height - 51);
            Rectangle SourceRD = new Rectangle(Properties.Resources.window.Width - 15, Properties.Resources.window.Height - 19, 15, 19);
            //
            Gr.DrawImage(Properties.Resources.Window, DestLU, SourceLU, GraphicsUnit.Pixel);
            Gr.DrawImage(Properties.Resources.Window, DestLM, SourceLM, GraphicsUnit.Pixel);
            Gr.DrawImage(Properties.Resources.Window, DestLD, SourceLD, GraphicsUnit.Pixel);
            Gr.DrawImage(Properties.Resources.Window, DestMU, SourceMU, GraphicsUnit.Pixel);
            Gr.DrawImage(Properties.Resources.Window, DestMM, SourceMM, GraphicsUnit.Pixel);
            Gr.DrawImage(Properties.Resources.Window, DestMD, SourceMD, GraphicsUnit.Pixel);
            Gr.DrawImage(Properties.Resources.Window, DestRU, SourceRU, GraphicsUnit.Pixel);
            Gr.DrawImage(Properties.Resources.Window, DestRM, SourceRM, GraphicsUnit.Pixel);
            Gr.DrawImage(Properties.Resources.Window, DestRD, SourceRD, GraphicsUnit.Pixel);
            //
            Rectangle TextRect = new Rectangle(15, 8, this.Width - 130, 23);
            Gr.TextRenderingHint = System.Drawing.Text.TextRenderingHint.AntiAliasGridFit;
            StringFormat SF = new StringFormat();
            SF.Alignment = StringAlignment.Near;
            SF.LineAlignment = StringAlignment.Center;
            Gr.DrawString(m_ChildForm.Text, new Font("Tahoma", 8, FontStyle.Bold), new SolidBrush(Color.FromArgb(50, 50, 50)), TextRect, SF);
        }

        private void Handle_ChildFormClose(object sender, System.Windows.Forms.FormClosedEventArgs e)
        {
            this.Dispose();
        }

        private void Handle_ChildFormActivated(object sender, System.EventArgs e)
        {
            F_Active = true;
            SetBitmap(MyBitmap);
            F.Opacity = 0.9;
        }

        private void Handle_ChildFormDeactivate(object sender, System.EventArgs e)
        {
            F_Active = false;
            if (Me_Active == false)
            {
                SetBitmap(MyBitmap, 150);
                F.Opacity = 0.6;
            }
        }
        #endregion
        #region " Form Events "

        private void Form_Container_Activated(object sender, System.EventArgs e)
        {
            Me_Active = true;
            SetBitmap(MyBitmap);
            F.Opacity = 0.9;
        }

        private void Form_Container_Deactivate(object sender, System.EventArgs e)
        {
            Me_Active = false;
            if (F_Active == false)
            {
                SetBitmap(MyBitmap, 150);
                F.Opacity = 0.6;
            }
        }

        private void Form_Container_Load(object sender, System.EventArgs e)
        {
            SetBitmap(MyBitmap);
            F.Show(this);
        }

        private void Form_Container_Locationchanged(object sender, System.EventArgs e)
        {
            F.Location = new Point(this.Location.X + 15, this.Location.Y + 32);
        }
        #endregion
    }
}


The other code you gave me looked fine, so i think this should make it work.
Was This Post Helpful? 0
  • +
  • -

#3 saurabhv   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 14
  • Joined: 18-July 08

Re: Glass Form Problem

Posted 26 October 2008 - 12:12 PM

sorry because this is getting too confusing can you just rather convert this whole project and attach it in a new post/reply
here is the link for the project(in vb originally)

http://www.codeproje...nt_Windows.aspx

please convert the whole project and send it to me in a attachment in a new post/reply

It will be really really appreciated

This post has been edited by saurabhv: 26 October 2008 - 12:13 PM

Was This Post Helpful? 0
  • +
  • -

#4 Martyr2   User is offline

  • Programming Theoretician
  • member icon

Reputation: 5225
  • View blog
  • Posts: 14,005
  • Joined: 18-April 07

Re: Glass Form Problem

Posted 26 October 2008 - 12:18 PM

No saurabhv he won't. It is site policy here at DIC that we DO NOT do people's work for them. We only provide assistance and help getting you through the tough parts of your project. I think jacob did a great job at providing you some code to play with. If the project is getting too much for you, perhaps you should try tackling something on a smaller scale until you have the knowhow to tackle this project.

Now if you ask nicely perhaps jacob will be glad to explain a bit more about what the code is doing and how it might be applied to what you are working on.

Thanks for understanding. :)
Was This Post Helpful? 0
  • +
  • -

#5 jacobjordan   User is offline

  • class Me : Perfection
  • member icon

Reputation: 115
  • View blog
  • Posts: 1,499
  • Joined: 11-June 08

Re: Glass Form Problem

Posted 26 October 2008 - 01:28 PM

And there's no way i'd ever waste an hour of my weekend converting someone ease's code.

I fixed that class by hand, and i got it error-free. The other code is so simple, i looked it over and i saw nothing wrong with it. Tell me exactly what errors you are getting and in what code file, and i will help you with them.
Was This Post Helpful? 0
  • +
  • -

#6 saurabhv   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 14
  • Joined: 18-July 08

Re: Glass Form Problem

Posted 26 October 2008 - 03:24 PM

View Postjacobjordan, on 26 Oct, 2008 - 01:28 PM, said:

And there's no way i'd ever waste an hour of my weekend converting someone ease's code.

I fixed that class by hand, and i got it error-free. The other code is so simple, i looked it over and i saw nothing wrong with it. Tell me exactly what errors you are getting and in what code file, and i will help you with them.

see when everything is compiled and all done
and when i debug and click on the button that raises the event:
f.prepare(form,location) - this gets the form and draws the glass in the borders

everything stops responding and an exception occurs:
Error creating the handle

this is the code

Explorer n;
n = new Explorer();
Make_Glass c;
c = new Make_Glass();
NT_FileSystem d;
d = new NT_FileSystem();
c.Prepare(d, new System.Drawing.Point(10, 20));
c.Show();

when the exceptions comes up,

c.Show(); is highlighted and the exception is shows
please help
Was This Post Helpful? 0
  • +
  • -

#7 Jayman   User is offline

  • Student of Life
  • member icon

Reputation: 421
  • View blog
  • Posts: 9,532
  • Joined: 26-December 05

Re: Glass Form Problem

Posted 26 October 2008 - 03:36 PM

Copy and paste the exact error message that you are getting.
Was This Post Helpful? 0
  • +
  • -

#8 saurabhv   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 14
  • Joined: 18-July 08

Re: Glass Form Problem

Posted 26 October 2008 - 03:50 PM

View Postjayman9, on 26 Oct, 2008 - 03:36 PM, said:

Copy and paste the exact error message that you are getting.


here

Win32Exception is unhandled

Error creating window handle.

Troubleshooting Tips

Get general help for this exception.

"Error creating window handle." - that is the error
Was This Post Helpful? 0
  • +
  • -

#9 saurabhv   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 14
  • Joined: 18-July 08

Re: Glass Form Problem

Posted 31 October 2008 - 07:34 PM

View Postsaurabhv, on 26 Oct, 2008 - 03:50 PM, said:

View Postjayman9, on 26 Oct, 2008 - 03:36 PM, said:

Copy and paste the exact error message that you are getting.


here

Win32Exception is unhandled

Error creating window handle.

Troubleshooting Tips

Get general help for this exception.

"Error creating window handle." - that is the error


come on i told you the error help me come on
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1