Sign in to follow this  
Followers 0
Cw2K1

how to create a GUI Menu like Nod32 Antivirus?

10 posts in this topic

#1 ·  Posted (edited)

hi all, can you tell me how to create this type of GUI?

see the Arrow in Screen Shot

Posted Image

Kaspersky antivirus also have this kind of GUI and menu style.

Posted Image

i want to create a menu like this in GUI and don't know what is it called.

thanks

Edited by Cw2K1

Enjoy the complexity.Feel the power of simplicity.

Share this post


Link to post
Share on other sites



#3 ·  Posted (edited)

GuiCtrlCreateTab

Does it look like a Tab Control? it's not a tab, i have already tried to make it and i think this is not possible using Tab Control because it looks different type of menu style. see the image posted in post #1 in this thread. Maybe it's possible using Tab control but help file does not have any information about it. by the way thanks for trying to help me. Edited by Cw2K1

Enjoy the complexity.Feel the power of simplicity.

Share this post


Link to post
Share on other sites

Tabs look like this

Posted Image

and not like this

Posted Image

Read my post #1 carefully. thanks


Enjoy the complexity.Feel the power of simplicity.

Share this post


Link to post
Share on other sites

Well, I think you would need to design it in flash if you want it to look good. You could do it in AutoIt, but what you are seeing done from the examples you show are obviously done in a different language.

Another approach you could look at is to look in the User Define functions in the GUI section and review examples of all the GUI stuff. Seeing how you are looking for spot on match to the style, well AutoIt won't do it out of the box.

The only other thing I can think of is you may be able to use jpg files along with some type of mouse over event to make the call outs happen. You would need to search the forum for the code on the mouse part.

Share this post


Link to post
Share on other sites

I'm with Volly on this one, as far as the using jpg's, of all the stuff I've learned so far, most important of all is that AutoIt can do it. Finding the way to do it is another thing. Personally I'm going with 3D gui's for my next scripts. As soon as my hang over goes away I'm going to work on my latest concoction more. I can't believe I spelled concoction right.


Giggity

Share this post


Link to post
Share on other sites

#7 ·  Posted (edited)

Ok, really close but was not your expectations. Anyway, it manage to kill 15 minutes of my time. I was really bored, so here's the script.

#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <ProgressConstants.au3>
#include <SliderConstants.au3>
#include <StaticConstants.au3>
#include <TabConstants.au3>
#include <WindowsConstants.au3>

#Region ### START Koda GUI section ### Form=
$Form2 = GUICreate("Tabbed Notebook Dialog", 413, 298, 303, 219)
GUISetIcon("D:\005.ico")
$PageControl1 = GUICtrlCreateTab(48, 8, 356, 256, $TCS_VERTICAL)
GUICtrlSetResizing(-1, $GUI_DOCKWIDTH+$GUI_DOCKHEIGHT)
$TabSheet1 = GUICtrlCreateTabItem("TabSheet1")
$Checkbox1 = GUICtrlCreateCheckbox("Checkbox1", 96, 40, 97, 17)
GUICtrlSetFont(-1, 8, 400, 0, "Arial")
$Checkbox2 = GUICtrlCreateCheckbox("Checkbox2", 96, 64, 97, 17)
GUICtrlSetFont(-1, 8, 400, 0, "Arial")
$Button4 = GUICtrlCreateButton("Button4", 120, 192, 75, 25, 0)
GUICtrlSetFont(-1, 8, 400, 0, "Arial")
$Button5 = GUICtrlCreateButton("Button5", 224, 192, 75, 25, 0)
GUICtrlSetFont(-1, 8, 400, 0, "Arial")
$TabSheet2 = GUICtrlCreateTabItem("TabSheet2")
$Edit1 = GUICtrlCreateEdit("", 88, 64, 281, 153)
GUICtrlSetData(-1, "Edit1")
GUICtrlSetFont(-1, 8, 400, 0, "Arial")
$Progress1 = GUICtrlCreateProgress(136, 24, 150, 17)
$TabSheet3 = GUICtrlCreateTabItem("TabSheet3")
$Slider1 = GUICtrlCreateSlider(96, 200, 150, 45)
$Group1 = GUICtrlCreateGroup("Group1", 96, 88, 233, 97)
GUICtrlSetFont(-1, 8, 400, 0, "Arial")
$Input1 = GUICtrlCreateInput("Input1", 112, 112, 121, 22)
$Button6 = GUICtrlCreateButton("Button6", 120, 144, 67, 17, 0)
GUICtrlCreateGroup("", -99, -99, 1, 1)
GUICtrlCreateTabItem("")
$Button1 = GUICtrlCreateButton("&OK", 166, 272, 75, 25, 0)
$Button2 = GUICtrlCreateButton("&Cancel", 246, 272, 75, 25, 0)
$Button3 = GUICtrlCreateButton("&Help", 328, 272, 75, 25, 0)
$Label1 = GUICtrlCreateLabel("Label1", 8, 40, 36, 17)
$Label2 = GUICtrlCreateLabel("Label2", 8, 104, 36, 17)
$Label3 = GUICtrlCreateLabel("Label3", 8, 168, 36, 17)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit

EndSwitch
WEnd
Edited by farhan879

System task ---> My first GUICalculator v1.0 ---> My version of the calculatorNetZilla 1.0 --> Web browserEmail Sender --> You can Send emails with this without opening a web browser

Share this post


Link to post
Share on other sites

I must say that is impressive


Giggity

Share this post


Link to post
Share on other sites

I'd show you my 3D gui but its top secrete for the time being. Until I work out the bugs and make my media player somewhat functional.


Giggity

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