1 post in this topic
I am using the following code to create a Gui and a progress bar that I can minimize:
Global $Home = GUICreate("Intake", 1366,768, 192, 114, BitOR($WS_MAXIMIZEBOX,$WS_MINIMIZEBOX)) ProgressOn("Processing...", "Backing up", "Please wait...", 0, 0, $DLG_MOVEABLE + $DLG_NOTONTOP)
This works, but the part that I'm trying to fix is that there is a GUI where you press the button to kick off the progress and I'm wondering if there is a way to nest the progress bar into that gui so its movable, but when I minimize the GUI, the progress window also minimized (same for if its clicked... pull both the GUI and progress window up together). Right now, I get the Gui window and no Progress window on the task bar, but when I alt+Tab i can see both. This makes it so sometimes the progress bar is pushed to the background and the GUI sits on top preventing you from seeing the progress window.
Any easy way of doing this?
this is an Photoshop edited image but i want to create a window like that
it should have an extra button for specific tasks.
Can anyone give me a clue to create a GUI like that
NO code, but a question...what is your method for adding a control in an already created GUI.
Say you created your GUI, and then decided that there was something missing, and you wanted to put it in the middle or where ever...you have to move all the controls after it and it is a pain.
Does anyone have an easy method, or the method you choose to begin with so you do not have to worry about this coming up in the future?
post deleted due to no responses and subsequent findings re bmp file rendering
Back with another, probably dumb, question.
I created a menu bar that lets users dynamically add and remove items - fun times (with more help than listable from one particular BA$$ on this forum - thank you again); and now that they can remove the items I need the bar to resize to fit shorter or longer against what items are left.
starts off with a dozen menu items
user removes 5
restarts the program
i need the bar to read the width of the left over menu items and make the gui that + about 5 to 10 pixels for safety.
I tried the getcntrlpos but it doesn't work for menu items.
Any thoughts, ideas / directions?
Thanks in advance.