Language: ChineseGermanSpanishFrenchDutchItalianRussian
123 Flash Chat Forums

Go Back   TOPCMM Community > SWFKit > SWFKit Support

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-05-2007, 06:16 PM
js js is offline
Senior Member
 
Join Date: Jun 2007
Posts: 110
Default Stick to Taskbar or Desktop Sides

hi there

please tell me :-[

i want to create a program. in this program there are 4 buttons placed these are for four sides of the Desktop. when user press the left button then the program window will sticked with the left side.

and also tell me how to Stick the program window to taskbar.

if i set the Position of the windows from SIZE AND POSITION option then the position of the window will be static but i do't want that >

beacuse the position of the taskbar may be change by user.

thankx
Reply With Quote
  #2 (permalink)  
Old 08-06-2007, 05:30 PM
js js is offline
Senior Member
 
Join Date: Jun 2007
Posts: 110
Default Re:Stick to Taskbar or Desktop Sides

any one

is it possible or not
Reply With Quote
  #3 (permalink)  
Old 08-07-2007, 09:57 AM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re:Stick to Taskbar or Desktop Sides

Stick to the taskbar

Code:
var tb = Window.find("Shell_TrayWnd");
var mw = getMainWnd();

mw.move(tb.left, tb.top - mw.height, tb.left + mw.width, tb.top);
Reply With Quote
Reply

Was this information helpful?    Yes No



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 04:31 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.