473,395 Members | 1,521 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Form top bar lock up

I'm programming an application using VS C++.NET 2005 Express in clr/pure
syntax. It is a Console application (which might be important here).

Everything works. I have buttons I can press and do their assigned function
and a TreeView I can navigate. I can minimize th form, bring the console to
the front, click on any part of the form body, and exit using the top right
'X'.

BUT, if I click on the form top bar, the form locks up, giving complete
control to the Console! I can now move the Console around as before, but the
form buttons and treeview don't react (or at least the form isn't painting
to show it). If I close the Console it closes the application. If I minimize
the Console I can't maximize it again via the tray version of the
application.

I've tried both form.ShowDialog() and Show(%form) methods of launching form.
Same thing happens. Not sure how long this has been going on, haven't really
tried to move the form till now! There may be some 'can't move the form'
flag I'm not aware of, but even if so, such a flag shouldn't cause the form
to lock up if its tried. This happen both in the IDE and as stand-alone
executions, and both debug and release.

Thanks in advance for responses!

[==P==]
Dec 4 '05 #1
1 966
For reasons unknown, the problem seems to have corrected itself. I can now
move the form around no problem. Wish I knew why it was doing what it did
when it wouldn't allow this...

[==P==]

"Peteroid" <pe************@msn.com> wrote in message
news:%2******************@TK2MSFTNGP14.phx.gbl...
I'm programming an application using VS C++.NET 2005 Express in clr/pure
syntax. It is a Console application (which might be important here).

Everything works. I have buttons I can press and do their assigned
function and a TreeView I can navigate. I can minimize th form, bring the
console to the front, click on any part of the form body, and exit using
the top right 'X'.

BUT, if I click on the form top bar, the form locks up, giving complete
control to the Console! I can now move the Console around as before, but
the form buttons and treeview don't react (or at least the form isn't
painting to show it). If I close the Console it closes the application. If
I minimize the Console I can't maximize it again via the tray version of
the application.

I've tried both form.ShowDialog() and Show(%form) methods of launching
form. Same thing happens. Not sure how long this has been going on,
haven't really tried to move the form till now! There may be some 'can't
move the form' flag I'm not aware of, but even if so, such a flag
shouldn't cause the form to lock up if its tried. This happen both in the
IDE and as stand-alone executions, and both debug and release.

Thanks in advance for responses!

[==P==]

Dec 6 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: John Bailo | last post by:
I am trying to debug a form in VS.NET 2003 I set some breakpoints for a treeview click event. This is what happens: The form loads. I click a node in treeview The break point is hit
3
by: Joe | last post by:
Hi there, question regarding Access 2000 - locking records: I want to be able to lock a record (or several records) on a form so that particular record can not be edited until I undo the lock (im...
5
by: Zürcher See | last post by:
I have a main form, which pop other forms (children forms). The children forms have a delegate of a function, let call it EndFunction, of the main form, that they call when they ends their work....
8
by: Roy Chastain | last post by:
Question If control leaves the locked block does the lock get cleared? Example (simple and bad coding) lock(obj) { // code return; }
3
by: marvind | last post by:
Hello, Why doesn't the lock in Class2::Execute protect the critical section: public Class1 { ... public DataTable SchemaTable = new DataTable(); }
3
by: Chris | last post by:
Before I started to create table, etc to track unique form field record number assigments I thought I'd check to see if there is now a better way to do this in .NET. I have a parent form (table)...
4
by: steph | last post by:
Hello, I've got a text field in an access form (Microsoft Access 2002, SP3), that the user has to fill out. Now I don't want the user to leave this field (and this record) until he has filled...
14
by: ThunderMusic | last post by:
Hi, The subject says it all. Is there an equivalent, in VB.NET, for the C# statement Lock(Object){} Thanks ThunderMusic
23
by: Dave G | last post by:
Since upgrading one of my clients from A97/W2000 to A2003/XP they have suffered no end of data corruption problems, mainly involving one of the main tables. The corruption can result in one...
7
by: RichG | last post by:
I want to lock all controls except the buttons on a form. I sometimes need the form to call lockForms(Me). public sub lockControls(frm as form) for each ctrl as control in frm if...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.