473,769 Members | 3,108 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to know when an Event is done executing?

I put instructions within the Resize Event handler of a PocketPC program.
The instructions basically reset the sizes and locations of the objects on
the form. I base everything on the Form Height and Width. The problem the
resizing doesn't occur. The variables are set but the objects don't change.
If I can get a notification of when the resizing event has finished then I
can change the object sizes.

Any suggestions ould be appreciated.

Poe
Nov 16 '05 #1
2 1425
Hi Poe,

The resize event is fired when the resizing is finished. Can you post
some code to show where the problem is occuring?

Sijin Joseph
http://www.indiangeek.net
http://weblogs.asp.net/sjoseph

Poewood wrote:
I put instructions within the Resize Event handler of a PocketPC program.
The instructions basically reset the sizes and locations of the objects on
the form. I base everything on the Form Height and Width. The problem the
resizing doesn't occur. The variables are set but the objects don't change.
If I can get a notification of when the resizing event has finished then I
can change the object sizes.

Any suggestions ould be appreciated.

Poe

Nov 16 '05 #2
Assuming you all your code is executing in the same thread, events are
synchronous, meaning that they fire one after another and they do not
overlap with your code.

"Poewood" <Po*****@discus sions.microsoft .com> wrote in message
news:4E******** *************** ***********@mic rosoft.com...
I put instructions within the Resize Event handler of a PocketPC program.
The instructions basically reset the sizes and locations of the objects on
the form. I base everything on the Form Height and Width. The problem the resizing doesn't occur. The variables are set but the objects don't change. If I can get a notification of when the resizing event has finished then I
can change the object sizes.

Any suggestions ould be appreciated.

Poe

Nov 16 '05 #3

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

Similar topics

6
2351
by: Anders Eriksson | last post by:
Hello! I have a form from which I start an thread running in the background and I want to have an event when the thread is done/ends. I start the thread like this: private Thread prT; // this is a member of the Form1 class // in a Form1 member function I do: PrintThread prThread = new PrintThread(prJob.Document);
7
1399
by: sunil philip | last post by:
How do i identify the page that fired a method? e.g. page1.html ----------- <Head> <script> document.write(myfun()); </script>
30
3405
by: Charles Law | last post by:
Here's one that should probably have the sub-heading "I'm sure I asked this once before, but ...". Two users are both looking at the same data, from a database. One user changes the data and commits it. How does the other user get the updated view without polling for changes? Is there some sort of callback mechanism that can be set up on the dataset or connection? TIA
32
2006
by: Charles Law | last post by:
Here's one that should probably have the sub-heading "I'm sure I asked this once before, but ...". Two users are both looking at the same data, from a database. One user changes the data and commits it. How does the other user get the updated view without polling for changes? Is there some sort of callback mechanism that can be set up on the dataset or connection? TIA
0
9589
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10211
Oralloy
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...
1
9994
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,...
0
9863
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 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...
1
7409
isladogs
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...
0
6673
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();...
0
5299
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5447
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3959
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 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.