Changing Main Window Attribute like a Popup window

C++, C#, Java, PHP, ect...
User avatar
Jackolantern
Posts: 10891
Joined: Wed Jul 01, 2009 11:00 pm

Re: Changing Main Window Attribute like a Popup window

Post by Jackolantern »

Qunox wrote:As i tryed to say before it's not for being online. It's a local tool to use for my RPG group(Game Master).
Theirfore i wanted to make it look a bit more "programy" than browsery.
My first intention was to make the "browser" to one small "popup"-window by resizing it and fixing it with no scrolling ect ect. But i do not know if this works since i found it hard to explain since you didnt get it.

I then changed my approach by openening an actual popup window when loading the page then closing the main browser window, only leaving the popup window left. I know this works BUT i do not know how to close the browser/mainwindow without closing the popup. I can do it manually(open a popup then close the browser/mainwindow/tab) but i wan't it to be automatically.
Why don't you make a simple Flash app? It can be run either in the browser or offline through Adobe AIR. It will look much more desktop-like than a browser page, and it will likely be more flexible as well. It would also likely be very easy to make, depending on what it does of course, but since you are not needing advanced animation or other aspects, it shouldn't be hard.

As for the earlier misunderstanding, it is from this:
Qunox wrote:Now the problem I'm having is when launching the site or "program" i want it to look lika a popup window with attributes as noresize and noscroll ect ect.
People wanting to make faux pop-ups is such a common request that people assumed that is what you meant, and also why there are so many jQuery plugins for doing it.
The indelible lord of tl;dr
User avatar
Qunox
Posts: 64
Joined: Thu May 06, 2010 4:33 pm

Re: Changing Main Window Attribute like a Popup window

Post by Qunox »

Well i realised it was to much of a hassle making an offline "tool" using JavaScript/HTML. If i want it to get more advanced i need to have some wamp to let PHP and stuff run. I guess Building a Database with MySql and PHP would be an effective way to do all this BUT I have for now chosen to let the server/browser based languages go.

I will continue this work in C++ with wxWidgets(Wounderfull cross-platform wíndows-like-app language.).
Why try to simulate a program when i can build one?

Well i might do it with PHP/MySQL/wamp-server(To run it localy). This way i can make a DB and have the script read it from there. (Also because GUI is so much easier in HTML than in C++/wxWidget.

I figured that it just was to much hassle to make an offline tool with a language that clearly wasent ment to be used like this, although it's possible.


Well thanks anyways you guys and sorry for waisting your time.
Here take a bad computer/programming-thingy joke:
"The best thing about UDP jokes is that I don’t care if you get them or not."
Post Reply

Return to “Coding”