![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Newbie
Join Date: Jun 2005
Posts: 4
Rep Power: 0
![]() |
Shake Screen
I found an example on planetsource code, which shakes your screen. But when i tried to recreate it for myself, the screenshot didnt cover the screen it displayed in my programs form as the bacground, and my form was the form it shook instead of the 'desktop'. The direct example download is here: ShakeScreenExample
I think it has something to do where it says: img.parent := Self; Thanx ![]() Last edited by shaneapp; Jun 2nd, 2005 at 11:47 AM. |
|
|
|
|
|
#2 |
|
Professional Programmer
Join Date: Mar 2005
Location: Student of University of Mumbai, Maharashtra State, India
Posts: 344
Rep Power: 4
![]() |
Try to degauss your monitor
....You will shake your screen ) ![]() Just kidding....but I cannot solve that code....too complex for me!
__________________
Visit: http://www.somaiya.edu |
|
|
|
|
|
#3 |
|
Programming Guru
![]() Join Date: Jun 2005
Location: Adelaide, South Australia
Posts: 1,223
Rep Power: 5
![]() |
I'm guessing, but suspect that the code
img.parent := Self; Look up relevant functions in the win32 SDK, such as EnumDesktops(), OpenDesktop(), and related functions. Keep in mind that, under windows NT (which includes 2000, XP, etc) access to the desktop from programs is controlled by security attributes and privileges of the running process. Which may mean a few additional challenges doing what you want than there would be under 95/98/Me. |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|