The only problem with using that is you don't have a taskbar icon and you can't ALT-Tab to the window, so it may get lost behind all of your other windows. If you wanted to get rid of just the minimize and maximize buttons you could use the $WS_SYSMENU parameter instead. That will give you a taskbar icon, and the left hand system menu style.

If I posted any code, assume that code was written using the latest release version unless stated otherwise. Also, if it doesn't work on XP I can't help with that because I don't have access to XP, and I'm not going to.Give a programmer the correct code and he can do his work for a day. Teach a programmer to debug and he can do his work for a lifetime - by Chirag GudeHow to ask questions the smart way!

I hereby grant any person the right to use any code I post, that I am the original author of, on the autoitscript.com forums, unless I've specifically stated otherwise in the code or the thread post. If you do use my code all I ask, as a courtesy, is to make note of where you got it from.

Share this post

Link to post

Share on other sites

Melba23 2,461

Before I tell you how to do what you want, please tell me why you want to do it.

M23

Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______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

Share this post

Link to post

Share on other sites

BrewManNH 971

Using that style you wouldn't have any buttons at all on the title bar, you'd have no "X". If that's the style you're looking for then you need to change what you pointed to in the first post, because you were asking to have everything gone but the "X" button, I assumed so that you could use it to close the window.

If you were interested in not having a title bar at all, you could also look at the $WS_POPUPWINDOW style, that gives you a borderless no titlebar window.

If I posted any code, assume that code was written using the latest release version unless stated otherwise. Also, if it doesn't work on XP I can't help with that because I don't have access to XP, and I'm not going to.Give a programmer the correct code and he can do his work for a day. Teach a programmer to debug and he can do his work for a lifetime - by Chirag GudeHow to ask questions the smart way!

I hereby grant any person the right to use any code I post, that I am the original author of, on the autoitscript.com forums, unless I've specifically stated otherwise in the code or the thread post. If you do use my code all I ask, as a courtesy, is to make note of where you got it from.

Visit myBlog.. currently not active but it will soon be resplendent with news and views. Alsoplease remove any links you may have to my website. it is soon to be closed and replaced with something else.

Visit myBlog.. currently not active but it will soon be resplendent with news and views. Alsoplease remove any links you may have to my website. it is soon to be closed and replaced with something else.

Share this post

Link to post

Share on other sites

GEOSoft 63

You may have to wait. I can't test it because I won't use x64 systems. Besides I thought you were a bit too flippant with Jos in the last reply. He is one of the people around here that you best treat with a lot of respect.

Visit myBlog.. currently not active but it will soon be resplendent with news and views. Alsoplease remove any links you may have to my website. it is soon to be closed and replaced with something else.