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==] 1 978
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******** **********@TK2M SFTNGP14.phx.gb l... 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==] This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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
|
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 the
administrator and have a password). I want to be able to lock the
record on the form by pressing a button. Once the button is pressed a
flag appears which displays that particular record as locked. Can
anyone help with this?
Thanks, Joe
|
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.
By closing the main form, it force the children forms to close too, and
before to close himself wait until the last children form has closed.
When the children forms are force to close, they will call so rush the
EndFunction that I have a...
|
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;
}
|
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();
}
| |
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) and children form (table). Relationship equals
one to many. I'd like to auto number the fields accordingly and traditionaly
I assign a unique number based on a table value that I retrieve + 1.
i.e.
Parent record field value = 1
Children record...
|
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 out the field (which is
stored in a table) correctly.
What's the best way to achieve this?
thanks,
|
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
|
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 record's fields
turning into chinese characters. On running the compact/repair I can
see that the corruption may be deeper than I expected because sometimes
indexes are missing and need to be replaced.
I used to think that overuse of 'ctrl-alt-delete'...
|
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 left(ctrl.name,3)<>"btn" then
ctrl.locked=true
endif
next
end sub
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |