GaryFrost Posted February 7, 2006 Share Posted February 7, 2006 (edited) Yep, your correct, forgot to account for those in the switch Here's a correct one Edit: Removed Attachment Edited February 8, 2006 by gafrost SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to comment Share on other sites More sharing options...
Valuater Posted February 7, 2006 Share Posted February 7, 2006 looking good guys 8) Link to comment Share on other sites More sharing options...
Lazycat Posted February 7, 2006 Share Posted February 7, 2006 Perfect! Nice addition to basic functionality! Koda homepage ([s]Outdated Koda homepage[/s]) (Bug Tracker)My Autoit script page ([s]Outdated mirror[/s]) Link to comment Share on other sites More sharing options...
awrog Posted February 7, 2006 Share Posted February 7, 2006 Hi,Tried the example, no toolbar in W2k SP4 Any explanation/help?Thanks!Arno Rog Link to comment Share on other sites More sharing options...
tonedeaf Posted February 7, 2006 Author Share Posted February 7, 2006 (edited) Hi,Tried the example, no toolbar in W2k SP4 Any explanation/help?Thanks!Arno Rog The example depends upon the version of comctl32.dll you have. Some API parameters used may fail with older versions, these details still have to be worked out. Edited February 7, 2006 by tonedeaf Link to comment Share on other sites More sharing options...
awrog Posted February 7, 2006 Share Posted February 7, 2006 The example depends upon the version of comctl32.dll you have. Some API parameters used may fail with older versions, these details still have to be worked out.You can find some aditional info here at MSDNThanks for the reply.Arno Link to comment Share on other sites More sharing options...
Holger Posted February 7, 2006 Share Posted February 7, 2006 (edited) @tonedeaf: very good stuff Please also see below.@all: just for your information:I build a similar rebar/toolbar-example some days ago and I noticed some strange behaviour while moving rebar bands.!!! Cause of a bug in GUIRegisterMsg() (I'm still looking for a solution) - moving of rebar bands can produce strange effects !!!So longHolgerEdit: I will put the things I have build so far to the public web folder later so you tonedeaf can maybe some things of it use (I also created textonly toolbars). Edited February 7, 2006 by Holger Old project:GUI/Tray menu with icons and colors Other old stuff:IconFileScanner, TriState/ThreeState GUI TreeView, GUI ContextMenu created out of a TreeView Link to comment Share on other sites More sharing options...
GaryFrost Posted February 7, 2006 Share Posted February 7, 2006 (edited) Yeah I noticed the strange way it acts if using wm_notify, wm_command doesn't seem to affect but then you have to deal with all the controls thru that. Here's the modified scripts have both wm_notify and wm_command in them, comment/uncomment which one you want to see. It's not finished do to the strange results when using wm_notify To Use Rebar - Comctl32.dll version 6 is needed as far as I can tell Gary Edit: Removed Attachments Edited February 8, 2006 by gafrost SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to comment Share on other sites More sharing options...
GaryFrost Posted February 7, 2006 Share Posted February 7, 2006 (edited) Hi,Tried the example, no toolbar in W2k SP4 Any explanation/help?Thanks!Arno Rog I tried it on a win2k pro sp4 system With Rebar - no goWith-out Rebar - a toolbar will show and work.Attachment of with-out rebar.GaryEdit: Removed Attachments Edited February 8, 2006 by gafrost SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to comment Share on other sites More sharing options...
Holger Posted February 7, 2006 Share Posted February 7, 2006 I tried it on a win2k pro sp4 system With Rebar - no go With-out Rebar - a toolbar will show and work. Attachment of with-out rebar. Gary"no go" ? ... no You all forgot one important thing (which also says the MSDN): "...Creating a Rebar Control An application creates a rebar control by calling the CreateWindowEx function, specifying REBARCLASSNAME as the window class. The application must first register the window class by calling the InitCommonControlsEx function, while specifying the ICC_COOL_CLASSES bit in the accompanying INITCOMMONCONTROLSEX structure...." Just try it like/with this at the beginning: ... Global Const $ICC_BAR_CLASSES = 0x00000004; toolbar Global Const $ICC_COOL_CLASSES = 0x00000400; rebar Local $stICCE = DllStructCreate('dword;dword') DllStructSetData($stICCE, 1, DllStructGetSize($stICCE)) DllStructSetData($stICCE, 2, BitOr($ICC_BAR_CLASSES, $ICC_COOL_CLASSES)) DllCall('comctl32.dll', 'int', 'InitCommonControlsEx', 'ptr', DllStructGetPtr($stICCE)) ... But for now I have to work on again the bug... So long Holger Old project:GUI/Tray menu with icons and colors Other old stuff:IconFileScanner, TriState/ThreeState GUI TreeView, GUI ContextMenu created out of a TreeView Link to comment Share on other sites More sharing options...
awrog Posted February 8, 2006 Share Posted February 8, 2006 Gary, A typo in Toolbar_Example_nr.au3 : #include "GuiToolbar-nr.au3" should read #include "GuiToolbar_nr.au3" Otherwise works and looks great! Arno Rog Link to comment Share on other sites More sharing options...
GaryFrost Posted February 8, 2006 Share Posted February 8, 2006 (edited) Ok, after some research and testing I finally got this to work on Win2K machine also, even using WM_Notify works better than before, although there is still some bugs that Holger is working on that if/when they are fixed will cure some of the re-paint problems. Gary Note: may want to take out the $WS_BORDERS from the style line in _GuiCtrlRebarCreate, had that in there for testing, should be a style that can be passed in, not a forced style Edited September 19, 2006 by gafrost SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to comment Share on other sites More sharing options...
rysiora Posted February 12, 2006 Share Posted February 12, 2006 How about bigger icons and text under them ? Link to comment Share on other sites More sharing options...
rambo3889 Posted February 14, 2006 Share Posted February 14, 2006 THis is a nice Udf My Scripts:Radioblog Club Music DownloaderOther stuff:Fun movieIm serious read the help file it helps :PFight 'Till you drop. Never stop, You Cant give up. Til you reach the top Fight! youre the best in town Fight! Link to comment Share on other sites More sharing options...
GaryFrost Posted February 15, 2006 Share Posted February 15, 2006 (edited) How about bigger icons and text under them ? This will do the small/large standard buttonsHaven't had time at looking to adding text yethttp://www.autoitscript.com/fileman/users/gafrost/projects/GuiToolBar.au3http://www.autoitscript.com/fileman/users/gafrost/projects/Toolbar_Example.au3 Edited September 19, 2006 by gafrost SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to comment Share on other sites More sharing options...
SlimShady Posted February 21, 2006 Share Posted February 21, 2006 Could you compact the example a bit? It's difficult to see what's needed and what's not, to integrate it. Link to comment Share on other sites More sharing options...
GaryFrost Posted February 21, 2006 Share Posted February 21, 2006 Could you compact the example a bit? It's difficult to see what's needed and what's not, to integrate it. This do it for you?Gary SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to comment Share on other sites More sharing options...
GaryFrost Posted February 21, 2006 Share Posted February 21, 2006 Could you compact the example a bit? It's difficult to see what's needed and what's not, to integrate it. Here's a shortened example using the rebar also.Gary SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to comment Share on other sites More sharing options...
rysiora Posted March 4, 2006 Share Posted March 4, 2006 Do not let the idea to die!Keep updating the UDF, I hope to see it in near Betas... Link to comment Share on other sites More sharing options...
tonedeaf Posted March 6, 2006 Author Share Posted March 6, 2006 Do not let the idea to die!Keep updating the UDF, I hope to see it in near Betas... busy lately.The UDF illustrates the the basicsYou can have menus, editboxes, progress bars as part of rebars.Other things to be implemented in toolbar:http://msdn.microsoft.com/library/en-us/sh...olbar_using.aspA lot of work to be completed. Will check out if I can find some time this week. 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