EKY32 Posted September 22, 2013 Share Posted September 22, 2013 Hey there, i'm using Win 7 and this window's menu seems to be themed as Win 8 style how is that? and how to create exactly such toolbar with search bar in it? thank you. [font="'trebuchet ms', helvetica, sans-serif;"]Please mark the answer of your question if you found it.[/font] Link to comment Share on other sites More sharing options...
EKY32 Posted September 25, 2013 Author Share Posted September 25, 2013 (edited) Any help of any kind please about customizing gui theme or creating controls like the above? Edited September 25, 2013 by EKY32 [font="'trebuchet ms', helvetica, sans-serif;"]Please mark the answer of your question if you found it.[/font] Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted September 25, 2013 Moderators Share Posted September 25, 2013 (edited) The only thing close that I am aware of is Trancexx's Ribbon UDF in the Examples section. Edit: Edited September 25, 2013 by JLogan3o13 "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
EKY32 Posted September 26, 2013 Author Share Posted September 26, 2013 thank you, but it's soo far than a Ribbon. [font="'trebuchet ms', helvetica, sans-serif;"]Please mark the answer of your question if you found it.[/font] Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted September 27, 2013 Moderators Share Posted September 27, 2013 The point was that is as close as I have seen to modifying the menu system on the forum. Most everything else relies on the standard-issue Windows menu. Someone may wander along and prove me wrong however. "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted September 27, 2013 Moderators Share Posted September 27, 2013 EKY32,You could do something like this: expandcollapse popup#include <GUIConstantsEx.au3> #include <WindowsConstants.au3> #include <Constants.au3> #include <WinAPI.au3> ; Create main GUI $hGUI = GUICreate("Test", 500, 500) $cInput = GUICtrlCreateInput("", 330, 0, 150, 20) $cButton = GUICtrlCreateButton("Go", 480, 0, 20, 20) ; Create menu GUI $hMenu_Win = GUICreate("", 330, 20, -1, -1, $WS_POPUP, $WS_EX_MDICHILD, $hGUI) $mFile = GUICtrlCreateMenu("File") $mFile_Exit = GUICtrlCreateMenuItem("Exit", $mFile) $mOptions = GUICtrlCreateMenu("Options") $mOptions_Test = GUICtrlCreateMenuItem("Test", $mOptions) $mHelp = GUICtrlCreateMenu("Help") $mHelp_About = GUICtrlCreateMenuItem("About", $mHelp) ; Move to correct position $aMain_Pos = WinGetPos($hGUI) Global $iBorder = _WinAPI_GetSystemMetrics(8) ; Border width Global $iBar = _WinAPI_GetSystemMetrics(4) ; Title bar height WinMove($hMenu_Win, "", $aMain_Pos[0] + $iBorder, $aMain_Pos[1] + $iBorder + $iBar) GUISetState(@SW_SHOW, $hMenu_Win) ; Show main GUI GUISetState(@SW_SHOW, $hGUI) While 1 Switch GUIGetMsg() Case $GUI_EVENT_CLOSE, $mFile_Exit Exit Case $mOptions_Test MsgBox($MB_SYSTEMMODAL, "Test", "Testing") Case $mHelp_About MsgBox($MB_SYSTEMMODAL, "Hi", "Any use at all?") Case $cButton $sSearch_Text = GUICtrlRead($cInput) If $sSearch_Text Then MsgBox($MB_SYSTEMMODAL, "Search", $sSearch_Text) EndIf EndSwitch WEndAny use? M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now