forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Move window neg position

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
LiquidCode
Moderator Team


Joined: 05 Dec 2000
Posts: 1753
Location: Space and Time

PostPosted: Wed Dec 11, 2013 5:24 pm    Post subject: Move window neg position Reply with quote

I want to be able to move a notitle window in the neg (to another monitor) but VDS will not let me. Anyone know of way I can do it?
_________________
Chris
Http://theblindhouse.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Garrett
Moderator Team


Joined: 04 Oct 2001
Posts: 2149
Location: A House

PostPosted: Wed Dec 11, 2013 11:26 pm    Post subject: Reply with quote

I remember having this issue long ago and never found a solution. Could only move it to positive positions and not negative positions. Sad
_________________
'What you do not want done to yourself, do not do to others.' - Confucius (550 b.c. to 479 b.c.)
Back to top
View user's profile Send private message
cnodnarb
Professional Member
Professional Member


Joined: 11 Sep 2002
Posts: 766
Location: Eastman, GA

PostPosted: Thu Dec 12, 2013 10:45 am    Post subject: Reply with quote

The API call I use to move dialog elements in this post might work.

http://www.vdsworld.com/forum/viewtopic.php?t=5176
Back to top
View user's profile Send private message AIM Address
cnodnarb
Professional Member
Professional Member


Joined: 11 Sep 2002
Posts: 766
Location: Eastman, GA

PostPosted: Sat Dec 14, 2013 5:00 am    Post subject: Reply with quote

Code:

  DIALOG CREATE,New Dialog,-1,0,240,160,NOTITLE
REM *** Modified by Dialog Designer on 12/13/2013 - 22:58 ***
  DIALOG ADD,BUTTON,LINE,0,0,64,24,LINE
  DIALOG SHOW
 
  wait 5
 
 %%k = @strdel(@winexists(new dialog),1,1)

 LOADLIB user32.dll
   %%SetWindowPos = @lib(user32.dll,SetWindowPos,INT:,%%k,0,-5,-5,240,160,$0040)
 FREELIB user32.dll

 wait event
Back to top
View user's profile Send private message AIM Address
LiquidCode
Moderator Team


Joined: 05 Dec 2000
Posts: 1753
Location: Space and Time

PostPosted: Sat Dec 14, 2013 1:12 pm    Post subject: Reply with quote

Thanks! I think this will work.
_________________
Chris
Http://theblindhouse.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group