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 


Bind programm into vds window
Goto page Previous  1, 2
 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
X-Tools
Valued Contributor
Valued Contributor


Joined: 20 Sep 2001
Posts: 296
Location: Germany

PostPosted: Mon Jan 27, 2003 1:50 pm    Post subject: Bind programm into vds window Reply with quote

wow Shocked

Thank you all very, very much for your help Wink
Back to top
View user's profile Send private message Send e-mail Visit poster's website
X-Tools
Valued Contributor
Valued Contributor


Joined: 20 Sep 2001
Posts: 296
Location: Germany

PostPosted: Wed Feb 19, 2003 7:37 am    Post subject: Bind Child Window Reply with quote

Hi mindpower,

today I played around with my child windows and found severals
problems (e.g. Message Boxes).

Then I tested your example for gadget - it works better and
it places the window between statusbar and menu and minimized
childs are places above the statusbar.

So I think i would by gadget, but could you explain me your code
a little bit.

Bye, Fabian
Back to top
View user's profile Send private message Send e-mail Visit poster's website
X-Tools
Valued Contributor
Valued Contributor


Joined: 20 Sep 2001
Posts: 296
Location: Germany

PostPosted: Wed Feb 19, 2003 4:30 pm    Post subject: Bind Reply with quote

Hi mindpower - another question.

Could I us your code in an external script to bind
window one (own exe) into window two (own exe)
so that I don't have to put this mighty code into every
script ?

I need this, because I am developing an php/vds intranet
application with mysql and because the problematic
handling of thousands of child dialogs I am writing
modular applications in several scripts.

Thank you for your help.

Bye, Fabian
Back to top
View user's profile Send private message Send e-mail Visit poster's website
vdsalchemist
Admin Team


Joined: 23 Oct 2001
Posts: 1448
Location: Florida, USA

PostPosted: Thu Feb 20, 2003 10:27 pm    Post subject: Reply with quote

Hi X-Tools,
First of all my semi-MDI example is very much flawed. I would not suggest to anyone to use it. Mainly becuase it is not a true MDI... It uses SetParent to change the parent window of a child window. But to make a top level window a child window I play with the window's CLASS style settings and remove the parts that are not to be used with a child window and add the parts that make the Top-level window a child window. This takes care of the window placement in the main window and adjusts the window cords to the main window or frame. If you notice I used a Static "text only window" as my document or "client" window to hold the child windows. Since I could not make Gadget transform the main window into a true MDI frame window this is a workaround but not a true solution. This is why when you click on a child window it does not activate. Now we can work around this as well and make a VDS child dialog without a title bar and use a text element to act as our titlebar and some buttons to act as the minimize, maximize and close buttons. So it can be done because you can use the click events for the elements to highlight the window. Anyway if you want to chat with me send me a PM and we will setup a way for you to chat with me outside of this forum... Your more than welcome to use my code for any project because it is just an example and it is documented in other langauges on the internet. Also note this is far from complete and I would be very interested in seeing what you do with it:-) I just don't have time to persue this example to it's fullest extent right now Wink

_________________
Home of

Give VDS a new purpose!
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
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