Sign in to follow this  
Followers 0
Briandr

message box

4 posts in this topic

Hi,

I am looking for a EXE for a message box that will pop up while an application installs. I don't want the message box to be always on top of other windows. I am not sure if I want the user to minimize the message box. It is probably alright just as long as they can't close it. The message box should close when the application finishes installing. I would reckon this would be something easy to whip up.

Thanks.

Share this post


Link to post
Share on other sites



Briandr,

I would reckon this would be something easy to whip up

And so do I - so I suggest you start coding something yourself. You know where we are if you run into difficulties. :)

If you want something written for you then I suggest looking here. ;)

M23


Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites

Where's your code? Have you tried to write it?

If it's so simple, you probably have the capability of doing it yourself. Most people here don't just give out code to someone who hasn't tried to do any of the leg work. That's just how this community works. However there are other outlets for such requests, but just not here.

If you want to take a crack at it, I would go the route of creating a GUI and inserting text instead of using the msgbox() function, as the user can close the msgbox. I highly recommend using Koda to generate the GUI for you so you don't necessarily have to learn how to code the GUI, you just insert the case for events to the GUI.


Spoiler

“Hello, ladies, look at your man, now back to me, now back at your man, now back to me. Sadly, he isn’t me, but if he stopped using ladies scented body wash and switched to Old Spice, he could smell like he’s me. Look down, back up, where are you? You’re on a boat with the man your man could smell like. What’s in your hand, back at me. I have it, it’s an oyster with two tickets to that thing you love. Look again, the tickets are now diamonds. Anything is possible when your man smells like Old Spice and not a lady. I’m on a horse.”

 

Share this post


Link to post
Share on other sites

Disclaimer which should have been stated initially. I don't write code. If I did I would be homeless and hungry. I typically search forums like this and look for examples that I might be able to make work. Here is an example I found online a ways back. If this can be simplified for what I need that would be good.

NoFlashSplashTextSource.au3 precomplie

;Complied name = splashtext.exe

AutoItSetOption("TrayIconHide", 1);1 = Hide Icon

If $cmdline[0]=1 then

; close the window

$title= $CmdLine[1]

WinClose($title)

ElseIf $CMDline[0]=2 then

$title= $CmdLine[1]

$message= $CmdLine[2]

$message = StringReplace($message, "^", @LF)

ControlSetText($title,"","Static1", $message)

ElseIf $CmdLine[0]>0 Then

$title= $CmdLine[1]

$message= $CmdLine[2]

$wide = $CmdLine[3]

$high = $CmdLine[4]

$xpos = $CmdLine[5]

$ypos = $CmdLine[6]

$opt = $CmdLine[7]

$fsize = $CmdLine[8]

$fweight = $CmdLine[9]

$message = StringReplace($message, "^", @LF)

WinClose($title)

SplashTextOn($title, $message, $wide, $high, $xpos, $ypos, $opt, "", $fsize, $fweight)

$s_title = $title

; loop till window is closed

While WinExists($title)

Sleep(50)

wend

EndIf

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0