|
-
Jan 21st, 2006, 11:22 AM
#1
Thread Starter
Member
[RESOLVED] Error creating window handle
First of all, the error message I am getting reads:
"An unhandled exception of type 'System.ComponentModel.Win32Exception' occurred in system.windows.forms.dll
Additional information: Error creating window handle."
The ToolTip of the error in the code editor reads:
"This code has called into another function. When that function is finished, this is the next statement that will be executed"
This error occurs with the following statement in a LostFocus function:
VB Code:
TxtBox(1).BorderStyle = BorderStyle.None
It seems that statements changing the BorderStyle of a TextBox call the LostFocus function for some reason...
I am completely lost, so if anyone has a solution it would be greatly appreciated.
-
Jan 21st, 2006, 11:38 AM
#2
Thread Starter
Member
Re: Error creating window handle
Ignore my last post... I turns out I needed to use Enter and Leave instead of GotFocus and LostFocus.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|