Omnimaga: The Coders Of Tomorrow
Welcome, Guest. Please login or register.
 
Omnimaga: The Coders Of Tomorrow
18 June, 2013, 23:02:41 *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   home   news downloads projects tutorials misc forums rules new posts irc about Login Register  
+-OmnomIRC

You must Register, be logged in and have at least 40 posts to use this shout-box! If it still doesn't show up afterward, it might be that OmnomIRC is disabled for your group or under maintenance.

Note: You can also use an IRC client like mIRC, X-Chat or Mibbit to connect to an EFnet server and #omnimaga.

Pages: [1]   Go Down
  Print  
Author Topic: Virtual Processes -  (Read 95 times) Bookmark and Share
0 Members and 1 Guest are viewing this topic.
Insanity
Guest
« on: 30 April, 2007, 19:57:00 »
0

I've gotten stuck on a part of my web desktop:  processes.  I just don't know how to go about doing this.  I want to create processes so that each application can control the "windows" they spawn.  How would I do this? (BTW, this is in JavaScript)

Something like this for example (this probably wouldn't work):
c1-->
CODE
ec1process["aboutme"].win = new Window({
   className: 'mac_os_x',
   title: 'About Me',
   width:384, height:150,
   destroyOnClose: true,
   recenterAuto: true,
   showEffect: Element.show,
   hideEffect: Element.hide
});
process["aboutme"].myDiv= document.createElement("div");
process["aboutme"].myDiv.setAttribute("id","mydiv");
process["aboutme"].myDiv.appendChild(document.createTextNode("hello world"));
process["aboutme"].win.getContent().appendChild(myDiv);
process["aboutme"].win.showCenter();
process["aboutme"].win.setConstraint(true, {left:0, right:0, top: 20, bottom:10});c2
ec2
Logged
necro
LV10 31337 u53r (Next: 2000)
**********
Offline Offline

Gender: Male
Last Login: 16 May, 2011, 22:52:04
Date Registered: 02 September, 2008, 07:27:51
Location: Ohio, land of stuff
Posts: 1502


Total Post Ratings: +14

View Profile
« Reply #1 on: 13 May, 2007, 13:58:00 »
0

no idea...do you mean having object like behaviour?
Logged

I'm like a woot burger with awesome fries


VB.Net, C#, C++, Java, Game Maker
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by EzPortal
Powered by MySQL Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Powered by PHP
Page created in 0.401 seconds with 30 queries.
Skin by DJ Omnimaga edited from SMF default theme with the help of tr1p1ea.
All programs, games and songs avaliable on this website are property of their respective owners.
Best viewed in Opera, Firefox, Chrome and Safari with a resolution of 1024x768 or above.