473,405 Members | 2,154 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,405 software developers and data experts.

nudge like MSN Messenger

Hi

I try to make form nudge like MSN Messenger and Yahoo Messenger by this code
in vb.net

Me.Top = Me.DesktopLocation.Y - 6
Thread.Sleep(30)
Me.Top = Me.DesktopLocation.Y + 6
Thread.Sleep(30)

Me.Left = Me.DesktopLocation.X + 6
Thread.Sleep(30)
Me.Left = Me.DesktopLocation.X - 6
Thread.Sleep(30)

but if window is Maximized this not work and in MSN Messenger or Yahoo
Messenger MaximizeBox is maximised in nudge !!!
any help about that ?!!

I want nudge in Maximized too

AmR EiSa
Nov 23 '05 #1
1 1882
Hi,
I think I see what you're saying. Why not change your form's window state
to normal but set its size to be the height/width of the screen, so it's
"pseudo maximised", then perform the nudge operation, and then just set it
back to maximized.
Regards,
Alex Clark

"AmR EiSa" <am*****@gmail.com> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
Hi

I try to make form nudge like MSN Messenger and Yahoo Messenger by this
code in vb.net

Me.Top = Me.DesktopLocation.Y - 6
Thread.Sleep(30)
Me.Top = Me.DesktopLocation.Y + 6
Thread.Sleep(30)

Me.Left = Me.DesktopLocation.X + 6
Thread.Sleep(30)
Me.Left = Me.DesktopLocation.X - 6
Thread.Sleep(30)

but if window is Maximized this not work and in MSN Messenger or Yahoo
Messenger MaximizeBox is maximised in nudge !!!
any help about that ?!!

I want nudge in Maximized too

AmR EiSa

Nov 23 '05 #2

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

Similar topics

0
by: GrantS | last post by:
I need urgent help. Done OK for a newbie getting automation of Windows Messenger into a Winform C# app but have three problems that I urgently need pointers to. Point 1 and 2 are the same issue, I...
1
by: Ricci Hammond | last post by:
Is there an official microsoft component/sdk/document/anything for accessing MSN messenger functionality in .NET ? I need users to be able to send/receive messages to my service using Messenger....
1
by: msn | last post by:
I have plane to develop MSN messenger clone. And I wanna develop it using the latest MSN messenger API but I can't find any information about the latest MSN messenger API. Does anyone know about...
0
by: Stephajn Craig | last post by:
Has anyone had this experience yet? What I'd like to do is have a Windows Service monitoring and automating Windows Messenger on a server. I've already begun a proof of concept by creating a...
0
by: kpandian | last post by:
Hi Everyone, I have a module which i have been working for the past couplr of days. I am trying to send im from my ap thru Messenger Type Library. (Windows Messenger, .Net 2.0 anf Messenger Type...
0
by: Page O Rama | last post by:
Hi, R U BLOCKED ON MSN,YAHOO,ICQ OR AOL Messenger By Your Friend, Then What are you waiting for.Visit one of the link below to find out who has blocked you in his/her friend list. MSN Block...
1
by: mtnhan | last post by:
Hi Everybody! I'm a student. I want to make a Messenger like Yahoo Messenger. And it can communicate with Yahoo Messenger. I am finding documents about that but I didn't have. So You can show me...
2
by: Alex | last post by:
I am fairly new to C# development. I have read a number of articles about developing messenger applications, but they all assume that it is operating internally and that the IP address of the...
0
by: kimiraikkonen | last post by:
Hi, I don't know if there's anyone who tried referencing and using MSN messenger API Type Library(COM tab -msmsgs.exe) but it doesn't do anything on class instantiation and after a while a DCOM...
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: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
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
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
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...

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.