Jump to content

GUI/Tray Menu with icons and colors


Holger
 Share

Recommended Posts

  • 2 weeks later...

Dude, that's really nice! I have been waiting for this my whole life! How 'bout a help file?

http://www.autoitking.co.nr Site is DOWN | My deviantART | No Topic Topic - Don't do it!-------------------- UDF's/Scripts:AutoIt: [BenEditor 3.6] [_ShutDown()]PHP: [CommentScript]Web Based AutoIt: [MemStats] [HTML to AU3] [User LogIn and SignUp script]
Link to comment
Share on other sites

Dude, that's really nice! I have been waiting for this my whole life! How 'bout a help file?

You aint been waiting long then. :o


Time you enjoyed wasting is not wasted time ......T.S. Elliot
Suspense is worse than disappointment................Robert Burns
God help the man who won't help himself, because no-one else will...........My Grandmother

Link to comment
Share on other sites

  • 2 weeks later...

@strate: Try something like for example:

$ExitItem       = _GUICtrlCreateODMenuItem('Exit', $FileMenu, @ScriptDir & '\shutdown.ico', 0)

@archy: not possible at the moment! there is still some bigger issue I have to solve at first.

Edited by Holger
Link to comment
Share on other sites

@strate: Try something like for example:

$ExitItem       = _GUICtrlCreateODMenuItem('Exit', $FileMenu, @ScriptDir & '\shutdown.ico', 0)

@archy: not possible at the moment! there is still some bigger issue I have to solve at first.

Thank you, your example didn't work so I changed it around. The following worked for me though.
Dim $nAddLabelItem      = MY_GUICtrlCreateMenuItem('Add/Remove Label', $nEditMenu, @ScriptDir & '\LE.ico', 0)
I thought I tried something similiar but I guess I was wrong lol. Thanks again this is a wonderful feature.
INI TreeViewA bus station is where a bus stops, a train station is where a train stops. Onmy desk I have a work station...
Link to comment
Share on other sites

  • 1 month later...

Holger,

Thanks for all your hard work.

I was only interested in how to change Button Color or Button Text Color. But colored menus with icons, wow, very cool.

http://www.autoitscript.com/forum/index.ph...n%20color&st=15

Your work is very encouraging for users who don't have the skill-set of a developer.

Please keep up the good work in support of the average-man.

taurus905

"Never mistake kindness for weakness."-- Author Unknown --"The highest point to which a weak but experienced mind can rise is detecting the weakness of better men."-- Georg Lichtenberg --Simple Obfuscator (Beta not needed.), Random names for Vars and Funcs

Link to comment
Share on other sites

  • 3 months later...
  • 2 months later...

This include library is superb, thanks Holger! ;)

The only thing is that the performance of the modern menu drawing is not -that- fast, meaning that a lag can be seen on menu's with many items in it.. a shame for me, seeing as how I love the modern menu design..

Anyway, what I want to ask you is this: Can your include files be updated to allow for "GUICtrlSetData" without too much pain involved?!

Thanks,

Sunaj

Link to comment
Share on other sites

  • 2 months later...
  • 2 weeks later...
  • 2 months later...

It's only very recently occured to me that you can use the MM Lib to create Office 2003 style menus... I modified the XSkinGradient Code and injected it into the WM_DRAWITEM function. Just use this new feature like this:

_SetMenuIconGradBkColor(0xEFEFEF)

Knock yourselves out!

ModernMenu.au3

sample.au3

Edited by Pa Callender
[size="4"]YOU SHALL NOT PARSE!![/size]
Link to comment
Share on other sites

  • 1 month later...

Hi All,

When i built my scripts into unicode format .. and i read external language files which are also saved into unicode format..

the GUI is displayed correct but the menu which is created by this script isn't.. it displays ????? has someone else has the same problems or does someone know a solution to my problem.

Emiel

Best regards,Emiel Wieldraaijer

Link to comment
Share on other sites

Emiel

has someone else has the same problems

Yes, i have the same problem (if the text is cirillyc letters that encoded to Utf string), but i do not know how to fix this..

If someone know how to fix it, please tell as, thanks.

 

Spoiler

Using OS: Win 7 Professional, Using AutoIt Ver(s): 3.3.6.1 / 3.3.8.1

AutoIt_Rus_Community.png AutoIt Russian Community

My Work...

Spoiler

AutoIt_Icon_small.pngProjects: ATT - Application Translate Tool {new}| BlockIt - Block files & folders {new}| SIP - Selected Image Preview {new}| SISCABMAN - SciTE Abbreviations Manager {new}| AutoIt Path Switcher | AutoIt Menu for Opera! | YouTube Download Center! | Desktop Icons Restorator | Math Tasks | KeyBoard & Mouse Cleaner | CaptureIt - Capture Images Utility | CheckFileSize Program

AutoIt_Icon_small.pngUDFs: OnAutoItErrorRegister - Handle AutoIt critical errors {new}| AutoIt Syntax Highlight {new}| Opera Library! | Winamp Library | GetFolderToMenu | Custom_InputBox()! | _FileRun UDF | _CheckInput() UDF | _GUIInputSetOnlyNumbers() UDF | _FileGetValidName() UDF | _GUICtrlCreateRadioCBox UDF | _GuiCreateGrid() | _PathSplitByRegExp() | _GUICtrlListView_MoveItems - UDF | GUICtrlSetOnHover_UDF! | _ControlTab UDF! | _MouseSetOnEvent() UDF! | _ProcessListEx - UDF | GUICtrl_SetResizing - UDF! | Mod. for _IniString UDFs | _StringStripChars UDF | _ColorIsDarkShade UDF | _ColorConvertValue UDF | _GUICtrlTab_CoverBackground | CUI_App_UDF | _IncludeScripts UDF | _AutoIt3ExecuteCode | _DragList UDF | Mod. for _ListView_Progress | _ListView_SysLink | _GenerateRandomNumbers | _BlockInputEx | _IsPressedEx | OnAutoItExit Handler | _GUICtrlCreateTFLabel UDF | WinControlSetEvent UDF | Mod. for _DirGetSizeEx UDF
 
AutoIt_Icon_small.pngExamples: 
ScreenSaver Demo - Matrix included | Gui Drag Without pause the script | _WinAttach()! | Turn Off/On Monitor | ComboBox Handler Example | Mod. for "Thinking Box" | Cool "About" Box | TasksBar Imitation Demo

Like the Projects/UDFs/Examples? Please rate the topic (up-right corner of the post header: Rating AutoIt_Rating.gif)

* === My topics === *

==================================================
My_Userbar.gif
==================================================

 

 

 

AutoIt is simple, subtle, elegant. © AutoIt Team

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...