charly99 Posted June 7, 2022 Posted June 7, 2022 (edited) Hello everyone, can someone show me what steps I can follow to create a vertical menu of an installed third-party application, as seen in the image, so that when it is run, that box appears with the program shortcuts. (I don't have a code to show). the executable locates the accesses and creates one on the desktop that, when executed, shows you the ribbon of installed office applications. (you can run the .exe file, but it will only show you if you have office installed x64bits) I am interested in the way he did it, it could be customized to one's taste. I hope I can make it. OfficeMenu.rar Edited June 7, 2022 by charly99
spudw2k Posted June 7, 2022 Posted June 7, 2022 Looks like a context menu control. Not sure how to get the left side graphic, but you look at the _GUICtrlMenu_CreatePopup function to get started. Also, search for ContextMenu on the forum for more sophisticated examples (images and such). Let us know where you get stuck. charly99 1 Spoiler Things I've Made: Always On Top Tool ◊ AU History ◊ Deck of Cards ◊ HideIt ◊ ICU ◊ Icon Freezer ◊ Ipod Ejector ◊ Junos Configuration Explorer ◊ Link Downloader ◊ MD5 Folder Enumerator ◊ PassGen ◊ Ping Tool ◊ Quick NIC ◊ Read OCR ◊ RemoteIT ◊ SchTasksGui ◊ SpyCam ◊ System Scan Report Tool ◊ System UpTime ◊ Transparency Machine ◊ VMWare ESX Builder Misc Code Snippets: ADODB Example ◊ CheckHover ◊ Detect SafeMode ◊ DynEnumArray ◊ GetNetStatData ◊ HashArray ◊ IsBetweenDates ◊ Local Admins ◊ Make Choice ◊ Recursive File List ◊ Remove Sizebox Style ◊ Retrieve PNPDeviceID ◊ Retrieve SysListView32 Contents ◊ Set IE Homepage ◊ Tickle Expired Password ◊ Transpose Array Projects: Drive Space Usage GUI ◊ LEDkIT ◊ Plasma_kIt ◊ Scan Engine Builder ◊ SpeeDBurner ◊ SubnetCalc Cool Stuff: AutoItObject UDF ◊ Extract Icon From Proc ◊ GuiCtrlFontRotate ◊ Hex Edit Funcs ◊ Run binary ◊ Service_UDF
Nine Posted June 7, 2022 Posted June 7, 2022 To add icon beside each menu item, use _GUICtrlMenu_GetItemBmp. If you need to convert Icon to Bmp, you can use _WinAPI_Create32BitHBITMAP. Now, if you want to add a vertical bar before the icons or change color, you will need use Owner-Draw mechanism which is not trivial. But I recall seeing a very old UDF to register WM_DRAWITEM and WM_MEASUREITEM notifications. It should get you started, although I cannot say if it is still working on recent OS. charly99 1 “They did not know it was impossible, so they did it” ― Mark Twain Spoiler Block all input without UAC Save/Retrieve Images to/from Text Monitor Management (VCP commands) Tool to search in text (au3) files Date Range Picker Virtual Desktop Manager Sudoku Game 2020 Overlapped Named Pipe IPC HotString 2.0 - Hot keys with string x64 Bitwise Operations Multi-keyboards HotKeySet Recursive Array Display Fast and simple WCD IPC Multiple Folders Selector Printer Manager GIF Animation (cached) Debug Messages Monitor UDF Screen Scraping Round Corner GUI UDF Multi-Threading Made Easy Interface Object based on Tag
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